Package | Description |
---|---|
cern.colt.matrix.tlong |
Matrix interfaces and factories holding elements of long data type.
|
cern.colt.matrix.tlong.algo |
Algorithms operating on long integer matrices.
|
cern.colt.matrix.tlong.impl |
Efficient and flexible dense and sparse 1, 2 and 3-dimensional matrices holding elements of long data type.
|
Modifier and Type | Method and Description |
---|---|
LongMatrix3D |
LongFactory3D.ascending(int slices,
int rows,
int columns)
Constructs a matrix with cells having ascending values.
|
LongMatrix3D |
LongMatrix3D.assign(int[] values)
Sets all cells to the state specified by values.
|
LongMatrix3D |
LongMatrix3D.assign(long value)
Sets all cells to the state specified by value.
|
LongMatrix3D |
LongMatrix3D.assign(long[] values)
Sets all cells to the state specified by values.
|
LongMatrix3D |
LongMatrix3D.assign(long[][][] values)
Sets all cells to the state specified by values.
|
LongMatrix3D |
LongMatrix3D.assign(LongFunction function)
Assigns the result of a function to each cell;
x[slice,row,col] = function(x[slice,row,col]).
|
LongMatrix3D |
LongMatrix3D.assign(LongMatrix3D other)
Replaces all cell values of the receiver with the values of another
matrix.
|
LongMatrix3D |
LongMatrix3D.assign(LongMatrix3D y,
LongLongFunction function)
Assigns the result of a function to each cell;
x[row,col] = function(x[row,col],y[row,col]).
|
LongMatrix3D |
LongMatrix3D.assign(LongMatrix3D y,
LongLongFunction function,
IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList)
Assigns the result of a function to all cells with a given indexes
|
LongMatrix3D |
LongMatrix3D.assign(LongProcedure cond,
long value)
Assigns a value to all cells that satisfy a condition.
|
LongMatrix3D |
LongMatrix3D.assign(LongProcedure cond,
LongFunction f)
Assigns the result of a function to all cells that satisfy a condition.
|
LongMatrix3D |
LongMatrix3D.copy()
Constructs and returns a deep copy of the receiver.
|
LongMatrix3D |
LongFactory3D.descending(int slices,
int rows,
int columns)
Constructs a matrix with cells having descending values.
|
LongMatrix3D |
LongMatrix3D.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 LongMatrix3D |
LongMatrix3D.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.
|
LongMatrix3D |
LongFactory3D.make(int slices,
int rows,
int columns)
Constructs a matrix with the given shape, each cell initialized with
zero.
|
LongMatrix3D |
LongFactory3D.make(int slices,
int rows,
int columns,
long initialValue)
Constructs a matrix with the given shape, each cell initialized with the
given value.
|
LongMatrix3D |
LongFactory3D.make(long[][][] values)
Constructs a matrix with the given cell values.
|
LongMatrix3D |
LongFactory3D.random(int slices,
int rows,
int columns)
Constructs a matrix with uniformly distributed values in (0,1)
(exclusive).
|
abstract LongMatrix3D |
LongMatrix1D.reshape(int slices,
int rows,
int columns)
Returns new LongMatrix3D of size slices x rows x columns, whose elements
are taken column-wise from this matrix.
|
LongMatrix3D |
LongMatrix3D.viewColumnFlip()
Constructs and returns a new flip view along the column axis.
|
LongMatrix3D |
LongMatrix3D.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.
|
LongMatrix3D |
LongMatrix3D.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.
|
LongMatrix3D |
LongMatrix3D.viewRowFlip()
Constructs and returns a new flip view along the row axis.
|
LongMatrix3D |
LongMatrix3D.viewSelection(int[] sliceIndexes,
int[] rowIndexes,
int[] columnIndexes)
Constructs and returns a new selection view that is a matrix
holding the indicated cells.
|
LongMatrix3D |
LongMatrix3D.viewSelection(LongMatrix2DProcedure condition)
Constructs and returns a new selection view that is a matrix
holding all slices matching the given condition.
|
LongMatrix3D |
LongMatrix3D.viewSliceFlip()
Constructs and returns a new flip view along the slice axis.
|
LongMatrix3D |
LongMatrix3D.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.
|
LongMatrix3D |
LongMatrix3D.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 |
---|---|
long |
LongMatrix3D.aggregate(LongMatrix3D other,
LongLongFunction aggr,
LongLongFunction f)
Applies a function to each corresponding cell of two matrices and
aggregates the results.
|
boolean |
LongMatrix3DProcedure.apply(LongMatrix3D element)
Applies a procedure to an argument.
|
LongMatrix3D |
LongMatrix3D.assign(LongMatrix3D other)
Replaces all cell values of the receiver with the values of another
matrix.
|
LongMatrix3D |
LongMatrix3D.assign(LongMatrix3D y,
LongLongFunction function)
Assigns the result of a function to each cell;
x[row,col] = function(x[row,col],y[row,col]).
|
LongMatrix3D |
LongMatrix3D.assign(LongMatrix3D y,
LongLongFunction function,
IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList)
Assigns the result of a function to all cells with a given indexes
|
Modifier and Type | Method and Description |
---|---|
LongMatrix3D |
LongSorting.sort(LongMatrix3D 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.
|
LongMatrix3D |
LongSorting.sort(LongMatrix3D matrix,
LongMatrix2DComparator c)
Sorts the matrix slices according to the order induced by the specified
comparator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LongProperty.equals(LongMatrix3D A,
long value)
Returns whether all cells of the given matrix A are equal to the
given value.
|
boolean |
LongProperty.equals(LongMatrix3D A,
LongMatrix3D B)
Returns whether both given matrices A and B are equal.
|
LongMatrix3D |
LongSorting.sort(LongMatrix3D 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.
|
LongMatrix3D |
LongSorting.sort(LongMatrix3D matrix,
LongMatrix2DComparator c)
Sorts the matrix slices according to the order induced by the specified
comparator.
|
String |
LongFormatter.toSourceCode(LongMatrix3D matrix)
Returns a string s such that Object[] m = s is a legal
Java statement.
|
String |
LongFormatter.toString(LongMatrix3D matrix)
Returns a string representation of the given matrix.
|
Modifier and Type | Class and Description |
---|---|
class |
DenseLargeLongMatrix3D
Dense 3-d matrix holding long elements.
|
class |
DenseLongMatrix3D
Dense 3-d matrix holding int elements.
|
class |
SparseLongMatrix3D
Sparse hashed 3-d matrix holding long elements.
|
class |
WrapperLongMatrix3D
3-d matrix holding long elements; either a view wrapping another
matrix or a matrix whose views are wrappers.
|
Modifier and Type | Method and Description |
---|---|
LongMatrix3D |
DenseLongMatrix3D.assign(int[] values) |
LongMatrix3D |
DenseLongMatrix3D.assign(long value) |
LongMatrix3D |
SparseLongMatrix3D.assign(long value) |
LongMatrix3D |
DenseLongMatrix3D.assign(long[] values) |
LongMatrix3D |
DenseLongMatrix3D.assign(long[][][] values) |
LongMatrix3D |
DenseLongMatrix3D.assign(LongFunction function) |
LongMatrix3D |
DenseLongMatrix3D.assign(LongMatrix3D source) |
LongMatrix3D |
DenseLongMatrix3D.assign(LongMatrix3D y,
LongLongFunction function) |
LongMatrix3D |
DenseLongMatrix3D.assign(LongMatrix3D y,
LongLongFunction function,
IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList) |
LongMatrix3D |
DenseLongMatrix3D.assign(LongProcedure cond,
long value) |
LongMatrix3D |
DenseLongMatrix3D.assign(LongProcedure cond,
LongFunction f) |
LongMatrix3D |
DenseLongMatrix3D.like(int slices,
int rows,
int columns) |
LongMatrix3D |
SparseLongMatrix3D.like(int slices,
int rows,
int columns) |
LongMatrix3D |
DenseLargeLongMatrix3D.like(int slices,
int rows,
int columns) |
LongMatrix3D |
WrapperLongMatrix3D.like(int slices,
int rows,
int columns) |
LongMatrix3D |
WrapperLongMatrix1D.reshape(int slices,
int rows,
int columns) |
LongMatrix3D |
SparseLongMatrix1D.reshape(int slices,
int rows,
int columns) |
LongMatrix3D |
DenseLongMatrix1D.reshape(int slices,
int rows,
int columns) |
LongMatrix3D |
WrapperLongMatrix3D.viewColumnFlip() |
LongMatrix3D |
WrapperLongMatrix3D.viewDice(int axis0,
int axis1,
int axis2) |
LongMatrix3D |
WrapperLongMatrix3D.viewPart(int slice,
int row,
int column,
int depth,
int height,
int width) |
LongMatrix3D |
WrapperLongMatrix3D.viewRowFlip() |
LongMatrix3D |
WrapperLongMatrix3D.viewSelection(int[] sliceIndexes,
int[] rowIndexes,
int[] columnIndexes) |
LongMatrix3D |
WrapperLongMatrix3D.viewSliceFlip() |
LongMatrix3D |
WrapperLongMatrix3D.viewStrides(int _sliceStride,
int _rowStride,
int _columnStride) |
Modifier and Type | Method and Description |
---|---|
long |
DenseLongMatrix3D.aggregate(LongMatrix3D other,
LongLongFunction aggr,
LongLongFunction f) |
LongMatrix3D |
DenseLongMatrix3D.assign(LongMatrix3D source) |
LongMatrix3D |
DenseLongMatrix3D.assign(LongMatrix3D y,
LongLongFunction function) |
LongMatrix3D |
DenseLongMatrix3D.assign(LongMatrix3D y,
LongLongFunction function,
IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList) |
Constructor and Description |
---|
WrapperLongMatrix3D(LongMatrix3D newContent) |
Jump to the Parallel Colt Homepage