SG++-Doxygen-Documentation
|
Public Member Functions | |
def | __getattr__ (self, attr) |
def | __init__ (self, builder) |
def | withAccuracy (self, accuracy) |
def | withAlphaReusing (self) |
def | withImax (self, imax) |
def | withThreshold (self, threshold) |
CGSolver Descriptor helps to implement fluid interface patter on python it encapsulates functionality concerning creation of the CG-Solver
def python.uq.learner.builder.CGSolverDescriptor.CGSolverDescriptor.__init__ | ( | self, | |
builder | |||
) |
References python.uq.learner.builder.CGSolverDescriptor.CGSolverDescriptor.__solver, python.learner.LearnerBuilder.LearnerBuilder.CGSolverDescriptor.__solver, python.uq.analysis.asgc.ASGCDescriptor.ASGCDescriptor._builder, and python.uq.learner.builder.CGSolverDescriptor.CGSolverDescriptor._builder.
def python.uq.learner.builder.CGSolverDescriptor.CGSolverDescriptor.__getattr__ | ( | self, | |
attr | |||
) |
Overrides built-in method if method called is not a object method of this Descriptor, most probably it's a method of LearnerBuilder so it tries to call the method from our builder @param attr: String for method name @return: Method calling in LearnerBuilder
References python.uq.analysis.asgc.ASGCDescriptor.ASGCDescriptor._builder, and python.uq.learner.builder.CGSolverDescriptor.CGSolverDescriptor._builder.
def python.uq.learner.builder.CGSolverDescriptor.CGSolverDescriptor.withAccuracy | ( | self, | |
accuracy | |||
) |
Defines the accuracy of CG-Solver @param accuracy: float for accuracy
References python.uq.learner.builder.CGSolverDescriptor.CGSolverDescriptor.__solver, and python.learner.LearnerBuilder.LearnerBuilder.CGSolverDescriptor.__solver.
def python.uq.learner.builder.CGSolverDescriptor.CGSolverDescriptor.withAlphaReusing | ( | self | ) |
The reusage of previous alpha data in the CG iteration
References python.uq.learner.builder.CGSolverDescriptor.CGSolverDescriptor.__solver, and python.learner.LearnerBuilder.LearnerBuilder.CGSolverDescriptor.__solver.
def python.uq.learner.builder.CGSolverDescriptor.CGSolverDescriptor.withImax | ( | self, | |
imax | |||
) |
Defines the maximal number of iterations in CG algorithms @param imax: integer for maximal number of iteration in CG
References python.uq.learner.builder.CGSolverDescriptor.CGSolverDescriptor.__solver, and python.learner.LearnerBuilder.LearnerBuilder.CGSolverDescriptor.__solver.
def python.uq.learner.builder.CGSolverDescriptor.CGSolverDescriptor.withThreshold | ( | self, | |
threshold | |||
) |
Defines the maximal accuracy. If the norm of the residuum falls below this threshold, stop the CG iterations. @param threshold: float maximal accuracy
References python.uq.learner.builder.CGSolverDescriptor.CGSolverDescriptor.__solver, and python.learner.LearnerBuilder.LearnerBuilder.CGSolverDescriptor.__solver.