eigen/doc/snippets/Cwise_log10.cpp

3 lines
47 B
C++
Raw Normal View History

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