NLA-lib Explorer

NLAlib.LinearSystems.Refinement.Rounded.solve

Library · def

Iterative refinement in three precisions for a symmetric positive definite system, in scalar arithmetic at three precision tags: the setup, then k rounds, on scratch allocated by the routine. [CarsonHigham2018, Algorithm 1.1], with Cholesky as the factorization. Algorithm: iterative-refinement-three-precision

NLAlib.LinearSystems.Refinement.Rounded.solve {Op Tst : Type}
  [Ops.Has (Ops.Tagged LinearSystems.Refinement.Rounded.FTag Ops.ScalarOp) Op]
  [Ops.Has (Ops.Tagged LinearSystems.Refinement.Rounded.WTag Ops.ScalarOp) Op]
  [Ops.Has (Ops.Tagged LinearSystems.Refinement.Rounded.RTag Ops.ScalarOp) Op]
  [Ops.Has (Ops.CastOp LinearSystems.Refinement.Rounded.WTag LinearSystems.Refinement.Rounded.FTag)
      Op]
  [Ops.Has (Ops.CastOp LinearSystems.Refinement.Rounded.FTag LinearSystems.Refinement.Rounded.WTag)
      Op]
  [Ops.Has (Ops.CastOp LinearSystems.Refinement.Rounded.WTag LinearSystems.Refinement.Rounded.RTag)
      Op]
  [Ops.Has (Ops.CastOp LinearSystems.Refinement.Rounded.RTag LinearSystems.Refinement.Rounded.WTag)
      Op] :
  Ops.Routine Op Tst

Full source on GitHub

Import NLAlib.LinearSystems.Refinement.Rounded.Solve.