Package | Description |
---|---|
cern.colt.matrix.tfcomplex |
Matrix interfaces and factories holding elements of fcomplex data type.
|
cern.colt.matrix.tfcomplex.impl |
Efficient and flexible dense and sparse 1, 2 and 3-dimensional matrices holding elements of fcomplex data type.
|
cern.colt.matrix.tfloat |
Matrix interfaces and factories holding elements of float data type.
|
cern.colt.matrix.tfloat.algo |
Linear Algebraic matrix computations operating on
FloatMatrix2D
and FloatMatrix1D . |
cern.colt.matrix.tfloat.impl |
Efficient and flexible dense and sparse 1, 2 and 3-dimensional matrices holding elements of float data type.
|
Modifier and Type | Method and Description |
---|---|
abstract FloatMatrix3D |
FComplexMatrix3D.getImaginaryPart()
Returns the imaginary part of this matrix
|
abstract FloatMatrix3D |
FComplexMatrix3D.getRealPart()
Returns the real part of this matrix
|
Modifier and Type | Method and Description |
---|---|
FComplexMatrix3D |
FComplexMatrix3D.assignImaginary(FloatMatrix3D other)
Replaces imaginary part of the receiver with the values of another real
matrix.
|
FComplexMatrix3D |
FComplexMatrix3D.assignReal(FloatMatrix3D other)
Replaces real part of the receiver with the values of another real
matrix.
|
Modifier and Type | Method and Description |
---|---|
FloatMatrix3D |
SparseFComplexMatrix3D.getImaginaryPart() |
FloatMatrix3D |
WrapperFComplexMatrix3D.getImaginaryPart() |
FloatMatrix3D |
DenseFComplexMatrix3D.getImaginaryPart() |
FloatMatrix3D |
SparseFComplexMatrix3D.getRealPart() |
FloatMatrix3D |
WrapperFComplexMatrix3D.getRealPart() |
FloatMatrix3D |
DenseFComplexMatrix3D.getRealPart() |
Modifier and Type | Method and Description |
---|---|
FComplexMatrix3D |
DenseFComplexMatrix3D.assignImaginary(FloatMatrix3D other) |
FComplexMatrix3D |
DenseFComplexMatrix3D.assignReal(FloatMatrix3D other) |
Constructor and Description |
---|
DenseFComplexMatrix3D(FloatMatrix3D realPart)
Constructs a matrix with the same size as realPart matrix and
fills the real part of this matrix with elements of realPart.
|
Modifier and Type | Method and Description |
---|---|
FloatMatrix3D |
FloatFactory3D.ascending(int slices,
int rows,
int columns)
Constructs a matrix with cells having ascending values.
|
FloatMatrix3D |
FloatMatrix3D.assign(float value)
Sets all cells to the state specified by value.
|
FloatMatrix3D |
FloatMatrix3D.assign(float[] values)
Sets all cells to the state specified by values.
|
FloatMatrix3D |
FloatMatrix3D.assign(float[][][] values)
Sets all cells to the state specified by values.
|
FloatMatrix3D |
FloatMatrix3D.assign(FloatFunction function)
Assigns the result of a function to each cell;
x[slice,row,col] = function(x[slice,row,col]).
|
FloatMatrix3D |
FloatMatrix3D.assign(FloatMatrix3D other)
Replaces all cell values of the receiver with the values of another
matrix.
|
FloatMatrix3D |
FloatMatrix3D.assign(FloatMatrix3D y,
FloatFloatFunction function)
Assigns the result of a function to each cell;
x[row,col] = function(x[row,col],y[row,col]).
|
FloatMatrix3D |
FloatMatrix3D.assign(FloatMatrix3D y,
FloatFloatFunction function,
IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList)
Assigns the result of a function to all cells with a given indexes
|
FloatMatrix3D |
FloatMatrix3D.assign(FloatProcedure cond,
float value)
Assigns a value to all cells that satisfy a condition.
|
FloatMatrix3D |
FloatMatrix3D.assign(FloatProcedure cond,
FloatFunction f)
Assigns the result of a function to all cells that satisfy a condition.
|
FloatMatrix3D |
FloatMatrix3D.copy()
Constructs and returns a deep copy of the receiver.
|
FloatMatrix3D |
FloatFactory3D.descending(int slices,
int rows,
int columns)
Constructs a matrix with cells having descending values.
|
FloatMatrix3D |
FloatMatrix3D.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 FloatMatrix3D |
FloatMatrix3D.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.
|
FloatMatrix3D |
FloatFactory3D.make(float[][][] values)
Constructs a matrix with the given cell values.
|
FloatMatrix3D |
FloatFactory3D.make(int slices,
int rows,
int columns)
Constructs a matrix with the given shape, each cell initialized with
zero.
|
FloatMatrix3D |
FloatFactory3D.make(int slices,
int rows,
int columns,
float initialValue)
Constructs a matrix with the given shape, each cell initialized with the
given value.
|
FloatMatrix3D |
FloatFactory3D.random(int slices,
int rows,
int columns)
Constructs a matrix with uniformly distributed values in (0,1)
(exclusive).
|
abstract FloatMatrix3D |
FloatMatrix1D.reshape(int slices,
int rows,
int columns)
Returns new FloatMatrix3D of size slices x rows x columns, whose elements
are taken column-wise from this matrix.
|
FloatMatrix3D |
FloatMatrix3D.viewColumnFlip()
Constructs and returns a new flip view along the column axis.
|
FloatMatrix3D |
FloatMatrix3D.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.
|
FloatMatrix3D |
FloatMatrix3D.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.
|
FloatMatrix3D |
FloatMatrix3D.viewRowFlip()
Constructs and returns a new flip view along the row axis.
|
FloatMatrix3D |
FloatMatrix3D.viewSelection(FloatMatrix2DProcedure condition)
Constructs and returns a new selection view that is a matrix
holding all slices matching the given condition.
|
FloatMatrix3D |
FloatMatrix3D.viewSelection(int[] sliceIndexes,
int[] rowIndexes,
int[] columnIndexes)
Constructs and returns a new selection view that is a matrix
holding the indicated cells.
|
FloatMatrix3D |
FloatMatrix3D.viewSliceFlip()
Constructs and returns a new flip view along the slice axis.
|
FloatMatrix3D |
FloatMatrix3D.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.
|
FloatMatrix3D |
FloatMatrix3D.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 |
---|---|
float |
FloatMatrix3D.aggregate(FloatMatrix3D other,
FloatFloatFunction aggr,
FloatFloatFunction f)
Applies a function to each corresponding cell of two matrices and
aggregates the results.
|
boolean |
FloatMatrix3DProcedure.apply(FloatMatrix3D element)
Applies a procedure to an argument.
|
FloatMatrix3D |
FloatMatrix3D.assign(FloatMatrix3D other)
Replaces all cell values of the receiver with the values of another
matrix.
|
FloatMatrix3D |
FloatMatrix3D.assign(FloatMatrix3D y,
FloatFloatFunction function)
Assigns the result of a function to each cell;
x[row,col] = function(x[row,col],y[row,col]).
|
FloatMatrix3D |
FloatMatrix3D.assign(FloatMatrix3D y,
FloatFloatFunction function,
IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList)
Assigns the result of a function to all cells with a given indexes
|
void |
FloatMatrix3D.zAssign27Neighbors(FloatMatrix3D B,
Float27Function function)
27 neighbor stencil transformation.
|
Modifier and Type | Method and Description |
---|---|
FloatMatrix3D |
FloatSorting.sort(FloatMatrix3D matrix,
FloatMatrix2DComparator c)
Sorts the matrix slices according to the order induced by the specified
comparator.
|
FloatMatrix3D |
FloatSorting.sort(FloatMatrix3D 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 FloatMatrix3D |
FloatStatistic.viewSample(FloatMatrix3D matrix,
float sliceFraction,
float rowFraction,
float columnFraction,
FloatRandomEngine 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 |
---|---|
boolean |
FloatProperty.equals(FloatMatrix3D A,
float value)
Returns whether all cells of the given matrix A are equal to the
given value.
|
boolean |
FloatProperty.equals(FloatMatrix3D A,
FloatMatrix3D B)
Returns whether both given matrices A and B are equal.
|
FloatMatrix3D |
FloatSorting.sort(FloatMatrix3D matrix,
FloatMatrix2DComparator c)
Sorts the matrix slices according to the order induced by the specified
comparator.
|
FloatMatrix3D |
FloatSorting.sort(FloatMatrix3D 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 |
FloatStencil.stencil27(FloatMatrix3D A,
Float27Function function,
int maxIterations,
FloatMatrix3DProcedure hasConverged,
int convergenceIterations)
27 point stencil operation.
|
String |
FloatFormatter.toSourceCode(FloatMatrix3D matrix)
Returns a string s such that Object[] m = s is a legal
Java statement.
|
String |
FloatFormatter.toString(FloatMatrix3D matrix)
Returns a string representation of the given matrix.
|
String |
FloatFormatter.toTitleString(FloatMatrix3D matrix,
String[] sliceNames,
String[] rowNames,
String[] columnNames,
String sliceAxisName,
String rowAxisName,
String columnAxisName,
String title,
FloatBinFunction1D[] aggr)
Returns a string representation of the given matrix with axis as well as
rows and columns labeled.
|
float |
DenseFloatAlgebra.vectorNorm2(FloatMatrix3D X)
Returns the two-norm (aka euclidean norm) of vector
X.vectorize();
|
static FloatMatrix3D |
FloatStatistic.viewSample(FloatMatrix3D matrix,
float sliceFraction,
float rowFraction,
float columnFraction,
FloatRandomEngine 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 |
DenseFloatMatrix3D
Dense 3-d matrix holding float elements.
|
class |
DenseLargeFloatMatrix3D
Dense 3-d matrix holding float elements.
|
class |
SparseFloatMatrix3D
Sparse hashed 3-d matrix holding float elements.
|
class |
WrapperFloatMatrix3D
3-d matrix holding float elements; either a view wrapping another
matrix or a matrix whose views are wrappers.
|
Modifier and Type | Method and Description |
---|---|
FloatMatrix3D |
SparseFloatMatrix3D.assign(float value) |
FloatMatrix3D |
DenseFloatMatrix3D.assign(float value) |
FloatMatrix3D |
DenseFloatMatrix3D.assign(float[] values) |
FloatMatrix3D |
DenseFloatMatrix3D.assign(float[][][] values) |
FloatMatrix3D |
DenseFloatMatrix3D.assign(FloatFunction function) |
FloatMatrix3D |
DenseFloatMatrix3D.assign(FloatMatrix3D source) |
FloatMatrix3D |
DenseFloatMatrix3D.assign(FloatMatrix3D y,
FloatFloatFunction function) |
FloatMatrix3D |
DenseFloatMatrix3D.assign(FloatMatrix3D y,
FloatFloatFunction function,
IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList) |
FloatMatrix3D |
DenseFloatMatrix3D.assign(FloatProcedure cond,
float value) |
FloatMatrix3D |
DenseFloatMatrix3D.assign(FloatProcedure cond,
FloatFunction f) |
FloatMatrix3D |
SparseFloatMatrix3D.like(int slices,
int rows,
int columns) |
FloatMatrix3D |
DenseLargeFloatMatrix3D.like(int slices,
int rows,
int columns) |
FloatMatrix3D |
WrapperFloatMatrix3D.like(int slices,
int rows,
int columns) |
FloatMatrix3D |
DenseFloatMatrix3D.like(int slices,
int rows,
int columns) |
FloatMatrix3D |
WrapperFloatMatrix1D.reshape(int slices,
int rows,
int columns) |
FloatMatrix3D |
SparseFloatMatrix1D.reshape(int slices,
int rows,
int columns) |
FloatMatrix3D |
DenseFloatMatrix1D.reshape(int slices,
int rows,
int columns) |
FloatMatrix3D |
WrapperFloatMatrix3D.viewColumnFlip() |
FloatMatrix3D |
WrapperFloatMatrix3D.viewDice(int axis0,
int axis1,
int axis2) |
FloatMatrix3D |
WrapperFloatMatrix3D.viewPart(int slice,
int row,
int column,
int depth,
int height,
int width) |
FloatMatrix3D |
WrapperFloatMatrix3D.viewRowFlip() |
FloatMatrix3D |
WrapperFloatMatrix3D.viewSelection(int[] sliceIndexes,
int[] rowIndexes,
int[] columnIndexes) |
FloatMatrix3D |
WrapperFloatMatrix3D.viewSliceFlip() |
FloatMatrix3D |
WrapperFloatMatrix3D.viewStrides(int _sliceStride,
int _rowStride,
int _columnStride) |
Modifier and Type | Method and Description |
---|---|
float |
DenseFloatMatrix3D.aggregate(FloatMatrix3D other,
FloatFloatFunction aggr,
FloatFloatFunction f) |
FloatMatrix3D |
DenseFloatMatrix3D.assign(FloatMatrix3D source) |
FloatMatrix3D |
DenseFloatMatrix3D.assign(FloatMatrix3D y,
FloatFloatFunction function) |
FloatMatrix3D |
DenseFloatMatrix3D.assign(FloatMatrix3D y,
FloatFloatFunction function,
IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList) |
void |
DenseFloatMatrix3D.zAssign27Neighbors(FloatMatrix3D B,
Float27Function function) |
Constructor and Description |
---|
WrapperFloatMatrix3D(FloatMatrix3D newContent) |
Jump to the Parallel Colt Homepage