Package gov.nih.mipav.model.algorithms
Class CeresSolverTest.MatrixParameterization
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.CeresSolver.LocalParameterization
-
- gov.nih.mipav.model.algorithms.CeresSolverTest.MatrixParameterization
-
- Enclosing class:
- CeresSolverTest
class CeresSolverTest.MatrixParameterization extends CeresSolver.LocalParameterization
Helper local parameterization that multiplies the delta vector by the given jacobian and adds it to the parameter.
-
-
Field Summary
Fields Modifier and Type Field Description Jama.Matrix
global_J_local
-
Constructor Summary
Constructors Constructor Description MatrixParameterization()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
ComputeJacobian(double[] x, double[] jacobian)
boolean
ComputeJacobian(double[] x, double[][] jacobian)
boolean
ComputeJacobian(double[] x, int x_offset, double[][] jacobian)
boolean
ComputeJacobian(double[] x, Jama.Matrix jacobian)
int
GlobalSize()
int
LocalSize()
boolean
Plus(double[] x, double[] delta, double[] x_plus_delta)
boolean
Plus(java.util.Vector<java.lang.Double> x, int x_offset, java.util.Vector<java.lang.Double> delta, int delta_offset, java.util.Vector<java.lang.Double> x_plus_delta, int x_plus_delta_offset)
-
Methods inherited from class gov.nih.mipav.model.algorithms.CeresSolver.LocalParameterization
MultiplyByJacobian, MultiplyByJacobian
-
-
-
-
Method Detail
-
Plus
public boolean Plus(double[] x, double[] delta, double[] x_plus_delta)
- Specified by:
Plus
in classCeresSolver.LocalParameterization
-
Plus
public boolean Plus(java.util.Vector<java.lang.Double> x, int x_offset, java.util.Vector<java.lang.Double> delta, int delta_offset, java.util.Vector<java.lang.Double> x_plus_delta, int x_plus_delta_offset)
- Specified by:
Plus
in classCeresSolver.LocalParameterization
-
ComputeJacobian
public boolean ComputeJacobian(double[] x, double[] jacobian)
-
ComputeJacobian
public boolean ComputeJacobian(double[] x, Jama.Matrix jacobian)
-
ComputeJacobian
public boolean ComputeJacobian(double[] x, double[][] jacobian)
-
ComputeJacobian
public boolean ComputeJacobian(double[] x, int x_offset, double[][] jacobian)
- Specified by:
ComputeJacobian
in classCeresSolver.LocalParameterization
-
GlobalSize
public int GlobalSize()
- Specified by:
GlobalSize
in classCeresSolver.LocalParameterization
-
LocalSize
public int LocalSize()
- Specified by:
LocalSize
in classCeresSolver.LocalParameterization
-
-