Constructs a new LUDecomposition object.

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

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	matrix As GeneralMatrix, _
	overwrite As Boolean _
)
C#
public LUDecomposition (
	GeneralMatrix matrix,
	bool overwrite
)
C++
public:
LUDecomposition (
	GeneralMatrix^ matrix, 
	bool overwrite
)

Parameters

matrix (Extreme.Mathematics.LinearAlgebra.GeneralMatrix)
The GeneralMatrix that is to be factorized.
overwrite (System.Boolean)
If false, the matrix is preserved. (This is the default.) If true, the matrix matrix is destroyed by the decomposition.

Remarks

The decomposition isn't performed until it is needed. You can force the calculation to take place by calling the Decompose() method.

Exceptions

ExceptionCondition
ArgumentNullExceptionmatrix is nullNothingnullptr.