Computes a matrix function.

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Function ApplyMatrixFunction ( _
	function As RealFunction _
) As SymmetricMatrix
C#
public SymmetricMatrix ApplyMatrixFunction (
	RealFunction function
)
C++
public:
SymmetricMatrix^ ApplyMatrixFunction (
	RealFunction^ function
)

Parameters

function (Extreme.Mathematics.RealFunction)
A RealFunction delegate that specifies the function to apply.

Return Value

A SymmetricMatrix 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

ExceptionCondition
ArgumentNullExceptionfunction is nullNothingnullptr.