mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
API change: ei_matrix_exponential(A) --> A.exp(), etc
As discussed on mailing list; see http://listengine.tuxfamily.org/lists.tuxfamily.org/eigen/2010/02/msg00190.html
This commit is contained in:
@@ -12,7 +12,5 @@ int main()
|
||||
pi/4, 0, 0,
|
||||
0, 0, 0;
|
||||
std::cout << "The matrix A is:\n" << A << "\n\n";
|
||||
|
||||
MatrixXd B = ei_matrix_exponential(A);
|
||||
std::cout << "The matrix exponential of A is:\n" << B << "\n\n";
|
||||
std::cout << "The matrix exponential of A is:\n" << A.exp() << "\n\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user