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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleprivate Jama.Matrixprivate Jama.Matrixprivate LinkedList<Integer> private intprivate intprivate boolean -
Constructor Summary
ConstructorsConstructorDescriptionLowRankInverseHessian(int num_parameters, int max_num_corrections, boolean use_approximate_eigenvalue_scaling) -
Method Summary
Modifier and TypeMethodDescriptionvoidLeftMultiply(double[] x, double[] y) intnum_cols()intnum_rows()voidRightMultiply(double[] x_ptr, double[] y_ptr) voidRightMultiply(Vector<Double> x, Vector<Double> y) boolean
-
Field Details
-
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_
-
indices_
-
-
Constructor Details
-
LowRankInverseHessian
public LowRankInverseHessian(int num_parameters, int max_num_corrections, boolean use_approximate_eigenvalue_scaling)
-
-
Method Details
-
Update
-
RightMultiply
-
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
-