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

Class AArrayMatrix

    • Field Detail

      • data

        public final double[] data
    • Method Detail

      • getArray

        public final double[] getArray()
        Gets the underlying data array for this array-backed matrix. Mutation of this data array is possible, but caution is advised as this may cause unpredictable side effects if the array is aliased elsewhere
        Returns:
      • get

        public double get(int i,
                          int j)
        Description copied from interface: INDArray
        Returns the double value at the specified position in a 2D matrix
        Specified by:
        get in interface INDArray
        Specified by:
        get in interface IMatrix
        Specified by:
        get in class AMatrix
      • unsafeSet

        public void unsafeSet(int i,
                              int j,
                              double value)
        Description copied from class: AMatrix
        Sets an element value in the matrix in an unsafe fashion, without performing bound checks The result is undefined if the row and column are out of bounds.
        Overrides:
        unsafeSet in class AMatrix
      • unsafeGet

        public double unsafeGet(int i,
                                int j)
        Description copied from class: AMatrix
        Gets an element in the matrix in an unsafe fashion, without performing bound checks The result is undefined if the row and column are out of bounds.
        Overrides:
        unsafeGet in class AMatrix
        Returns:
      • isPackedArray

        public abstract boolean isPackedArray()
        Returns true if the data array is fully packed by this matrix in row-major order
        Returns:

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.