本文整理汇总了Java中org.apache.commons.math3.util.IterationManager类的典型用法代码示例。如果您正苦于以下问题:Java IterationManager类的具体用法?Java IterationManager怎么用?Java IterationManager使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IterationManager类属于org.apache.commons.math3.util包,在下文中一共展示了IterationManager类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: ConjugateGradient
import org.apache.commons.math3.util.IterationManager; //导入依赖的package包/类
/**
* Creates a new instance of this class, with <a href="#stopcrit">default
* stopping criterion</a> and custom iteration manager.
*
* @param manager the custom iteration manager
* @param delta the δ parameter for the default stopping criterion
* @param check {@code true} if positive definiteness of both matrix and
* preconditioner should be checked
* @throws NullArgumentException if {@code manager} is {@code null}
*/
public ConjugateGradient(final IterationManager manager,
final double delta, final boolean check)
throws NullArgumentException {
super(manager);
this.delta = delta;
this.check = check;
}
示例2: SymmLQ
import org.apache.commons.math3.util.IterationManager; //导入依赖的package包/类
/**
* Creates a new instance of this class, with <a href="#stopcrit">default
* stopping criterion</a> and custom iteration manager. Note that setting
* {@code check} to {@code true} entails an extra matrix-vector product in
* the initial phase.
*
* @param manager the custom iteration manager
* @param delta the δ parameter for the default stopping criterion
* @param check {@code true} if self-adjointedness of both matrix and
* preconditioner should be checked
*/
public SymmLQ(final IterationManager manager, final double delta,
final boolean check) {
super(manager);
this.delta = delta;
this.check = check;
}
示例3: ConjugateGradient
import org.apache.commons.math3.util.IterationManager; //导入依赖的package包/类
/**
* Creates a new instance of this class, with <a href="#stopcrit">default
* stopping criterion</a> and custom iteration manager.
*
* @param manager the custom iteration manager
* @param delta the δ parameter for the default stopping criterion
* @param check {@code true} if positive definiteness of both matrix and
* preconditioner should be checked
*/
public ConjugateGradient(final IterationManager manager,
final double delta, final boolean check) {
super(manager);
this.delta = delta;
this.check = check;
}
示例4: IterativeLinearSolver
import org.apache.commons.math3.util.IterationManager; //导入依赖的package包/类
/**
* Creates a new instance of this class, with default iteration manager.
*
* @param maxIterations the maximum number of iterations
*/
public IterativeLinearSolver(final int maxIterations) {
this.manager = new IterationManager(maxIterations);
}
示例5: getIterationManager
import org.apache.commons.math3.util.IterationManager; //导入依赖的package包/类
/**
* Returns the iteration manager attached to this solver.
*
* @return the manager
*/
public IterationManager getIterationManager() {
return manager;
}
示例6: PreconditionedIterativeLinearSolver
import org.apache.commons.math3.util.IterationManager; //导入依赖的package包/类
/**
* Creates a new instance of this class, with custom iteration manager.
*
* @param manager the custom iteration manager
* @throws NullArgumentException if {@code manager} is {@code null}
*/
public PreconditionedIterativeLinearSolver(final IterationManager manager)
throws NullArgumentException {
super(manager);
}