Loading...
Searching...
No Matches
SLUFactor< R > Class Template Reference Implementation of Sparse Linear Solver. More...
Inheritance diagram for SLUFactor< R >:
![]()
Detailed DescriptionImplementation of Sparse Linear Solver. This class implements a SLinSolver interface by using the sparse LU factorization implemented in CLUFactor. Definition at line 50 of file slufactor.h. Member Typedef Documentation◆ Statusfor convenience Definition at line 64 of file slufactor.h. Member Enumeration Documentation◆ UpdateTypeSpecifies how to perform change method.
Definition at line 58 of file slufactor.h. Constructor & Destructor Documentation◆ SLUFactor() [1/2]◆ SLUFactor() [2/2]◆ ~SLUFactor()Member Function Documentation◆ assign()used to implement the assignment operator ◆ change()
Implements SLinSolver< R >. ◆ changeEta()◆ changeTimer()
Definition at line 295 of file slufactor.h. References CLUFactor< R >::factorTime, SLUFactor< R >::solveTime, TimerFactory::switchTimer(), and SLUFactor< R >::timerType. ◆ clear()Implements SLinSolver< R >. ◆ clone()
clone function for polymorphism Implements SLinSolver< R >. Definition at line 320 of file slufactor.h. ◆ dim()Implements SLinSolver< R >. Definition at line 166 of file slufactor.h. References CLUFactor< R >::thedim. ◆ dump()◆ freeAll()◆ getFactorCount()number of factorizations performed Implements SLinSolver< R >. Definition at line 266 of file slufactor.h. References CLUFactor< R >::factorCount. ◆ getFactorTime()time spent in factorizations Definition at line 256 of file slufactor.h. References CLUFactor< R >::factorTime, and Timer::time(). ◆ getName()Implements SLinSolver< R >. Definition at line 176 of file slufactor.h. ◆ getSolveCount()number of solves performed Definition at line 282 of file slufactor.h. References SLUFactor< R >::solveCount. ◆ getSolveTime()time spent in solves Definition at line 272 of file slufactor.h. References SLUFactor< R >::solveTime, and Timer::time(). ◆ isConsistent()consistency check. Implements SLinSolver< R >. ◆ load()Implements SLinSolver< R >. ◆ markowitz()returns Markowitz threshold. Definition at line 151 of file slufactor.h. References SLUFactor< R >::lastThreshold. ◆ matrixMetric()return one of several matrix metrics based on the diagonal of U 0: condition number estimate by ratio of min/max 1: trace (sum of diagonal elements) 2: determinant (product of diagonal elements) Implements SLinSolver< R >. ◆ memory()Implements SLinSolver< R >. Definition at line 171 of file slufactor.h. References CLUFactor< R >::L::firstUnused, CLUFactor< R >::l, CLUFactor< R >::nzCnt, and CLUFactor< R >::L::start. ◆ operator=()◆ resetCounters()reset timers and counters Definition at line 287 of file slufactor.h. References CLUFactor< R >::factorCount, CLUFactor< R >::factorTime, CLUFactor< R >::hugeValues, and Timer::reset(). ◆ resetFactorTime()reset FactorTime Definition at line 261 of file slufactor.h. References CLUFactor< R >::factorTime, and Timer::reset(). ◆ resetSolveTime()reset SolveTime Definition at line 277 of file slufactor.h. References Timer::reset(), and SLUFactor< R >::solveTime. ◆ setMarkowitz()sets minimum Markowitz threshold. Definition at line 138 of file slufactor.h. References SLUFactor< R >::lastThreshold, and SLUFactor< R >::minThreshold. ◆ setUtype()
sets update type. The new UpdateType becomes valid only after the next call to method load(). Definition at line 132 of file slufactor.h. References SLUFactor< R >::uptype. ◆ solve2right4update() [1/2]
Sparse version of solving two systems of equations. Implements SLinSolver< R >. ◆ solve2right4update() [2/2]
Solves \(Ax=b\) and \(Ay=d\). Implements SLinSolver< R >. ◆ solve3right4update() [1/2]
sparse version of solving three systems of equations Implements SLinSolver< R >. ◆ solve3right4update() [2/2]
Solves \(Ax=b\), \(Ay=d\) and \(Az=e\). Implements SLinSolver< R >. ◆ solveLeft() [1/7]
Implements SLinSolver< R >. Definition at line 229 of file slufactor.h. References SLUFactor< R >::solveLeft(). ◆ solveLeft() [2/7]
Solves \(Ax=b\). Implements SLinSolver< R >. ◆ solveLeft() [3/7]
sparse version of solving two systems of equations with transposed basis matrix Implements SLinSolver< R >. ◆ solveLeft() [4/7]
sparse version of solving three systems of equations with transposed basis matrix Implements SLinSolver< R >. ◆ solveLeft() [5/7]
Solves \(Ax=b\) and \(Ay=d\). Implements SLinSolver< R >. ◆ solveLeft() [6/7]
Solves \(Ax=b\), \(Ay=d\) and \(Az=e\). Implements SLinSolver< R >. ◆ solveLeft() [7/7]
sparse version of solving one system of equations with transposed basis matrix Implements SLinSolver< R >. Referenced by SLUFactor< R >::solveLeft(). ◆ solveRight() [1/3]
Implements SLinSolver< R >. Definition at line 206 of file slufactor.h. References SLUFactor< R >::solveRight(). ◆ solveRight() [2/3]
Solves \(Ax=b\). Implements SLinSolver< R >. ◆ solveRight() [3/3]
◆ solveRight4update()
Solves \(Ax=b\). Implements SLinSolver< R >. ◆ stability()Implements SLinSolver< R >. ◆ statistics()Implements SLinSolver< R >. ◆ status()Implements SLinSolver< R >. Definition at line 181 of file slufactor.h. References CLUFactor< R >::stat. ◆ utype()
returns the current update type uptype. Definition at line 123 of file slufactor.h. References SLUFactor< R >::uptype. Member Data Documentation◆ epsilon|x| < epsililon is considered to be 0. Definition at line 97 of file slufactor.h. ◆ eta
Definition at line 83 of file slufactor.h. ◆ forest
? Update VectorBase<R> set up by solveRight4update() and solve2right4update() Definition at line 85 of file slufactor.h. ◆ lastThresholdpivoting threshold of last factorization Definition at line 86 of file slufactor.h. Referenced by SLUFactor< R >::markowitz(), and SLUFactor< R >::setMarkowitz(). ◆ minStabilityminimum stability to achieve by setting threshold. Definition at line 95 of file slufactor.h. ◆ minThresholdminimum threshold to use. Definition at line 93 of file slufactor.h. Referenced by SLUFactor< R >::setMarkowitz(). ◆ solveCountNumber of solves. Definition at line 102 of file slufactor.h. Referenced by SLUFactor< R >::getSolveCount(). ◆ solveTimeTime spent in solves. Definition at line 99 of file slufactor.h. Referenced by SLUFactor< R >::changeTimer(), SLUFactor< R >::getSolveTime(), and SLUFactor< R >::resetSolveTime(). ◆ ssvec
Temporary semi-sparse VectorBase<R> Definition at line 73 of file slufactor.h. ◆ timerType
Definition at line 100 of file slufactor.h. Referenced by SLUFactor< R >::changeTimer(). ◆ uptype
the current UpdateType. Definition at line 82 of file slufactor.h. Referenced by SLUFactor< R >::setUtype(), and SLUFactor< R >::utype(). ◆ usetupTRUE iff update vector has been setup. Definition at line 81 of file slufactor.h. ◆ vec
Temporary VectorBase<R> Definition at line 72 of file slufactor.h.
|