## Uses of Class
cern.colt.matrix.ObjectMatrix1D

- Packages that use ObjectMatrix1D
  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 of `cern.colt.matrix`, without subsetting or supersetting.
  cern.colt.matrix.objectalgo | Object matrix algorithms such as print formatting, sorting, partitioning and statistics.

- - ### Uses of ObjectMatrix1D in cern.colt.matrix

    Methods in cern.colt.matrix that return ObjectMatrix1D
    Modifier and Type | Method and Description
    --- | ---
    `ObjectMatrix1D` | ObjectFactory1D.`append(ObjectMatrix1D A, ObjectMatrix1D B)` C = A||B; Constructs a new matrix which is the concatenation of two other matrices.
    `ObjectMatrix1D` | ObjectMatrix1D.`assign(java.lang.Object value)` Sets all cells to the state specified by `value`.
    `ObjectMatrix1D` | ObjectMatrix1D.`assign(java.lang.Object[] values)` Sets all cells to the state specified by `values`.
    `ObjectMatrix1D` | ObjectMatrix1D.`assign(ObjectFunction function)` Assigns the result of a function to each cell; `x[i] = function(x[i])`.
    `ObjectMatrix1D` | ObjectMatrix1D.`assign(ObjectMatrix1D other)` Replaces all cell values of the receiver with the values of another matrix.
    `ObjectMatrix1D` | ObjectMatrix1D.`assign(ObjectMatrix1D y, ObjectObjectFunction function)` Assigns the result of a function to each cell; `x[i] = function(x[i],y[i])`.
    `ObjectMatrix1D` | ObjectMatrix1D.`copy()` Constructs and returns a deep copy of the receiver.
    `ObjectMatrix1D` | ObjectFactory2D.`diagonal(ObjectMatrix2D A)` Constructs a new vector consisting of the diagonal elements of `A`.
    `ObjectMatrix1D` | ObjectMatrix1D.`like()` Construct and returns a new empty matrix of the same dynamic type as the receiver, having the same size.
    `abstract ObjectMatrix1D` | ObjectMatrix1D.`like(int size)` Construct and returns a new empty matrix of the same dynamic type as the receiver, having the specified size.
    `abstract ObjectMatrix1D` | ObjectMatrix2D.`like1D(int size)` Construct and returns a new 1-d matrix of the corresponding dynamic type, entirelly independent of the receiver.
    `ObjectMatrix1D` | ObjectFactory1D.`make(int size)` Constructs a matrix with the given shape, each cell initialized with zero.
    `ObjectMatrix1D` | ObjectFactory1D.`make(int size, java.lang.Object initialValue)` Constructs a matrix with the given shape, each cell initialized with the given value.
    `ObjectMatrix1D` | ObjectFactory1D.`make(java.lang.Object[] values)` Constructs a matrix with the given cell values.
    `ObjectMatrix1D` | ObjectFactory1D.`make(ObjectArrayList values)` Constructs a matrix from the values of the given list.
    `ObjectMatrix1D` | ObjectFactory1D.`make(ObjectMatrix1D[] parts)` Constructs a matrix which is the concatenation of all given parts.
    `ObjectMatrix1D` | ObjectFactory1D.`repeat(ObjectMatrix1D A, int repeat)` C = A||A||..||A; Constructs a new matrix which is concatenated `repeat` times.
    `ObjectMatrix1D` | ObjectMatrix2D.`viewColumn(int column)` Constructs and returns a new slice view representing the rows of the given column.
    `ObjectMatrix1D` | ObjectMatrix1D.`viewFlip()` Constructs and returns a new flip view.
    `ObjectMatrix1D` | ObjectMatrix1D.`viewPart(int index, int width)` Constructs and returns a new sub-range view that is a `width` sub matrix starting at `index`.
    `ObjectMatrix1D` | ObjectMatrix2D.`viewRow(int row)` Constructs and returns a new slice view representing the columns of the given row.
    `ObjectMatrix1D` | ObjectMatrix1D.`viewSelection(int[] indexes)` Constructs and returns a new selection view that is a matrix holding the indicated cells.
    `ObjectMatrix1D` | ObjectMatrix1D.`viewSelection(ObjectProcedure condition)` Constructs and returns a new selection view that is a matrix holding the cells matching the given condition.
    `ObjectMatrix1D` | ObjectMatrix1D.`viewSorted()` Sorts the vector into ascending order, according to the natural ordering.
    `ObjectMatrix1D` | ObjectMatrix1D.`viewStrides(int stride)` 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 ObjectMatrix1D
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | ObjectMatrix1D.`aggregate(ObjectMatrix1D other, ObjectObjectFunction aggr, ObjectObjectFunction f)` Applies a function to each corresponding cell of two matrices and aggregates the results.
    `ObjectMatrix1D` | ObjectFactory1D.`append(ObjectMatrix1D A, ObjectMatrix1D B)` C = A||B; Constructs a new matrix which is the concatenation of two other matrices.
    `boolean` | ObjectMatrix1DProcedure.`apply(ObjectMatrix1D element)` Applies a procedure to an argument.
    `ObjectMatrix1D` | ObjectMatrix1D.`assign(ObjectMatrix1D other)` Replaces all cell values of the receiver with the values of another matrix.
    `ObjectMatrix1D` | ObjectMatrix1D.`assign(ObjectMatrix1D y, ObjectObjectFunction function)` Assigns the result of a function to each cell; `x[i] = function(x[i],y[i])`.
    `ObjectMatrix2D` | ObjectFactory2D.`diagonal(ObjectMatrix1D vector)` Constructs a new diagonal matrix whose diagonal elements are the elements of `vector`.
    `ObjectMatrix1D` | ObjectFactory1D.`make(ObjectMatrix1D[] parts)` Constructs a matrix which is the concatenation of all given parts.
    `ObjectMatrix1D` | ObjectFactory1D.`repeat(ObjectMatrix1D A, int repeat)` C = A||A||..||A; Constructs a new matrix which is concatenated `repeat` times.
    `void` | ObjectMatrix1D.`swap(ObjectMatrix1D other)` Swaps each element `this[i]` with `other[i]`.
    `ObjectArrayList` | ObjectFactory1D.`toList(ObjectMatrix1D values)` Constructs a list from the given matrix.

  - ### Uses of ObjectMatrix1D in cern.colt.matrix.impl

    Subclasses of ObjectMatrix1D in cern.colt.matrix.impl
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DenseObjectMatrix1D` Dense 1-d matrix (aka vector) holding `Object` elements.
    `class` | `SparseObjectMatrix1D` Sparse hashed 1-d matrix (aka vector) holding `Object` elements.

    Methods in cern.colt.matrix.impl that return ObjectMatrix1D
    Modifier and Type | Method and Description
    --- | ---
    `ObjectMatrix1D` | DenseObjectMatrix1D.`assign(java.lang.Object[] values)` Sets all cells to the state specified by `values`.
    `ObjectMatrix1D` | DenseObjectMatrix1D.`assign(ObjectFunction function)` Assigns the result of a function to each cell; `x[i] = function(x[i])`.
    `ObjectMatrix1D` | DenseObjectMatrix1D.`assign(ObjectMatrix1D source)` Replaces all cell values of the receiver with the values of another matrix.
    `ObjectMatrix1D` | DenseObjectMatrix1D.`assign(ObjectMatrix1D y, ObjectObjectFunction function)` Assigns the result of a function to each cell; `x[i] = function(x[i],y[i])`.
    `ObjectMatrix1D` | SparseObjectMatrix1D.`like(int size)` Construct and returns a new empty matrix of the same dynamic type as the receiver, having the specified size.
    `ObjectMatrix1D` | DenseObjectMatrix1D.`like(int size)` Construct and returns a new empty matrix of the same dynamic type as the receiver, having the specified size.
    `ObjectMatrix1D` | SparseObjectMatrix2D.`like1D(int size)` Construct and returns a new 1-d matrix of the corresponding dynamic type, entirelly independent of the receiver.
    `ObjectMatrix1D` | DenseObjectMatrix2D.`like1D(int size)` Construct and returns a new 1-d matrix of the corresponding dynamic type, entirelly independent of the receiver.

    Methods in cern.colt.matrix.impl with parameters of type ObjectMatrix1D
    Modifier and Type | Method and Description
    --- | ---
    `ObjectMatrix1D` | DenseObjectMatrix1D.`assign(ObjectMatrix1D source)` Replaces all cell values of the receiver with the values of another matrix.
    `ObjectMatrix1D` | DenseObjectMatrix1D.`assign(ObjectMatrix1D y, ObjectObjectFunction function)` Assigns the result of a function to each cell; `x[i] = function(x[i],y[i])`.
    `void` | DenseObjectMatrix1D.`swap(ObjectMatrix1D other)` Swaps each element `this[i]` with `other[i]`.

  - ### Uses of ObjectMatrix1D in cern.colt.matrix.objectalgo

    Methods in cern.colt.matrix.objectalgo that return ObjectMatrix1D
    Modifier and Type | Method and Description
    --- | ---
    `ObjectMatrix1D` | Sorting.`sort(ObjectMatrix1D vector)` Sorts the vector into ascending order, according to the natural ordering.
    `ObjectMatrix1D` | Sorting.`sort(ObjectMatrix1D vector, java.util.Comparator c)` Sorts the vector into ascending order, according to the order induced by the specified comparator.

    Methods in cern.colt.matrix.objectalgo with parameters of type ObjectMatrix1D
    Modifier and Type | Method and Description
    --- | ---
    `int` | ObjectMatrix1DComparator.`compare(ObjectMatrix1D o1, ObjectMatrix1D o2)` Compares its two arguments for order.
    `ObjectMatrix1D` | Sorting.`sort(ObjectMatrix1D vector)` Sorts the vector into ascending order, according to the natural ordering.
    `ObjectMatrix1D` | Sorting.`sort(ObjectMatrix1D vector, java.util.Comparator c)` Sorts the vector into ascending order, according to the order induced by the specified comparator.
    `java.lang.String` | Formatter.`toSourceCode(ObjectMatrix1D matrix)` Returns a string `s` such that `Object[] m = s` is a legal Java statement.
    `java.lang.String` | Formatter.`toString(ObjectMatrix1D matrix)` Returns a string representation of the given matrix.

Jump to the Colt Homepage