Applies the permutation P of the decomposition PA= LU to a Matrix and returns the result as a GeneralMatrix.

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

Syntax

Visual Basic (Declaration)
Public Function ApplyP ( _
	matrix As Matrix _
) As GeneralMatrix
C#
public GeneralMatrix ApplyP (
	Matrix matrix
)
C++
public:
GeneralMatrix^ ApplyP (
	Matrix^ matrix
)

Parameters

matrix (Extreme.Mathematics.LinearAlgebra.Matrix)
A Matrix with length equal to the number of rows in the underlying BandMatrix.

Return Value

The GeneralMatrixmatrix with its elements permuted.

Exceptions

ExceptionCondition
DimensionMismatchExceptionThe number of rows in matrix does not equal the number of rows in the permutation matrix.
ArgumentNullExceptionmatrix is nullNothingnullptr.