Package org.apache.mahout.math

Examples of org.apache.mahout.math.DenseVector.viewPart()


        ort.viewPart(m + 1, high - m).assign(hessenBerg.viewColumn(m - 1).viewPart(m + 1, high - m));
        for (int j = m; j <= high; j++) {
          double g = ort.viewPart(m, high - m + 1).dot(v.viewColumn(j).viewPart(m, high - m + 1));
          // Double division avoids possible underflow
          g = (g / ort.getQuick(m)) / hessenBerg.getQuick(m, m - 1);
          v.viewColumn(j).viewPart(m, high - m + 1).assign(ort.viewPart(m, high - m + 1), Functions.plusMult(g));
        }
      }
    }
    return hessenBerg;
  }
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.