SparseGetStateSize_Float(_:_:_:_:_:)
Returns the size in bytes necessary for a call to the single-precision sparse iterate method.
Declaration
func SparseGetStateSize_Float(_ method: SparseIterativeMethod, _ preconditioner: Bool, _ m: Int32, _ n: Int32, _ nrhs: Int32) -> IntParameters
- method:
The method to return required state space size for.
- preconditioner:
Set to
trueif your subsequent calls toSparseIterateuse a preconditioner. - m:
The number of rows in matrix A.
- n:
The number of columns in matrix A.
- nrhs:
The number of columns in matrices B and X.
Return Value
The size of the required state space, in bytes.