eigen/doc/snippets/Cwise_log10.cpp
2015-03-17 03:40:28 +10:00

3 lines
47 B
C++

Array4d v(-1,0,1,2);
cout << log10(v) << endl;