Uses of Class
cern.colt.matrix.DoubleMatrix3D
-
Packages that use DoubleMatrix3D 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 ofcern.colt.matrix
, without subsetting or supersetting.cern.colt.matrix.linalg Linear Algebraic matrix computations operating onDoubleMatrix2D
andDoubleMatrix1D
. -
-
Uses of DoubleMatrix3D in cern.colt.matrix
Methods in cern.colt.matrix that return DoubleMatrix3D Modifier and Type Method 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(int[] sliceIndexes, int[] rowIndexes, int[] columnIndexes)
Constructs and returns a new selection view that is a matrix holding the indicated cells.DoubleMatrix3D
DoubleMatrix3D. viewSelection(DoubleMatrix2DProcedure condition)
Constructs and returns a new selection view that is a matrix holding all slices matching the given condition.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.Methods in cern.colt.matrix with parameters of type DoubleMatrix3D Modifier and Type Method 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.boolean
ObjectMatrix3DProcedure. 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. -
Uses of DoubleMatrix3D in cern.colt.matrix.doublealgo
Methods in cern.colt.matrix.doublealgo that return DoubleMatrix3D Modifier and Type Method Description 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.DoubleMatrix3D
Sorting. sort(DoubleMatrix3D matrix, DoubleMatrix2DComparator c)
Sorts the matrix slices according to the order induced by the specified comparator.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.Methods in cern.colt.matrix.doublealgo with parameters of type DoubleMatrix3D Modifier and Type Method Description 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.DoubleMatrix3D
Sorting. sort(DoubleMatrix3D matrix, DoubleMatrix2DComparator c)
Sorts the matrix slices according to the order induced by the specified comparator.static int
Stencil. stencil27(DoubleMatrix3D A, Double27Function function, int maxIterations, DoubleMatrix3DProcedure hasConverged, int convergenceIterations)
27 point stencil operation.java.lang.String
Formatter. toSourceCode(DoubleMatrix3D matrix)
Returns a string s such that Object[] m = s is a legal Java statement.java.lang.String
Formatter. toString(DoubleMatrix3D matrix)
Returns a string representation of the given matrix.java.lang.String
Formatter. toTitleString(DoubleMatrix3D matrix, java.lang.String[] sliceNames, java.lang.String[] rowNames, java.lang.String[] columnNames, java.lang.String sliceAxisName, java.lang.String rowAxisName, java.lang.String columnAxisName, java.lang.String title, BinFunction1D[] aggr)
Returns a string representation of the given matrix with axis as well as rows and columns labeled.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.private java.lang.String
Formatter. xtoTitleString(DoubleMatrix3D matrix, java.lang.String[] sliceNames, java.lang.String[] rowNames, java.lang.String[] columnNames, java.lang.String sliceAxisName, java.lang.String rowAxisName, java.lang.String columnAxisName, java.lang.String title)
Returns a string representation of the given matrix with axis as well as rows and columns labeled. -
Uses of DoubleMatrix3D in cern.colt.matrix.impl
Subclasses of DoubleMatrix3D in cern.colt.matrix.impl Modifier and Type Class Description class
DenseDoubleMatrix3D
Dense 3-d matrix holding double elements.(package private) class
SelectedDenseDoubleMatrix3D
Selection view on dense 3-d matrices holding double elements.(package private) class
SelectedSparseDoubleMatrix3D
Selection view on sparse 3-d matrices holding double elements.class
SparseDoubleMatrix3D
Sparse hashed 3-d matrix holding double elements.Methods in cern.colt.matrix.impl that return DoubleMatrix3D Modifier and Type Method Description 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
SparseDoubleMatrix3D. assign(double value)
Sets all cells to the state specified by value.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
SelectedDenseDoubleMatrix3D. 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
SelectedSparseDoubleMatrix3D. 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
SelectedDenseDoubleMatrix3D. viewSelectionLike(int[] sliceOffsets, int[] rowOffsets, int[] columnOffsets)
Construct and returns a new selection view.protected DoubleMatrix3D
SelectedSparseDoubleMatrix3D. 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.Methods in cern.colt.matrix.impl with parameters of type DoubleMatrix3D Modifier and Type Method 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
SelectedDenseDoubleMatrix3D. haveSharedCellsRaw(DoubleMatrix3D other)
Returns true if both matrices share common cells.protected boolean
SelectedSparseDoubleMatrix3D. 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. -
Uses of DoubleMatrix3D in cern.colt.matrix.linalg
Methods in cern.colt.matrix.linalg with parameters of type DoubleMatrix3D Modifier and Type Method 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.
-