Symmetric Matrix<T>.Apply Matrix Function Method
Computes a matrix function.
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
A SymmetricMatrix<T> that represents function applied to this instance.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
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
Argument | function is null. |