Package cern.colt.matrix

Examples of cern.colt.matrix.DoubleMatrix3D.viewDice()


  for (int j=densities.length; --j >= 0; ) colNames[j]=Double.toString(densities[j]);
  System.out.println("*");
  // show transposed
  String tmp = rowAxisName; rowAxisName = colAxisName; colAxisName = tmp;
  String[] tmp2 = rowNames; rowNames = colNames; colNames = tmp2;
  timings = timings.viewDice(0,2,1);
  System.out.println(new cern.colt.matrix.doublealgo.Formatter("%1.3G").toTitleString(timings,sliceNames,rowNames,colNames,sliceAxisName,rowAxisName,colAxisName,"Performance of "+title,aggr));
  /*
  title = "Speedup of dense over sparse";
  DoubleMatrix2D speedup = cern.colt.matrix.doublealgo.Transform.div(timings.viewSlice(0).copy(),timings.viewSlice(1));
  System.out.println("\n"+new cern.colt.matrix.doublealgo.Formatter("%1.3G").toTitleString(speedup,rowNames,colNames,rowAxisName,colAxisName,title,aggr));
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.