SymmetricMatrix<T>.ApplyMatrixFunction Method

Computes a matrix function.

Definition

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public SymmetricMatrix<T> ApplyMatrixFunction(
	Func<T, T> function
)

Parameters

function  Func<T, T>
A delegate that represents a function of one variable that specifies the function to apply.

Return Value

SymmetricMatrix<T>
A SymmetricMatrix<T> that represents function applied to this instance.

Remarks

The matrix function is computed by computing the eigenvalue decomposition and applying the function to each of the eigenvalues.

Exceptions

ArgumentNullExceptionfunction is null.

See Also