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

Go to the source code of this file

Utilities to perform operations on matrices (exponantial …)

namespace Siconos
namespace algebra
namespace tools

Functions

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.

Parameters
  • A: : input matrix

  • Exp: : result = exp(A)

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