Examples of newBuilder()


Examples of org.renjin.primitives.matrix.Matrix.newBuilder()

  public static Vector Rrowsum_matrix(Vector x, int ncol, AtomicVector groups, AtomicVector ugroup, boolean naRm) {
   
    int numGroups = ugroup.length();
   
    Matrix source = new Matrix(x, ncol);
    MatrixBuilder result = source.newBuilder(numGroups, ncol);
   
    for(int col=0;col!=ncol;++col) {
     
      // sum the rows in this column by group
     
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.