Function

SparseGetStateSize_Double(_:_:_:_:_:)

Returns the size, in bytes, required for a call to the double-precision sparse iterate method.

Declaration

func SparseGetStateSize_Double(_ method: SparseIterativeMethod, _ preconditioner: Bool, _ m: Int32, _ n: Int32, _ nrhs: Int32) -> Int

Parameters

method

Method for which to return required state space size.

preconditioner

true if a preconditioner will be supplied, false otherwise.

m

Number of entries in right-hand-side (rows in matrix A).

n

Number of variables to solve for (columns in matrix A).

nrhs

Number of right-hand-sides to be solved for.

Return Value

Size of state space required, in bytes.

See Also

Sparse Iterate

func SparseGetStateSize_Float(SparseIterativeMethod, Bool, Int32, Int32, Int32) -> Int

Returns the size, in bytes, required for a call to the single-precision sparse iterate method