Package cern.colt.matrix.impl

Examples of cern.colt.matrix.impl.DenseDoubleMatrix3D


* @throws IllegalArgumentException if <tt>values.length != slices() || for any 0 &lt;= slice &lt; slices(): values[slice].length != rows()</tt>.
* @throws IllegalArgumentException if <tt>for any 0 &lt;= column &lt; columns(): values[slice][row].length != columns()</tt>.
*/
public DoubleMatrix3D make(double[][][] values) {
  if (this==sparse) return new SparseDoubleMatrix3D(values);
  return new DenseDoubleMatrix3D(values);
}
View Full Code Here


/**
* Constructs a matrix with the given shape, each cell initialized with zero.
*/
public DoubleMatrix3D make(int slices, int rows, int columns) {
  if (this==sparse) return new SparseDoubleMatrix3D(slices,rows,columns);
  return new DenseDoubleMatrix3D(slices,rows,columns);
}
View Full Code Here

* @throws IllegalArgumentException if <tt>values.length != slices() || for any 0 &lt;= slice &lt; slices(): values[slice].length != rows()</tt>.
* @throws IllegalArgumentException if <tt>for any 0 &lt;= column &lt; columns(): values[slice][row].length != columns()</tt>.
*/
public DoubleMatrix3D make(double[][][] values) {
  if (this==sparse) return new SparseDoubleMatrix3D(values);
  return new DenseDoubleMatrix3D(values);
}
View Full Code Here

/**
* Constructs a matrix with the given shape, each cell initialized with zero.
*/
public DoubleMatrix3D make(int slices, int rows, int columns) {
  if (this==sparse) return new SparseDoubleMatrix3D(slices,rows,columns);
  return new DenseDoubleMatrix3D(slices,rows,columns);
}
View Full Code Here

TOP

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

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.