Documentation of 'mikera.matrixx.impl.APrimitiveMatrix' Java class
APrimitiveMatrix
mikera.matrixx.impl

Class APrimitiveMatrix

    • Constructor Detail

      • APrimitiveMatrix

        public APrimitiveMatrix()
    • Method Detail

      • isSquare

        public boolean isSquare()
        Description copied from interface: IMatrix
        Checks if this is a square matrix
        Specified by:
        isSquare in interface IMatrix
        Overrides:
        isSquare in class AMatrix
        Returns:
        true if square, false otherwise
      • checkSquare

        public abstract int checkSquare()
        Description copied from class: AMatrix
        Checks if a matrix is square. Returns the size if true, throws an exception otherwise;
        Overrides:
        checkSquare in class AMatrix
        Returns:
      • isFullyMutable

        public boolean isFullyMutable()
        Description copied from interface: INDArray
        If this method returns true, the INDArray is guaranteed to be fully mutable in all positions i.e. every position can store any valid double value
        Specified by:
        isFullyMutable in interface INDArray
        Specified by:
        isFullyMutable in class AMatrix
      • getRow

        public AVector getRow(int i)
        Description copied from interface: IMatrix
        Returns a row of the matrix. May or may not be a view, depending on matrix type. Intended for the fastest possible read access of the row. This often means a view, but might not be (e.g. getRow on a Matrix33 returns a Vector3).
        Specified by:
        getRow in interface IMatrix
        Overrides:
        getRow in class AMatrix
      • getColumn

        public AVector getColumn(int j)
        Description copied from interface: IMatrix
        Returns a column of the matrix. May or may not be a view, depending on matrix type. Intended for the fastest possible read access of the column. This often means a view, but might not be (e.g. getColumn on a Matrix33 returns a Vector3).
        Specified by:
        getColumn in interface IMatrix
        Overrides:
        getColumn in class AMatrix
      • copy

        public AMatrix copy()
        Description copied from interface: INDArray
        Returns a defensive copy of the array data. Use this if the original array might change and you need a defensive copy. May return the same array if the original was immutable, otherwise will return a defensive copy.
        Specified by:
        copy in interface INDArray
        Overrides:
        copy in class AMatrix

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.