Package mikera.vectorz

Examples of mikera.vectorz.Vector.applyOp()


    Vector v=Vector.createLength(8388608);
    Vectorz.fillGaussian(v);

    Op op = Ops.compose(Linear.create(2.0,0.0), Ops.compose(Ops.SQRT, Linear.create(0.0,0.375)));
    for (int i=0; i<runs; i++) {
      v.applyOp(op);
    }   
  }
 
  public void timeOptimised(int runs) {
    Vector v=Vector.createLength(8388608);
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.