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

Class ABlockMatrix

    • Method Detail

      • getBlock

        public abstract AMatrix getBlock(int rowBlock,
                                         int colBlock)
      • getBlockColumnCount

        public abstract int getBlockColumnCount(int colBlock)
      • getBlockRowCount

        public abstract int getBlockRowCount(int rowBlock)
      • getBlockColumnStart

        public abstract int getBlockColumnStart(int colBlock)
      • getBlockRowStart

        public abstract int getBlockRowStart(int rowBlock)
      • getColumnBlockIndex

        public abstract int getColumnBlockIndex(int col)
      • getRowBlockIndex

        public abstract int getRowBlockIndex(int row)
      • columnBlockCount

        public abstract int columnBlockCount()
      • rowBlockCount

        public abstract int rowBlockCount()
      • copyRowTo

        public void copyRowTo(int i,
                              double[] dest,
                              int destOffset)
        Description copied from class: AMatrix
        Copies the elements in a selected row of this matrix to a double array
        Overrides:
        copyRowTo in class AMatrix
        Parameters:
        i - The index of the selected row
        dest - Destination double[] array
        destOffset - Offset into destination array
      • copyColumnTo

        public void copyColumnTo(int j,
                                 double[] dest,
                                 int destOffset)
        Description copied from class: AMatrix
        Copies the elements in a selected row of this matrix to a double array
        Overrides:
        copyColumnTo in class AMatrix
        dest - Destination double[] array
      • getComponent

        public AMatrix getComponent(int k)
        Description copied from interface: INDArray
        Gets a component from the array at the specified index Will throw an error if components are not supported, or if the component is out of bounds as defined by 0 <= k
        Specified by:
        getComponent in interface INDArray
        Overrides:
        getComponent in class AbstractArray<AVector>
        Returns:
      • getRowView

        public AVector getRowView(int row)
        Description copied from interface: IMatrix
        Returns a row of the matrix as a vector view. May be used to modify the original matrix.
        Specified by:
        getRowView in interface IMatrix
        Overrides:
        getRowView in class AMatrix
      • isZero

        public boolean isZero()
        Description copied from class: AMatrix
        Returns true if the matrix is the zero matrix (all components zero)
        Specified by:
        isZero in interface INDArray
        Overrides:
        isZero in class AMatrix
      • isBoolean

        public boolean isBoolean()
        Description copied from interface: INDArray
        Returns true if the array is boolean (contains only 0.0 or 1.0 values)
        Specified by:
        isBoolean in interface INDArray
        Overrides:
        isBoolean in class AMatrix
      • getColumnView

        public AVector getColumnView(int col)
        Description copied from interface: IMatrix
        Returns a column of the matrix as a vector view. May be used to modify the original matrix.
        Specified by:
        getColumnView in interface IMatrix
        Overrides:
        getColumnView in class AMatrix

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.