ManagedSparseSolverProviderSolve(DssMatrixStructure, DssMatrixType, DssSystemType, Int32, Int32, Int32, Int32, Int32, Complex, Int32, Complex, Complex) Method |
Solves a sparse linear system.
Namespace: Altaxo.Calc.Providers.SparseSolverAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic DssStatus Solve(
DssMatrixStructure matrixStructure,
DssMatrixType matrixType,
DssSystemType systemType,
int rows,
int cols,
int nnz,
int[] rowIdx,
int[] colPtr,
Complex[] values,
int nRhs,
Complex[] rhs,
Complex[] 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 Complex
- The matrix values.
- nRhs Int32
- The number of right-hand sides.
- rhs Complex
- The right-hand side values.
- solution Complex
- The array receiving the computed solution.
Return Value
DssStatusThe
DssStatus result of the solve operation.
Implements
ISparseSolverProviderTSolve(DssMatrixStructure, DssMatrixType, DssSystemType, Int32, Int32, Int32, Int32, Int32, T, Int32, T, T)
See Also