SymmetricMatrix<T>.ApplyMatrixFunction Method

Computes a matrix function.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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

ArgumentNullException

function is null.

See Also