Click or drag to resize

NMathFunctionsExpm(FloatComplexMatrix, Single) 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 FloatComplexMatrix Expm(
	FloatComplexMatrix A,
	float delta
)

Parameters

A  FloatComplexMatrix
A square matrix.
delta  Single
Error tolerance.

Return Value

FloatComplexMatrix
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( FloatComplexMatrix A) which exponentiates each element of a matrix independently.
See Also