mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Found a way to have eval() be a member function of class EiObject, instead of a global function.
CCMAIL:bensch128@yahoo.com
This commit is contained in:
@@ -45,7 +45,7 @@ int main(int, char **)
|
||||
<< "Anyway, if you want to store m * m into m, you can do this:" << endl
|
||||
<< " m = eval(m * m);" << endl;
|
||||
m = m_save;
|
||||
m = eval(m * m);
|
||||
m = (m * m).eval();
|
||||
cout << "And m is now:" << endl << m << endl << "as was expected." << endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user