pygradflow.step package

Submodules

pygradflow.step.asymmetric_step_solver module

pygradflow.step.cond_estimate module

class pygradflow.step.cond_estimate.ConditionEstimator(mat: spmatrix, linear_solver: LinearSolver, params: Params, min_prob: float = 0.99, factor: float = 10.0)

Bases: object

Estimates condition of matrix using generic lienar solver. Based on “Estimating Extremal Eigenvalues and Condition Numbers of Matrices” by Dixon

__init__(mat: spmatrix, linear_solver: LinearSolver, params: Params, min_prob: float = 0.99, factor: float = 10.0)

pygradflow.step.extended_step_solver module

pygradflow.step.linear_solver module

pygradflow.step.scaled_step_solver module

pygradflow.step.standard_step_solver module

pygradflow.step.step_control module

class pygradflow.step.step_control.StepController(problem: Problem, params: Params)

Bases: ABC

__init__(problem: Problem, params: Params) None
compute_step(iterate: Iterate, rho: float, dt: float, display: bool, timer: Timer) StepControlResult

Computes next step using the step method, handling linear algebra errors by reducing the step size.

pygradflow.step.step_solver module

pygradflow.step.symmetric_step_solver module

Module contents