Click or drag to resize

ManagedSparseSolverProviderSolve(DssMatrixStructure, DssMatrixType, DssSystemType, Int32, Int32, Int32, Int32, Int32, Single, Int32, Single, Single) Method

Solves a sparse linear system.

Namespace: Altaxo.Calc.Providers.SparseSolver
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public DssStatus Solve(
	DssMatrixStructure matrixStructure,
	DssMatrixType matrixType,
	DssSystemType systemType,
	int rows,
	int cols,
	int nnz,
	int[] rowIdx,
	int[] colPtr,
	float[] values,
	int nRhs,
	float[] rhs,
	float[] solution
)

Parameters

matrixStructure  DssMatrixStructure
The structure of the sparse matrix.
matrixType  DssMatrixType
The factorization type of the sparse matrix.
systemType  DssSystemType
The type of system to solve.
rows  Int32
The number of rows in the matrix.
cols  Int32
The number of columns in the matrix.
nnz  Int32
The number of stored non-zero values.
rowIdx  Int32
The row index array.
colPtr  Int32
The column pointer array.
values  Single
The matrix values.
nRhs  Int32
The number of right-hand sides.
rhs  Single
The right-hand side values.
solution  Single
The array receiving the computed solution.

Return Value

DssStatus
The DssStatus result of the solve operation.

Implements

ISparseSolverProviderTSolve(DssMatrixStructure, DssMatrixType, DssSystemType, Int32, Int32, Int32, Int32, Int32, T, Int32, T, T)
See Also