Uses of Class
cern.colt.matrix.ObjectMatrix3D
Packages that use ObjectMatrix3D
Package
Description
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.
Matrix implementations; You normally need not look at this package, because all concrete classes implement the abstract interfaces of
cern.colt.matrix
, without subsetting or supersetting.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 ObjectMatrix3DModifier and TypeMethodDescriptionObjectMatrix3D.assign
(ObjectFunction function) Assigns the result of a function to each cell; x[slice,row,col] = function(x[slice,row,col]).ObjectMatrix3D.assign
(ObjectMatrix3D other) Replaces all cell values of the receiver with the values of another matrix.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]).Sets all cells to the state specified by value.Sets all cells to the state specified by values.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.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.ObjectFactory3D.make
(int slices, int rows, int columns) Constructs a matrix with the given shape, each cell initialized with zero.Constructs a matrix with the given shape, each cell initialized with the given value.Constructs a matrix with the given cell values.protected ObjectMatrix3D
ObjectMatrix3D.view()
Constructs and returns a new view equal to the receiver.ObjectMatrix3D.viewColumnFlip()
Constructs and returns a new flip view along the column axis.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.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.viewRowFlip()
Constructs and returns a new flip view along the row axis.ObjectMatrix3D.viewSelection
(int[] sliceIndexes, int[] rowIndexes, int[] columnIndexes) Constructs and returns a new selection view that is a matrix holding the indicated cells.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.viewSliceFlip()
Constructs and returns a new flip view along the slice axis.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.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 ObjectMatrix3DModifier and TypeMethodDescriptionObjectMatrix3D.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.assign
(ObjectMatrix3D other) Replaces all cell values of the receiver with the values of another matrix.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.implModifier and TypeClassDescriptionclass
Dense 3-d matrix holding Object elements.(package private) class
Selection view on dense 3-d matrices holding Object elements.(package private) class
Selection view on sparse 3-d matrices holding Object elements.class
Sparse hashed 3-d matrix holding Object elements.Methods in cern.colt.matrix.impl that return ObjectMatrix3DModifier and TypeMethodDescriptionDenseObjectMatrix3D.assign
(ObjectMatrix3D source) Replaces all cell values of the receiver with the values of another matrix.Sets all cells to the state specified by values.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.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.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.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 ObjectMatrix3DModifier and TypeMethodDescriptionDenseObjectMatrix3D.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 ObjectMatrix3DModifier and TypeMethodDescriptionSorting.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.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 ObjectMatrix3DModifier and TypeMethodDescriptionSorting.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.Sorting.sort
(ObjectMatrix3D matrix, ObjectMatrix2DComparator c) Sorts the matrix slices according to the order induced by the specified comparator.Formatter.toSourceCode
(ObjectMatrix3D matrix) Returns a string s such that Object[] m = s is a legal Java statement.Formatter.toString
(ObjectMatrix3D matrix) Returns a string representation of the given matrix.Formatter.toTitleString
(ObjectMatrix3D matrix, String[] sliceNames, String[] rowNames, String[] columnNames, String sliceAxisName, String rowAxisName, String columnAxisName, String title) Returns a string representation of the given matrix with axis as well as rows and columns labeled.