Contents

init(reportError:maxIterations:atol:rtol:reportStatus:)

Returns a new CG options structure using the specified parameters.

Declaration

init(reportError: ((UnsafePointer<CChar>) -> Void)?, maxIterations: Int32, atol: Double, rtol: Double, reportStatus: ((UnsafePointer<CChar>) -> Void)?)

Parameters

  • reportError:

    An optional error-reporting routine.

  • maxIterations:

    The maximum number of iterations.

  • atol:

    The absolute convergence tolerance.

  • rtol:

    The relative convergence tolerance.

  • reportStatus:

    The function to report status.

Return Value

A new CG options structure.

See Also

Initializers