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

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public static DoubleComplexMatrix Expm(
	DoubleComplexMatrix A
)
Visual Basic (Declaration)
Public Shared Function Expm ( _
	A As DoubleComplexMatrix _
) As DoubleComplexMatrix
Visual C++
public:
static DoubleComplexMatrix^ Expm(
	DoubleComplexMatrix^ A
)

Parameters

A
Type: CenterSpace.NMath.Core..::.DoubleComplexMatrix
A square matrix.

Return Value

A matrix F such that
CopyC#
F = exp(A)
.

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

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.MatrixNotSquareException Thrown if the given matrix is not square.

See Also