Click or drag to resize

NMathFunctionsExpm(FloatComplexMatrix) 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
)

Parameters

A  FloatComplexMatrix
A square matrix.

Return Value

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