File kernel/src/utils/SiconosAlgebra/AlgebraTools.hpp

File kernel/src/utils/SiconosAlgebra/AlgebraTools.hpp#

Go to the source code of this file

Utilities to perform operations on matrices (exponential …)

namespace Siconos#
namespace algebra#
namespace tools#


void expm(SiconosMatrix &A, SiconosMatrix &Exp, bool computeAndAdd = false)#

Compute the matrix exponential Exp = exp(A) for general matrices, using scaling and Padé approximation.

See expm.hpp.

  • A – : input matrix

  • Exp – : result = exp(A)

  • computeAndAdd – : if true, result = result + exp(A)