eigen/doc/snippets/Cwise_log10.cpp

3 lines
50 B
C++
Raw Normal View History

Array4d v(-1, 0, 1, 2);
2015-03-17 01:40:28 +08:00
cout << log10(v) << endl;