Documentation of 'org.ujmp.core.floatmatrix.impl.DefaultSparseFloatMatrix' Java class
DefaultSparseFloatMatrix
org.ujmp.core.floatmatrix.impl

Class DefaultSparseFloatMatrix

    • Constructor Detail

      • DefaultSparseFloatMatrix

        public DefaultSparseFloatMatrix(Matrix m)
      • DefaultSparseFloatMatrix

        public DefaultSparseFloatMatrix(Matrix m,
                                        int maximumNumberOfEntries)
      • DefaultSparseFloatMatrix

        public DefaultSparseFloatMatrix(long... size)
    • Method Detail

      • getFloat

        public float getFloat(long... coordinates)
        Description copied from interface: FloatMatrix
        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:
        getFloat in interface FloatMatrix
        Parameters:
        coordinates - location of the entry
        Returns:
        a float representation of the entry @
      • setFloat

        public void setFloat(float value,
                             long... coordinates)
        Description copied from interface: FloatMatrix
        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:
        setFloat in interface FloatMatrix
        Parameters:
        value - float value
        coordinates - location of the entry @

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.