Examples of DeferredRowMeans


Examples of org.renjin.primitives.matrix.DeferredRowMeans

  @Test
  public void rowMeans() {

    DoubleArrayVector a = new DoubleArrayVector(1,2,3,4,5,6,7,8,9,10,11,12 );

    DeferredRowMeans rowMeans = new DeferredRowMeans(a, 4, AttributeMap.EMPTY);
    DeferredGraph graph = new DeferredGraph(rowMeans);

    Vector x = compute(graph);
    System.out.println(x);
  }
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.