Examples of DenseObjectMatrix3D


Examples of cern.colt.matrix.impl.DenseObjectMatrix3D

* @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 ObjectMatrix3D make(Object[][][] values) {
  if (this==sparse) return new SparseObjectMatrix3D(values);
  return new DenseObjectMatrix3D(values);
}
View Full Code Here

Examples of cern.colt.matrix.impl.DenseObjectMatrix3D

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

Examples of cern.colt.matrix.impl.DenseObjectMatrix3D

* @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 ObjectMatrix3D make(Object[][][] values) {
  if (this==sparse) return new SparseObjectMatrix3D(values);
  return new DenseObjectMatrix3D(values);
}
View Full Code Here

Examples of cern.colt.matrix.impl.DenseObjectMatrix3D

/**
* Constructs a matrix with the given shape, each cell initialized with zero.
*/
public ObjectMatrix3D make(int slices, int rows, int columns) {
  if (this==sparse) return new SparseObjectMatrix3D(slices,rows,columns);
  return new DenseObjectMatrix3D(slices,rows,columns);
}
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.