Package | Description |
---|---|
cern.colt.matrix |
Matrix interfaces and factories; efficient and flexible dense and sparse
1, 2, 3 and d-dimensional matrices holding objects or primitive data types such
as int, double, etc; Templated, fixed sized (not dynamically
resizable); Also known as multi-dimensional arrays or Data Cubes.
|
cern.colt.matrix.doublealgo |
Double matrix algorithms such as print formatting, sorting, partitioning and statistics.
|
cern.colt.matrix.impl |
Matrix implementations; You normally need not look at this package, because all concrete classes implement the abstract interfaces of
cern.colt.matrix , without subsetting or supersetting. |
cern.colt.matrix.linalg |
Linear Algebraic matrix computations operating on
DoubleMatrix2D
and DoubleMatrix1D . |
Modifier and Type | Method and Description |
---|---|
DoubleMatrix3D |
DoubleFactory3D.ascending(int slices,
int rows,
int columns)
Constructs a matrix with cells having ascending values.
|
DoubleMatrix3D |
DoubleMatrix3D.assign(double value)
Sets all cells to the state specified by value.
|
DoubleMatrix3D |
DoubleMatrix3D.assign(double[][][] values)
Sets all cells to the state specified by values.
|
DoubleMatrix3D |
DoubleMatrix3D.assign(DoubleFunction function)
Assigns the result of a function to each cell; x[slice,row,col] = function(x[slice,row,col]).
|
DoubleMatrix3D |
DoubleMatrix3D.assign(DoubleMatrix3D other)
Replaces all cell values of the receiver with the values of another matrix.
|
DoubleMatrix3D |
DoubleMatrix3D.assign(DoubleMatrix3D y,
DoubleDoubleFunction function)
Assigns the result of a function to each cell; x[row,col] = function(x[row,col],y[row,col]).
|
DoubleMatrix3D |
DoubleMatrix3D.copy()
Constructs and returns a deep copy of the receiver.
|
DoubleMatrix3D |
DoubleFactory3D.descending(int slices,
int rows,
int columns)
Constructs a matrix with cells having descending values.
|
protected DoubleMatrix3D |
DoubleMatrix3D.getContent()
Returns the content of this matrix if it is a wrapper; or this otherwise.
|
DoubleMatrix3D |
DoubleMatrix3D.like()
Construct and returns a new empty matrix of the same dynamic type as the receiver, having the same number of slices, rows and columns.
|
abstract DoubleMatrix3D |
DoubleMatrix3D.like(int slices,
int rows,
int columns)
Construct and returns a new empty matrix of the same dynamic type as the receiver, having the specified number of slices, rows and columns.
|
DoubleMatrix3D |
DoubleFactory3D.make(double[][][] values)
Constructs a matrix with the given cell values.
|
DoubleMatrix3D |
DoubleFactory3D.make(int slices,
int rows,
int columns)
Constructs a matrix with the given shape, each cell initialized with zero.
|
DoubleMatrix3D |
DoubleFactory3D.make(int slices,
int rows,
int columns,
double initialValue)
Constructs a matrix with the given shape, each cell initialized with the given value.
|
DoubleMatrix3D |
DoubleFactory3D.random(int slices,
int rows,
int columns)
Constructs a matrix with uniformly distributed values in (0,1) (exclusive).
|
protected DoubleMatrix3D |
DoubleMatrix3D.view()
Constructs and returns a new view equal to the receiver.
|
DoubleMatrix3D |
DoubleMatrix3D.viewColumnFlip()
Constructs and returns a new flip view along the column axis.
|
DoubleMatrix3D |
DoubleMatrix3D.viewDice(int axis0,
int axis1,
int axis2)
Constructs and returns a new dice view; Swaps dimensions (axes); Example: 3 x 4 x 5 matrix --> 4 x 3 x 5 matrix.
|
DoubleMatrix3D |
DoubleMatrix3D.viewPart(int slice,
int row,
int column,
int depth,
int height,
int width)
Constructs and returns a new sub-range view that is a depth x height x width sub matrix starting at [slice,row,column];
Equivalent to view().part(slice,row,column,depth,height,width); Provided for convenience only.
|
DoubleMatrix3D |
DoubleMatrix3D.viewRowFlip()
Constructs and returns a new flip view along the row axis.
|
DoubleMatrix3D |
DoubleMatrix3D.viewSelection(DoubleMatrix2DProcedure condition)
Constructs and returns a new selection view that is a matrix holding all slices matching the given condition.
|
DoubleMatrix3D |
DoubleMatrix3D.viewSelection(int[] sliceIndexes,
int[] rowIndexes,
int[] columnIndexes)
Constructs and returns a new selection view that is a matrix holding the indicated cells.
|
protected abstract DoubleMatrix3D |
DoubleMatrix3D.viewSelectionLike(int[] sliceOffsets,
int[] rowOffsets,
int[] columnOffsets)
Construct and returns a new selection view.
|
DoubleMatrix3D |
DoubleMatrix3D.viewSliceFlip()
Constructs and returns a new flip view along the slice axis.
|
DoubleMatrix3D |
DoubleMatrix3D.viewSorted(int row,
int column)
Sorts the matrix slices into ascending order, according to the natural ordering of the matrix values in the given [row,column] position.
|
DoubleMatrix3D |
DoubleMatrix3D.viewStrides(int sliceStride,
int rowStride,
int columnStride)
Constructs and returns a new stride view which is a sub matrix consisting of every i-th cell.
|
Modifier and Type | Method and Description |
---|---|
double |
DoubleMatrix3D.aggregate(DoubleMatrix3D other,
DoubleDoubleFunction aggr,
DoubleDoubleFunction f)
Applies a function to each corresponding cell of two matrices and aggregates the results.
|
boolean |
ObjectMatrix3DProcedure.apply(DoubleMatrix3D element)
Applies a procedure to an argument.
|
boolean |
DoubleMatrix3DProcedure.apply(DoubleMatrix3D element)
Applies a procedure to an argument.
|
DoubleMatrix3D |
DoubleMatrix3D.assign(DoubleMatrix3D other)
Replaces all cell values of the receiver with the values of another matrix.
|
DoubleMatrix3D |
DoubleMatrix3D.assign(DoubleMatrix3D y,
DoubleDoubleFunction function)
Assigns the result of a function to each cell; x[row,col] = function(x[row,col],y[row,col]).
|
protected boolean |
DoubleMatrix3D.haveSharedCells(DoubleMatrix3D other)
Returns true if both matrices share at least one identical cell.
|
protected boolean |
DoubleMatrix3D.haveSharedCellsRaw(DoubleMatrix3D other)
Returns true if both matrices share at least one identical cell.
|
void |
DoubleMatrix3D.zAssign27Neighbors(DoubleMatrix3D B,
Double27Function function)
27 neighbor stencil transformation.
|
Modifier and Type | Method and Description |
---|---|
DoubleMatrix3D |
Sorting.sort(DoubleMatrix3D matrix,
DoubleMatrix2DComparator c)
Sorts the matrix slices according to the order induced by the specified comparator.
|
DoubleMatrix3D |
Sorting.sort(DoubleMatrix3D matrix,
int row,
int column)
Sorts the matrix slices into ascending order, according to the natural ordering of the matrix values in the given [row,column] position.
|
static DoubleMatrix3D |
Statistic.viewSample(DoubleMatrix3D matrix,
double sliceFraction,
double rowFraction,
double columnFraction,
RandomEngine randomGenerator)
Constructs and returns a sampling view with round(matrix.slices() * sliceFraction) slices and round(matrix.rows() * rowFraction) rows and round(matrix.columns() * columnFraction) columns.
|
Modifier and Type | Method and Description |
---|---|
DoubleMatrix3D |
Sorting.sort(DoubleMatrix3D matrix,
DoubleMatrix2DComparator c)
Sorts the matrix slices according to the order induced by the specified comparator.
|
DoubleMatrix3D |
Sorting.sort(DoubleMatrix3D matrix,
int row,
int column)
Sorts the matrix slices into ascending order, according to the natural ordering of the matrix values in the given [row,column] position.
|
static int |
Stencil.stencil27(DoubleMatrix3D A,
Double27Function function,
int maxIterations,
DoubleMatrix3DProcedure hasConverged,
int convergenceIterations)
27 point stencil operation.
|
String |
Formatter.toSourceCode(DoubleMatrix3D matrix)
Returns a string s such that Object[] m = s is a legal Java statement.
|
String |
Formatter.toString(DoubleMatrix3D matrix)
Returns a string representation of the given matrix.
|
static DoubleMatrix3D |
Statistic.viewSample(DoubleMatrix3D matrix,
double sliceFraction,
double rowFraction,
double columnFraction,
RandomEngine randomGenerator)
Constructs and returns a sampling view with round(matrix.slices() * sliceFraction) slices and round(matrix.rows() * rowFraction) rows and round(matrix.columns() * columnFraction) columns.
|
Modifier and Type | Class and Description |
---|---|
class |
DenseDoubleMatrix3D
Dense 3-d matrix holding double elements.
|
class |
SparseDoubleMatrix3D
Sparse hashed 3-d matrix holding double elements.
|
Modifier and Type | Method and Description |
---|---|
DoubleMatrix3D |
SparseDoubleMatrix3D.assign(double value)
Sets all cells to the state specified by value.
|
DoubleMatrix3D |
DenseDoubleMatrix3D.assign(double[][][] values)
Sets all cells to the state specified by values.
|
DoubleMatrix3D |
DenseDoubleMatrix3D.assign(DoubleMatrix3D source)
Replaces all cell values of the receiver with the values of another matrix.
|
DoubleMatrix3D |
DenseDoubleMatrix3D.like(int slices,
int rows,
int columns)
Construct and returns a new empty matrix of the same dynamic type as the receiver, having the specified number of slices, rows and columns.
|
DoubleMatrix3D |
SparseDoubleMatrix3D.like(int slices,
int rows,
int columns)
Construct and returns a new empty matrix of the same dynamic type as the receiver, having the specified number of slices, rows and columns.
|
protected DoubleMatrix3D |
DenseDoubleMatrix3D.viewSelectionLike(int[] sliceOffsets,
int[] rowOffsets,
int[] columnOffsets)
Construct and returns a new selection view.
|
protected DoubleMatrix3D |
SparseDoubleMatrix3D.viewSelectionLike(int[] sliceOffsets,
int[] rowOffsets,
int[] columnOffsets)
Construct and returns a new selection view.
|
Modifier and Type | Method and Description |
---|---|
DoubleMatrix3D |
DenseDoubleMatrix3D.assign(DoubleMatrix3D source)
Replaces all cell values of the receiver with the values of another matrix.
|
protected boolean |
DenseDoubleMatrix3D.haveSharedCellsRaw(DoubleMatrix3D other)
Returns true if both matrices share common cells.
|
protected boolean |
SparseDoubleMatrix3D.haveSharedCellsRaw(DoubleMatrix3D other)
Returns true if both matrices share at least one identical cell.
|
void |
DenseDoubleMatrix3D.zAssign27Neighbors(DoubleMatrix3D B,
Double27Function function)
27 neighbor stencil transformation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Property.equals(DoubleMatrix3D A,
double value)
Returns whether all cells of the given matrix A are equal to the given value.
|
boolean |
Property.equals(DoubleMatrix3D A,
DoubleMatrix3D B)
Returns whether both given matrices A and B are equal.
|
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.