Examples of DenseDoubleMatrix3D


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

Examples of cern.colt.matrix.impl.DenseDoubleMatrix3D

/**
* 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

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

Examples of cern.colt.matrix.impl.DenseDoubleMatrix3D

/**
* 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

Examples of org.apache.mahout.math.matrix.impl.DenseDoubleMatrix3D

   */
  public DoubleMatrix3D make(double[][][] values) {
    if (this == sparse) {
      return new SparseDoubleMatrix3D(values);
    }
    return new DenseDoubleMatrix3D(values);
  }
View Full Code Here

Examples of org.apache.mahout.math.matrix.impl.DenseDoubleMatrix3D

  /** 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
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.