blob: 432a76ee59c29f045f018fc489ba8fda8cf3152f [file] [log] [blame]
Austin Schuh189376f2018-12-20 22:11:15 +11001Array<double,1,3> x(8,25,3),
2 e(1./3.,0.5,2.);
3cout << "[" << x << "]^[" << e << "] = " << x.pow(e) << endl; // using ArrayBase::pow
4cout << "[" << x << "]^[" << e << "] = " << pow(x,e) << endl; // using Eigen::pow