Applies the permutation P of the decomposition
PA= LU to a Vector.
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function ApplyP ( _ vector As Vector, _ overwrite As Boolean _ ) As Vector |
| C# |
|---|
public Vector ApplyP ( Vector vector, bool overwrite ) |
| C++ |
|---|
public: Vector^ ApplyP ( Vector^ vector, bool overwrite ) |
Parameters
- vector (Extreme.Mathematics.LinearAlgebra.Vector)
- A Vector with length equal to the number of rows in the underlying BandMatrix.
- overwrite (System.Boolean)
- If true, the vector vector is overwritten by the result. If false, a new Vector is returned.
Return Value
A Vector with the elements of vector permuted.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | vector is nullNothingnullptr. |