Uses of Class
cern.colt.matrix.ObjectMatrix3D
-
Packages that use ObjectMatrix3D 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.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.objectalgo Object matrix algorithms such as print formatting, sorting, partitioning and statistics. -
-
Uses of ObjectMatrix3D in cern.colt.matrix
Methods in cern.colt.matrix that return ObjectMatrix3D Modifier and Type Method Description ObjectMatrix3D
ObjectMatrix3D. assign(ObjectFunction function)
Assigns the result of a function to each cell; x[slice,row,col] = function(x[slice,row,col]).ObjectMatrix3D
ObjectMatrix3D. assign(ObjectMatrix3D other)
Replaces all cell values of the receiver with the values of another matrix.ObjectMatrix3D
ObjectMatrix3D. assign(ObjectMatrix3D y, ObjectObjectFunction function)
Assigns the result of a function to each cell; x[row,col] = function(x[row,col],y[row,col]).ObjectMatrix3D
ObjectMatrix3D. assign(java.lang.Object value)
Sets all cells to the state specified by value.ObjectMatrix3D
ObjectMatrix3D. assign(java.lang.Object[][][] values)
Sets all cells to the state specified by values.ObjectMatrix3D
ObjectMatrix3D. copy()
Constructs and returns a deep copy of the receiver.protected ObjectMatrix3D
ObjectMatrix3D. getContent()
Returns the content of this matrix if it is a wrapper; or this otherwise.ObjectMatrix3D
ObjectMatrix3D. 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 ObjectMatrix3D
ObjectMatrix3D. 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.ObjectMatrix3D
ObjectFactory3D. make(int slices, int rows, int columns)
Constructs a matrix with the given shape, each cell initialized with zero.ObjectMatrix3D
ObjectFactory3D. make(int slices, int rows, int columns, java.lang.Object initialValue)
Constructs a matrix with the given shape, each cell initialized with the given value.ObjectMatrix3D
ObjectFactory3D. make(java.lang.Object[][][] values)
Constructs a matrix with the given cell values.protected ObjectMatrix3D
ObjectMatrix3D. view()
Constructs and returns a new view equal to the receiver.ObjectMatrix3D
ObjectMatrix3D. viewColumnFlip()
Constructs and returns a new flip view along the column axis.ObjectMatrix3D
ObjectMatrix3D. 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.ObjectMatrix3D
ObjectMatrix3D. 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.ObjectMatrix3D
ObjectMatrix3D. viewRowFlip()
Constructs and returns a new flip view along the row axis.ObjectMatrix3D
ObjectMatrix3D. viewSelection(int[] sliceIndexes, int[] rowIndexes, int[] columnIndexes)
Constructs and returns a new selection view that is a matrix holding the indicated cells.ObjectMatrix3D
ObjectMatrix3D. viewSelection(ObjectMatrix2DProcedure condition)
Constructs and returns a new selection view that is a matrix holding all slices matching the given condition.protected abstract ObjectMatrix3D
ObjectMatrix3D. viewSelectionLike(int[] sliceOffsets, int[] rowOffsets, int[] columnOffsets)
Construct and returns a new selection view.ObjectMatrix3D
ObjectMatrix3D. viewSliceFlip()
Constructs and returns a new flip view along the slice axis.ObjectMatrix3D
ObjectMatrix3D. 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.ObjectMatrix3D
ObjectMatrix3D. 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 ObjectMatrix3D Modifier and Type Method Description java.lang.Object
ObjectMatrix3D. aggregate(ObjectMatrix3D other, ObjectObjectFunction aggr, ObjectObjectFunction f)
Applies a function to each corresponding cell of two matrices and aggregates the results.boolean
ObjectMatrix3DProcedure. apply(ObjectMatrix3D element)
Applies a procedure to an argument.ObjectMatrix3D
ObjectMatrix3D. assign(ObjectMatrix3D other)
Replaces all cell values of the receiver with the values of another matrix.ObjectMatrix3D
ObjectMatrix3D. assign(ObjectMatrix3D y, ObjectObjectFunction function)
Assigns the result of a function to each cell; x[row,col] = function(x[row,col],y[row,col]).protected boolean
ObjectMatrix3D. haveSharedCells(ObjectMatrix3D other)
Returns true if both matrices share at least one identical cell.protected boolean
ObjectMatrix3D. haveSharedCellsRaw(ObjectMatrix3D other)
Returns true if both matrices share at least one identical cell. -
Uses of ObjectMatrix3D in cern.colt.matrix.impl
Subclasses of ObjectMatrix3D in cern.colt.matrix.impl Modifier and Type Class Description class
DenseObjectMatrix3D
Dense 3-d matrix holding Object elements.(package private) class
SelectedDenseObjectMatrix3D
Selection view on dense 3-d matrices holding Object elements.(package private) class
SelectedSparseObjectMatrix3D
Selection view on sparse 3-d matrices holding Object elements.class
SparseObjectMatrix3D
Sparse hashed 3-d matrix holding Object elements.Methods in cern.colt.matrix.impl that return ObjectMatrix3D Modifier and Type Method Description ObjectMatrix3D
DenseObjectMatrix3D. assign(ObjectMatrix3D source)
Replaces all cell values of the receiver with the values of another matrix.ObjectMatrix3D
DenseObjectMatrix3D. assign(java.lang.Object[][][] values)
Sets all cells to the state specified by values.ObjectMatrix3D
DenseObjectMatrix3D. 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.ObjectMatrix3D
SelectedDenseObjectMatrix3D. 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.ObjectMatrix3D
SelectedSparseObjectMatrix3D. 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.ObjectMatrix3D
SparseObjectMatrix3D. 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 ObjectMatrix3D
DenseObjectMatrix3D. viewSelectionLike(int[] sliceOffsets, int[] rowOffsets, int[] columnOffsets)
Construct and returns a new selection view.protected ObjectMatrix3D
SelectedDenseObjectMatrix3D. viewSelectionLike(int[] sliceOffsets, int[] rowOffsets, int[] columnOffsets)
Construct and returns a new selection view.protected ObjectMatrix3D
SelectedSparseObjectMatrix3D. viewSelectionLike(int[] sliceOffsets, int[] rowOffsets, int[] columnOffsets)
Construct and returns a new selection view.protected ObjectMatrix3D
SparseObjectMatrix3D. viewSelectionLike(int[] sliceOffsets, int[] rowOffsets, int[] columnOffsets)
Construct and returns a new selection view.Methods in cern.colt.matrix.impl with parameters of type ObjectMatrix3D Modifier and Type Method Description ObjectMatrix3D
DenseObjectMatrix3D. assign(ObjectMatrix3D source)
Replaces all cell values of the receiver with the values of another matrix.protected boolean
DenseObjectMatrix3D. haveSharedCellsRaw(ObjectMatrix3D other)
Returns true if both matrices share common cells.protected boolean
SelectedDenseObjectMatrix3D. haveSharedCellsRaw(ObjectMatrix3D other)
Returns true if both matrices share common cells.protected boolean
SelectedSparseObjectMatrix3D. haveSharedCellsRaw(ObjectMatrix3D other)
Returns true if both matrices share common cells.protected boolean
SparseObjectMatrix3D. haveSharedCellsRaw(ObjectMatrix3D other)
Returns true if both matrices share at least one identical cell. -
Uses of ObjectMatrix3D in cern.colt.matrix.objectalgo
Methods in cern.colt.matrix.objectalgo that return ObjectMatrix3D Modifier and Type Method Description ObjectMatrix3D
Sorting. sort(ObjectMatrix3D 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.ObjectMatrix3D
Sorting. sort(ObjectMatrix3D matrix, ObjectMatrix2DComparator c)
Sorts the matrix slices according to the order induced by the specified comparator.Methods in cern.colt.matrix.objectalgo with parameters of type ObjectMatrix3D Modifier and Type Method Description ObjectMatrix3D
Sorting. sort(ObjectMatrix3D 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.ObjectMatrix3D
Sorting. sort(ObjectMatrix3D matrix, ObjectMatrix2DComparator c)
Sorts the matrix slices according to the order induced by the specified comparator.java.lang.String
Formatter. toSourceCode(ObjectMatrix3D matrix)
Returns a string s such that Object[] m = s is a legal Java statement.java.lang.String
Formatter. toString(ObjectMatrix3D matrix)
Returns a string representation of the given matrix.java.lang.String
Formatter. toTitleString(ObjectMatrix3D 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.
-