Package cern.colt.matrix.impl

Examples of cern.colt.matrix.impl.RCDoubleMatrix2D


/**
* Constructs a matrix with the given shape, each cell initialized with zero.
*/
public DoubleMatrix2D make(int rows, int columns) {
  if (this==sparse) return new SparseDoubleMatrix2D(rows,columns);
  if (this==rowCompressed) return new RCDoubleMatrix2D(rows,columns);
  //if (this==rowCompressedModified) return new RCMDoubleMatrix2D(rows,columns);
  else return new DenseDoubleMatrix2D(rows,columns);
}
View Full Code Here


/**
* Constructs a matrix with the given shape, each cell initialized with zero.
*/
public DoubleMatrix2D make(int rows, int columns) {
  if (this==sparse) return new SparseDoubleMatrix2D(rows,columns);
  if (this==rowCompressed) return new RCDoubleMatrix2D(rows,columns);
  //if (this==rowCompressedModified) return new RCMDoubleMatrix2D(rows,columns);
  else return new DenseDoubleMatrix2D(rows,columns);
}
View Full Code Here

TOP

Related Classes of cern.colt.matrix.impl.RCDoubleMatrix2D

Copyright © 2018 www.massapicom. 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.