artisynth.core.inverse
Class LeastSquaresSolver
java.lang.Object
artisynth.core.inverse.LeastSquaresSolver
public class LeastSquaresSolver
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LeastSquaresSolver
public LeastSquaresSolver()
dispose
public void dispose()
solve
public void solve(VectorNd a,
MatrixNd C,
VectorNd d,
VectorNd a0)
- Solve a bounded least squares problem as a QP
- Parameters:
a
- C
- d
- a0
-
setBounds
public void setBounds(double lower,
double upper)
setBounds
public void setBounds(VectorNd lower,
VectorNd upper)
resizeVariables
public void resizeVariables(int rowSize,
int exSize)