Contents

SparseSolve(_:_:_:)

Solves the equation Subfactor * X = B for the vector of single-precision values X, in place and without any internal memory allocations.

Declaration

func SparseSolve(_ Subfactor: SparseOpaqueSubfactor_Float, _ XB: DenseVector_Float, _ workspace: UnsafeMutableRawPointer)

Parameters

  • Subfactor:

    The Subfactor in Subfactor * X = B that Sparsecreatesubfactor(_:_:) 4renf returns.

  • XB:

    On input, the vector B. On return, the vector X overwrites it.

  • workspace:

    A workspace of size workspaceRequiredStatic + workspaceRequiredPerRHS.

See Also

Vector-solving functions with user-defined workspace