eigen/doc/snippets/Cwise_cosh.cpp

3 lines
64 B
C++
Raw Normal View History

2015-03-17 01:40:28 +08:00
ArrayXd v = ArrayXd::LinSpaced(5,0,1);
cout << cosh(v) << endl;