Eigen 3.4.90
doc
snippets
Cwise_scalar_power_array.cpp
Go to the documentation of this file.
1
Array<double,1,3>
e
(2,-3,1./3.);
2
cout <<
"10^["
<<
e
<<
"] = "
<<
pow
(10,
e
) << endl;
e
Array< double, 1, 3 > e(2,-3, 1./3.)
Eigen::ArrayBase::pow
const GlobalUnaryPowReturnType< Derived, ScalarExponent > pow(const Eigen::ArrayBase< Derived > &x, const ScalarExponent &exponent)