Documentation of 'cern.colt.matrix.impl.AbstractMatrix1D' Java class
AbstractMatrix1D
cern.colt.matrix.impl

Class AbstractMatrix1D

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable
    Direct Known Subclasses:
    DoubleMatrix1D, ObjectMatrix1D


    public abstract class AbstractMatrix1D
    extends AbstractMatrix
    Abstract base class for 1-d matrices (aka vectors) holding objects or primitive data types such as int, double, etc. First see the package summary and javadoc tree view to get the broad picture.

    Note that this implementation is not synchronized.

    See Also:
    Serialized Form
    • Method Detail

      • checkSize

        public void checkSize(AbstractMatrix1D B)
        Sanity check for operations requiring two matrices with the same size.
        Throws:
        java.lang.IllegalArgumentException - if size() != B.size().
      • size

        public int size()
        Returns the number of cells.
        Specified by:
        size in class AbstractMatrix
      • toStringShort

        public java.lang.String toStringShort()
        Returns a string representation of the receiver's shape.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.