Click or drag to resize

NMathFunctionsExpm(FloatMatrix, Double) 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 FloatMatrix Expm(
	FloatMatrix A,
	double delta
)

Parameters

A  FloatMatrix
A square matrix.
delta  Double
Error tolerance.

Return Value

FloatMatrix
A matrix F such that
C#
F = exp(A + E)
where E is a matrix with
C#
InfinityNorm(E) < delta
.
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( FloatMatrix A) which exponentiates each element of a matrix independently.
See Also