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 double
approximate_eigenvalue_scale_
private Jama.Matrix
delta_gradient_history_
private java.util.Vector<java.lang.Double>
delta_x_dot_delta_gradient_
private Jama.Matrix
delta_x_history_
private java.util.LinkedList<java.lang.Integer>
indices_
private int
max_num_corrections_
private int
num_parameters_
private boolean
use_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 void
LeftMultiply(double[] x, double[] y)
int
num_cols()
int
num_rows()
void
RightMultiply(double[] x_ptr, double[] y_ptr)
void
RightMultiply(java.util.Vector<java.lang.Double> x, java.util.Vector<java.lang.Double> y)
boolean
Update(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:
RightMultiply
in classCeresSolver.LinearOperator
-
LeftMultiply
public void LeftMultiply(double[] x, double[] y)
- Specified by:
LeftMultiply
in classCeresSolver.LinearOperator
-
num_rows
public int num_rows()
- Specified by:
num_rows
in classCeresSolver.LinearOperator
-
num_cols
public int num_cols()
- Specified by:
num_cols
in classCeresSolver.LinearOperator
-
-