Logo
Explore Help
Sign In
devtools/eigen
1
0
Fork 0
You've already forked eigen
mirror of https://gitlab.com/libeigen/eigen.git synced 2026-04-10 11:34:33 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
1a09defce74be30d30472eff24a4e9b99a60805d
eigen/doc/snippets/PartialRedux_squaredNorm.cpp

4 lines
180 B
C++
Raw Normal View History

* doc improvements in Cwise and PartialRedux: - 33 new snippets - unfuck doxygen output in Cwise (issues with function macros) - more see-also links from outside, making Cwise more discoverable * rename matrixNorm() to operatorNorm(). There are many matrix norms (the L2 is another one) but only one is called the operator norm. Risk of confusion with keyword operator is not too scary after all.
2008-08-19 04:30:28 +00:00
Matrix3d m = Matrix3d::Random();
cout << "Here is the matrix m:" << endl << m << endl;
norm2() renamed to squaredNorm(), kept as deprecated for now.
2008-11-03 19:14:17 +00:00
cout << "Here is the square norm of each row:" << endl << m.rowwise().squaredNorm() << endl;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 365ms Template: 11ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API