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;
Array< double, 1, 3 > e(2,-3, 1./3.)
const GlobalUnaryPowReturnType< Derived, ScalarExponent > pow(const Eigen::ArrayBase< Derived > &x, const ScalarExponent &exponent)