Click or drag to resize

NMathFunctionsExpm(DoubleMatrix) Method

Computes the matrix exponential, e^A, of a given square matrix.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DoubleMatrix Expm(
	DoubleMatrix A
)

Parameters

A  DoubleMatrix
A square matrix.

Return Value

DoubleMatrix
A matrix F such that
C#
F = exp(A)
.
Exceptions
ExceptionCondition
MatrixNotSquareException Thrown if the given matrix is not square.
Remarks
This method uses a scaling and squaring method based upon Pade approximation. Note this method raises the constant e to a matrix power, which is different than Exp( DoubleMatrix A) which exponentiates each element of a matrix independently.
See Also