index
:
eigen
master
C++ library for linear algebra
about
summary
refs
log
tree
commit
diff
homepage
log msg
author
committer
range
path:
root
/
doc
/
snippets
/
MatrixBase_cwiseAbs2.cpp
blob: 889a2e2ba0d4bb9726cd0b494659ab4015b6a30c (
plain
)
1
2
3
4
MatrixXd m(2,3); m << 2, -4, 6, -5, 1, 0; cout << m.cwiseAbs2() << endl;