numerics 0.1.0
Loading...
Searching...
No Matches
num::LinearCache< Op, Alg > Struct Template Reference

Reusable linear-solve cache (CommonSolve init/solve!): a view of the problem plus the algorithm and the current iterate. Re-solving warm-starts from cache.u. More...

#include <solve.hpp>

Public Attributes

const Op & A
 
const Vectorb
 
Alg alg
 
Vector u
 warm-start on entry, solution on exit
 

Detailed Description

template<class Op, class Alg>
struct num::LinearCache< Op, Alg >

Reusable linear-solve cache (CommonSolve init/solve!): a view of the problem plus the algorithm and the current iterate. Re-solving warm-starts from cache.u.

Note
A and b are held by reference and must outlive the cache.

Definition at line 102 of file solve.hpp.

Member Data Documentation

◆ A

template<class Op , class Alg >
const Op& num::LinearCache< Op, Alg >::A

Definition at line 103 of file solve.hpp.

Referenced by num::solve().

◆ alg

template<class Op , class Alg >
Alg num::LinearCache< Op, Alg >::alg

Definition at line 105 of file solve.hpp.

Referenced by num::solve().

◆ b

template<class Op , class Alg >
const Vector& num::LinearCache< Op, Alg >::b

Definition at line 104 of file solve.hpp.

Referenced by num::solve().

◆ u

template<class Op , class Alg >
Vector num::LinearCache< Op, Alg >::u

warm-start on entry, solution on exit

Definition at line 106 of file solve.hpp.

Referenced by num::solve().


The documentation for this struct was generated from the following file: