Class SparseQR
Class describing the QR factorisation of a CompressedColumn
Namespace: BRIDGES.LinearAlgebra.Factorisation
Assembly: BRIDGES.dll
Syntax
public class SparseQR : object
Constructors
| Improve this Doc View SourceSparseQR(CompressedColumn)
Initialises a new instance of the SparseQR class by computing the QR factorization of a CompressedColumn.
Declaration
public SparseQR(CompressedColumn matrix)
Parameters
Type | Name | Description |
---|---|---|
CompressedColumn | matrix | Matrix over which the factorisation is performed. |
Methods
| Improve this Doc View SourceSolve(DenseVector)
Solves the linear system : A·X=Y
Declaration
public DenseVector Solve(DenseVector vector)
Parameters
Type | Name | Description |
---|---|---|
DenseVector | vector | DenseVector Y of the linear system. |
Returns
Type | Description |
---|---|
DenseVector | The DenseVector X, solution of the system. |
Remarks
Since pre-factorisations are dedicated to speed, no exception handeling is provided.
Solve(SparseVector)
Solves the linear system : A·X=Y
Declaration
public SparseVector Solve(SparseVector vector)
Parameters
Type | Name | Description |
---|---|---|
SparseVector | vector | SparseVector Y of the linear system. |
Returns
Type | Description |
---|---|
SparseVector | The Vector X, solution of the system. |
Remarks
Since pre-factorisations are dedicated to speed, no exception handeling is provided.
Solve(Vector)
Solves the linear system : A·X=Y
Declaration
public Vector Solve(Vector vector)
Parameters
Type | Name | Description |
---|---|---|
Vector | vector | Vector Y of the linear system. |
Returns
Type | Description |
---|---|
Vector | The Vector X, solution of the system. |
Remarks
Since pre-factorisations are dedicated to speed, no exception handeling is provided.
Solve(Double[])
Solves the linear system : A·X=Y
Declaration
public double[] Solve(double[] components)
Parameters
Type | Name | Description |
---|---|---|
Double[] | components |
Returns
Type | Description |
---|---|
Double[] | The |
Remarks
Since pre-factorisations are dedicated to speed, no exception handeling is provided.