# Sparse Direct Solving Functions (Matrix RHS)

Solve a system using a factored matrix.

## Topics

### Direct Solving Functions

`func SparseSolve(SparseOpaqueFactorization_Double, DenseMatrix_Double)`

Solves the system AX = B for X, using the supplied double-precision factorization of A, in place.

`func SparseSolve(SparseOpaqueFactorization_Float, DenseMatrix_Float)`

Solves the system AX = B for X, using the supplied single-precision factorization of A, in place.

`func SparseSolve(SparseOpaqueFactorization_Double, DenseMatrix_Double, DenseMatrix_Double)`

Solves the system AX = B for X, using the supplied double-precision factorization of A.

`func SparseSolve(SparseOpaqueFactorization_Float, DenseMatrix_Float, DenseMatrix_Float)`

Solves the system AX = B for X, using the supplied single-precision factorization of A.

### Direct Solving Functions with User-Defined Workspace

`func SparseSolve(SparseOpaqueFactorization_Double, DenseMatrix_Double, UnsafeMutableRawPointer)`

Solves the system AX = B for X, using the supplied double-precision factorization of A, in place, and without any internal memory allocations.

`func SparseSolve(SparseOpaqueFactorization_Float, DenseMatrix_Float, UnsafeMutableRawPointer)`

Solves the system AX = B for X, using the supplied single-precision factorization of A, in place, and without any internal memory allocations.

`func SparseSolve(SparseOpaqueFactorization_Double, DenseMatrix_Double, DenseMatrix_Double, UnsafeMutableRawPointer)`

Solves the system AX = B for X, using the supplied double-precision factorization of A, and without any internal memory allocations.

`func SparseSolve(SparseOpaqueFactorization_Float, DenseMatrix_Float, DenseMatrix_Float, UnsafeMutableRawPointer)`

Solves the system AX = B for X, using the supplied single-precision factorization of A, and without any internal memory allocations.

### Direct Sparse Solving Methods

Solving Systems Using Direct Methods

Use direct methods to solve systems of equations where the coefficient matrix is sparse.

Sparse Factor Functions

Compute the factorization of a matrix.