Class AbstractFloatMatrix

    • Constructor Detail

      • AbstractFloatMatrix

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

      • getObject

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

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

        public final void setAsFloat​(float value,
                                     long... coordinates)
        Description copied from interface: GettersAndSetters
        Sets an entry in the matrix to a float value. If the matrix cannot store float values, the value will be represented as good as possible.
        Specified by:
        setAsFloat in interface GettersAndSetters
        Overrides:
        setAsFloat in class AbstractMatrix
        Parameters:
        value - float value
        coordinates - location of the entry @
      • 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 @