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
f0b82c3ab972a1eafd6aa4f08f4eaffa0d6f1e55
eigen/doc/snippets/MatrixBase_cast.cpp

4 lines
119 B
C++
Raw Normal View History

* Merge Extract and Part to the Part expression. Renamed "MatrixBase::extract() const" to "MatrixBase::part() const" * Renamed static functions identity, zero, ones, random with an upper case first letter: Identity, Zero, Ones and Random.
2008-07-21 00:34:46 +00:00
Matrix2d md = Matrix2d::Identity() * 0.45;
Matrix2f mf = Matrix2f::Identity();
- rework the coefficients API - make vectors use a separate loop unroller, so that copying a row-vector into a col-vector is now possible - add much more documentation - misc improvements
2007-12-24 11:14:25 +00:00
cout << md + mf.cast<double>() << endl;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 588ms Template: 4ms
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