Example #1
0
 /**
  * Solves the increments array ( <code>this.da</code>) using alpha and beta. Then updates the
  * <code>this.incrementedParameters</code> array. NOTE: Inverts alpha. Call at least <code>
  * updateAlpha()</code> before calling this.
  */
 protected void solveIncrements() throws LMAMatrix.InvertException {
   alpha.invert(); // throws InvertException if matrix is singular
   alpha.multiply(beta, da);
   for (int i = 0; i < parameters.length; i++) {
     incrementedParameters[i] = parameters[i] + da[i];
   }
 }