|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.math.PersistentObject
org.apache.mahout.math.matrix.DoubleFactory3D
@Deprecated public class DoubleFactory3D
Field Summary | |
---|---|
static DoubleFactory3D |
dense
Deprecated. A factory producing dense matrices. |
Constructor Summary | |
---|---|
protected |
DoubleFactory3D()
Deprecated. Makes this class non instantiable, but still let's others inherit from it. |
Method Summary | |
---|---|
DoubleMatrix3D |
ascending(int slices,
int rows,
int columns)
Deprecated. Constructs a matrix with cells having ascending values. |
DoubleMatrix3D |
descending(int slices,
int rows,
int columns)
Deprecated. Constructs a matrix with cells having descending values. |
DoubleMatrix3D |
make(double[][][] values)
Deprecated. Constructs a matrix with the given cell values. |
DoubleMatrix3D |
make(int slices,
int rows,
int columns)
Deprecated. Constructs a matrix with the given shape, each cell initialized with zero. |
DoubleMatrix3D |
make(int slices,
int rows,
int columns,
double initialValue)
Deprecated. Constructs a matrix with the given shape, each cell initialized with the given value. |
DoubleMatrix3D |
random(int slices,
int rows,
int columns)
Deprecated. Constructs a matrix with uniformly distributed values in (0,1) (exclusive). |
Methods inherited from class org.apache.mahout.math.PersistentObject |
---|
clone |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final DoubleFactory3D dense
Constructor Detail |
---|
protected DoubleFactory3D()
Method Detail |
---|
public DoubleMatrix3D ascending(int slices, int rows, int columns)
public DoubleMatrix3D descending(int slices, int rows, int columns)
public DoubleMatrix3D make(double[][][] values)
The values are copied. So subsequent changes in values are not reflected in the matrix, and vice-versa.
values
- the values to be filled into the cells.
java.lang.IllegalArgumentException
- if values.length != slices() || for any 0 <= slice < slices():
values[slice].length != rows().
java.lang.IllegalArgumentException
- if for any 0 <= column < columns(): values[slice][row].length !=
columns().public DoubleMatrix3D make(int slices, int rows, int columns)
public DoubleMatrix3D make(int slices, int rows, int columns, double initialValue)
public DoubleMatrix3D random(int slices, int rows, int columns)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |