artisynth.core.inverse
Class L2RegularizationTerm
java.lang.Object
artisynth.core.inverse.LeastSquaresTermBase
artisynth.core.inverse.L2RegularizationTerm
- All Implemented Interfaces:
- LeastSquaresTerm, HasProperties
public class L2RegularizationTerm
- extends LeastSquaresTermBase
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultWeight
public static final double defaultWeight
- See Also:
- Constant Field Values
L2RegularizationTerm
public L2RegularizationTerm(TrackingController controller)
L2RegularizationTerm
public L2RegularizationTerm(TrackingController controller,
int size)
dispose
public void dispose()
getTargetSize
public int getTargetSize()
getTerm
public int getTerm(MatrixNd H,
VectorNd b,
int rowoff,
double t0,
double t1)
setWeight
public void setWeight(double w)
- Specified by:
setWeight
in interface LeastSquaresTerm
- Overrides:
setWeight
in class LeastSquaresTermBase
getReg
public MatrixNd getReg()