2
0
mirror of https://gitlab.com/libeigen/eigen.git synced 2025-01-06 14:14:46 +08:00
eigen/doc/snippets/Cwise_tanh.cpp
2015-03-17 03:40:28 +10:00

3 lines
64 B
C++

ArrayXd v = ArrayXd::LinSpaced(5,0,1);
cout << tanh(v) << endl;