Functions
core/vnl/vnl_matrix_exp.h File Reference

Compute the exponential of a square matrix. More...

Go to the source code of this file.

Functions

template<class SquareMatrix >
bool vnl_matrix_exp (SquareMatrix const &X, SquareMatrix &expX, double max_err)
 Compute the exponential of a square matrix - fiddly form.
template<class SquareMatrix >
SquareMatrix vnl_matrix_exp (SquareMatrix const &X)
 Compute the exponential of a square matrix - easy form.

Detailed Description

Compute the exponential of a square matrix.

Compute the exponential of a square matrix, by summing its exponential series $\exp(X) = \displaystyle\sum_{n \ge 0} X^n/n!$ till a convergence requirement is met.

Many improvements are possible.

Author:
fsm
    Modifications:
     14-Jan-2007 Peter Vanroose - added vnl_matrix_fixed interface
   

Definition in file vnl_matrix_exp.h.


Function Documentation

template<class SquareMatrix >
bool vnl_matrix_exp ( SquareMatrix const &  X,
SquareMatrix &  expX,
double  max_err 
)

Compute the exponential of a square matrix - fiddly form.

template<class SquareMatrix >
SquareMatrix vnl_matrix_exp ( SquareMatrix const &  X)

Compute the exponential of a square matrix - easy form.