Class AbstractDoubleMatrix

    • Constructor Detail

      • AbstractDoubleMatrix

        public AbstractDoubleMatrix​(long... size)
    • Method Detail

      • getObject

        public final java.lang.Double getObject​(long... coordinates)
        Specified by:
        getObject in interface GenericMatrixMultiD<java.lang.Double>
      • getAsDouble

        public final double getAsDouble​(long... coordinates)
        Description copied from interface: GettersAndSetters
        Returns a double representation of an entry in the matrix. The stored value will be converted to a double as good as possible.
        Specified by:
        getAsDouble in interface GettersAndSetters
        Overrides:
        getAsDouble in class AbstractMatrix
        Parameters:
        coordinates - location of the entry
        Returns:
        a double representation of the entry @
      • setAsDouble

        public final void setAsDouble​(double value,
                                      long... coordinates)
        Description copied from interface: GettersAndSetters
        Sets an entry in the matrix to a double value. If the matrix cannot store double values, the value will be represented as good as possible.
        Specified by:
        setAsDouble in interface GettersAndSetters
        Overrides:
        setAsDouble in class AbstractMatrix
        Parameters:
        value - double value
        coordinates - location of the entry @
      • getNumber

        public final java.lang.Double getNumber​(long... coordinates)
        Description copied from interface: NumberMatrixMultiD
        Returns a Number representation of an entry in the matrix. The stored value will be converted to a Number as good as possible.
        Specified by:
        getNumber in interface NumberMatrixMultiD<java.lang.Double>
        Parameters:
        coordinates - location of the entry
        Returns:
        a Number representation of the entry @
      • setNumber

        public final void setNumber​(java.lang.Double value,
                                    long... coordinates)
        Description copied from interface: NumberMatrixMultiD
        Sets an entry in the matrix to a Number value. If the matrix cannot store Number values, the value will be represented as good as possible.
        Specified by:
        setNumber in interface NumberMatrixMultiD<java.lang.Double>
        Parameters:
        value - Number value
        coordinates - location of the entry @