Package gov.nih.mipav.model.algorithms
Class CeresSolver.LowRankInverseHessian
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.CeresSolver.LinearOperator
-
- gov.nih.mipav.model.algorithms.CeresSolver.LowRankInverseHessian
-
- Enclosing class:
- CeresSolver
class CeresSolver.LowRankInverseHessian extends CeresSolver.LinearOperator
-
-
Field Summary
Fields Modifier and Type Field Description private doubleapproximate_eigenvalue_scale_private Jama.Matrixdelta_gradient_history_private java.util.Vector<java.lang.Double>delta_x_dot_delta_gradient_private Jama.Matrixdelta_x_history_private java.util.LinkedList<java.lang.Integer>indices_private intmax_num_corrections_private intnum_parameters_private booleanuse_approximate_eigenvalue_scaling_
-
Constructor Summary
Constructors Constructor Description LowRankInverseHessian(int num_parameters, int max_num_corrections, boolean use_approximate_eigenvalue_scaling)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidLeftMultiply(double[] x, double[] y)intnum_cols()intnum_rows()voidRightMultiply(double[] x_ptr, double[] y_ptr)voidRightMultiply(java.util.Vector<java.lang.Double> x, java.util.Vector<java.lang.Double> y)booleanUpdate(java.util.Vector<java.lang.Double> delta_x, java.util.Vector<java.lang.Double> delta_gradient)
-
-
-
Field Detail
-
num_parameters_
private int num_parameters_
-
max_num_corrections_
private int max_num_corrections_
-
use_approximate_eigenvalue_scaling_
private boolean use_approximate_eigenvalue_scaling_
-
approximate_eigenvalue_scale_
private double approximate_eigenvalue_scale_
-
delta_x_history_
private Jama.Matrix delta_x_history_
-
delta_gradient_history_
private Jama.Matrix delta_gradient_history_
-
delta_x_dot_delta_gradient_
private java.util.Vector<java.lang.Double> delta_x_dot_delta_gradient_
-
indices_
private java.util.LinkedList<java.lang.Integer> indices_
-
-
Method Detail
-
Update
public boolean Update(java.util.Vector<java.lang.Double> delta_x, java.util.Vector<java.lang.Double> delta_gradient)
-
RightMultiply
public void RightMultiply(java.util.Vector<java.lang.Double> x, java.util.Vector<java.lang.Double> y)
-
RightMultiply
public void RightMultiply(double[] x_ptr, double[] y_ptr)- Specified by:
RightMultiplyin classCeresSolver.LinearOperator
-
LeftMultiply
public void LeftMultiply(double[] x, double[] y)- Specified by:
LeftMultiplyin classCeresSolver.LinearOperator
-
num_rows
public int num_rows()
- Specified by:
num_rowsin classCeresSolver.LinearOperator
-
num_cols
public int num_cols()
- Specified by:
num_colsin classCeresSolver.LinearOperator
-
-