Package | Description |
---|---|
cern.colt.matrix.tdcomplex |
Matrix interfaces and factories holding elements of dcomplex data type.
|
cern.colt.matrix.tdcomplex.impl |
Efficient and flexible dense and sparse 1, 2 and 3-dimensional matrices holding elements of dcomplex data type.
|
cern.colt.matrix.tdouble |
Matrix interfaces and factories holding elements of double data type.
|
cern.colt.matrix.tdouble.algo |
Linear Algebraic matrix computations operating on
DoubleMatrix2D
and DoubleMatrix1D . |
cern.colt.matrix.tdouble.impl |
Efficient and flexible dense and sparse 1, 2 and 3-dimensional matrices holding elements of double data type.
|
cern.colt.matrix.tobject |
Matrix interfaces and factories holding elements of Object data type.
|
Modifier and Type | Method and Description |
---|---|
abstract DoubleMatrix3D |
DComplexMatrix3D.getImaginaryPart()
Returns the imaginary part of this matrix
|
abstract DoubleMatrix3D |
DComplexMatrix3D.getRealPart()
Returns the real part of this matrix
|
Modifier and Type | Method and Description |
---|---|
DComplexMatrix3D |
DComplexMatrix3D.assignImaginary(DoubleMatrix3D other)
Replaces imaginary part of the receiver with the values of another real
matrix.
|
DComplexMatrix3D |
DComplexMatrix3D.assignReal(DoubleMatrix3D other)
Replaces real part of the receiver with the values of another real
matrix.
|
Modifier and Type | Method and Description |
---|---|
DoubleMatrix3D |
DenseDComplexMatrix3D.getImaginaryPart() |
DoubleMatrix3D |
WrapperDComplexMatrix3D.getImaginaryPart() |
DoubleMatrix3D |
SparseDComplexMatrix3D.getImaginaryPart() |
DoubleMatrix3D |
DenseDComplexMatrix3D.getRealPart() |
DoubleMatrix3D |
WrapperDComplexMatrix3D.getRealPart() |
DoubleMatrix3D |
SparseDComplexMatrix3D.getRealPart() |
Modifier and Type | Method and Description |
---|---|
DComplexMatrix3D |
DenseDComplexMatrix3D.assignImaginary(DoubleMatrix3D other) |
DComplexMatrix3D |
DenseDComplexMatrix3D.assignReal(DoubleMatrix3D other) |
Constructor and Description |
---|
DenseDComplexMatrix3D(DoubleMatrix3D 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 |
---|---|
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(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.assign(DoubleMatrix3D y,
DoubleDoubleFunction function,
IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList)
Assigns the result of a function to all cells with a given indexes
|
DoubleMatrix3D |
DoubleMatrix3D.assign(DoubleProcedure cond,
double value)
Assigns a value to all cells that satisfy a condition.
|
DoubleMatrix3D |
DoubleMatrix3D.assign(DoubleProcedure cond,
DoubleFunction f)
Assigns the result of a function to all cells that satisfy a condition.
|
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.
|
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).
|
abstract DoubleMatrix3D |
DoubleMatrix1D.reshape(int slices,
int rows,
int columns)
Returns new DoubleMatrix3D of size slices x rows x columns, whose
elements are taken column-wise from this matrix.
|
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.
|
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 |
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]).
|
DoubleMatrix3D |
DoubleMatrix3D.assign(DoubleMatrix3D y,
DoubleDoubleFunction function,
IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList)
Assigns the result of a function to all cells with a given indexes
|
void |
DoubleMatrix3D.zAssign27Neighbors(DoubleMatrix3D B,
Double27Function function)
27 neighbor stencil transformation.
|
Modifier and Type | Method and Description |
---|---|
DoubleMatrix3D |
DoubleSorting.sort(DoubleMatrix3D matrix,
DoubleMatrix2DComparator c)
Sorts the matrix slices according to the order induced by the specified
comparator.
|
DoubleMatrix3D |
DoubleSorting.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 |
DoubleStatistic.viewSample(DoubleMatrix3D matrix,
double sliceFraction,
double rowFraction,
double columnFraction,
DoubleRandomEngine 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 |
DoubleProperty.equals(DoubleMatrix3D A,
double value)
Returns whether all cells of the given matrix A are equal to the
given value.
|
boolean |
DoubleProperty.equals(DoubleMatrix3D A,
DoubleMatrix3D B)
Returns whether both given matrices A and B are equal.
|
DoubleMatrix3D |
DoubleSorting.sort(DoubleMatrix3D matrix,
DoubleMatrix2DComparator c)
Sorts the matrix slices according to the order induced by the specified
comparator.
|
DoubleMatrix3D |
DoubleSorting.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 |
DoubleStencil.stencil27(DoubleMatrix3D A,
Double27Function function,
int maxIterations,
DoubleMatrix3DProcedure hasConverged,
int convergenceIterations)
27 point stencil operation.
|
String |
DoubleFormatter.toSourceCode(DoubleMatrix3D matrix)
Returns a string s such that Object[] m = s is a legal
Java statement.
|
String |
DoubleFormatter.toString(DoubleMatrix3D matrix)
Returns a string representation of the given matrix.
|
String |
DoubleFormatter.toTitleString(DoubleMatrix3D matrix,
String[] sliceNames,
String[] rowNames,
String[] columnNames,
String sliceAxisName,
String rowAxisName,
String columnAxisName,
String title,
DoubleBinFunction1D[] aggr)
Returns a string representation of the given matrix with axis as well as
rows and columns labeled.
|
double |
DenseDoubleAlgebra.vectorNorm2(DoubleMatrix3D X)
Returns the two-norm (aka euclidean norm) of vector
X.vectorize();
|
static DoubleMatrix3D |
DoubleStatistic.viewSample(DoubleMatrix3D matrix,
double sliceFraction,
double rowFraction,
double columnFraction,
DoubleRandomEngine 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 |
DenseLargeDoubleMatrix3D
Dense 3-d matrix holding double elements.
|
class |
SparseDoubleMatrix3D
Sparse hashed 3-d matrix holding double elements.
|
class |
WrapperDoubleMatrix3D
3-d matrix holding double elements; either a view wrapping another
matrix or a matrix whose views are wrappers.
|
Modifier and Type | Method and Description |
---|---|
DoubleMatrix3D |
SparseDoubleMatrix3D.assign(double value) |
DoubleMatrix3D |
DenseDoubleMatrix3D.assign(double value) |
DoubleMatrix3D |
DenseDoubleMatrix3D.assign(double[] values) |
DoubleMatrix3D |
DenseDoubleMatrix3D.assign(double[][][] values) |
DoubleMatrix3D |
DenseDoubleMatrix3D.assign(DoubleFunction function) |
DoubleMatrix3D |
DenseDoubleMatrix3D.assign(DoubleMatrix3D source) |
DoubleMatrix3D |
DenseDoubleMatrix3D.assign(DoubleMatrix3D y,
DoubleDoubleFunction function) |
DoubleMatrix3D |
DenseDoubleMatrix3D.assign(DoubleMatrix3D y,
DoubleDoubleFunction function,
IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList) |
DoubleMatrix3D |
DenseDoubleMatrix3D.assign(DoubleProcedure cond,
double value) |
DoubleMatrix3D |
DenseDoubleMatrix3D.assign(DoubleProcedure cond,
DoubleFunction f) |
DoubleMatrix3D |
DenseLargeDoubleMatrix3D.like(int slices,
int rows,
int columns) |
DoubleMatrix3D |
SparseDoubleMatrix3D.like(int slices,
int rows,
int columns) |
DoubleMatrix3D |
DenseDoubleMatrix3D.like(int slices,
int rows,
int columns) |
DoubleMatrix3D |
WrapperDoubleMatrix3D.like(int slices,
int rows,
int columns) |
DoubleMatrix3D |
WrapperDoubleMatrix1D.reshape(int slices,
int rows,
int columns) |
DoubleMatrix3D |
SparseDoubleMatrix1D.reshape(int slices,
int rows,
int columns) |
DoubleMatrix3D |
DenseDoubleMatrix1D.reshape(int slices,
int rows,
int columns) |
DoubleMatrix3D |
WrapperDoubleMatrix3D.viewColumnFlip() |
DoubleMatrix3D |
WrapperDoubleMatrix3D.viewDice(int axis0,
int axis1,
int axis2) |
DoubleMatrix3D |
WrapperDoubleMatrix3D.viewPart(int slice,
int row,
int column,
int depth,
int height,
int width) |
DoubleMatrix3D |
WrapperDoubleMatrix3D.viewRowFlip() |
DoubleMatrix3D |
WrapperDoubleMatrix3D.viewSelection(int[] sliceIndexes,
int[] rowIndexes,
int[] columnIndexes) |
DoubleMatrix3D |
WrapperDoubleMatrix3D.viewSliceFlip() |
DoubleMatrix3D |
WrapperDoubleMatrix3D.viewStrides(int _sliceStride,
int _rowStride,
int _columnStride) |
Modifier and Type | Method and Description |
---|---|
double |
DenseDoubleMatrix3D.aggregate(DoubleMatrix3D other,
DoubleDoubleFunction aggr,
DoubleDoubleFunction f) |
DoubleMatrix3D |
DenseDoubleMatrix3D.assign(DoubleMatrix3D source) |
DoubleMatrix3D |
DenseDoubleMatrix3D.assign(DoubleMatrix3D y,
DoubleDoubleFunction function) |
DoubleMatrix3D |
DenseDoubleMatrix3D.assign(DoubleMatrix3D y,
DoubleDoubleFunction function,
IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList) |
void |
DenseDoubleMatrix3D.zAssign27Neighbors(DoubleMatrix3D B,
Double27Function function) |
Constructor and Description |
---|
WrapperDoubleMatrix3D(DoubleMatrix3D newContent) |
Modifier and Type | Method and Description |
---|---|
boolean |
ObjectMatrix3DProcedure.apply(DoubleMatrix3D element)
Applies a procedure to an argument.
|
Jump to the Parallel Colt Homepage