Package org.apache.mahout.math.matrix

Examples of org.apache.mahout.math.matrix.DoubleMatrix2D.zAssign8Neighbors()


    } // odd -> make it even

    int i = 0;
    while (i < maxIterations) { // do two steps at a time for efficiency
      A.zAssign8Neighbors(B, function);
      B.zAssign8Neighbors(A, function);
      i += 2;
      if (i % convergenceIterations == 0 && hasConverged != null) {
        if (hasConverged.apply(A)) {
          return i;
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.