Class DefaultDenseDoubleMatrixMultiD

    • Field Detail

      • values

        private final double[] values
      • length

        private final int length
    • Constructor Detail

      • DefaultDenseDoubleMatrixMultiD

        public DefaultDenseDoubleMatrixMultiD​(Matrix m)
      • DefaultDenseDoubleMatrixMultiD

        public DefaultDenseDoubleMatrixMultiD​(long... size)
      • DefaultDenseDoubleMatrixMultiD

        public DefaultDenseDoubleMatrixMultiD​(double[] v,
                                              long... size)
    • Method Detail

      • getDouble

        public final double getDouble​(long... pos)
        Description copied from interface: DoubleMatrixMultiD
        Returns a double representation of an entry in the matrix. The stored value will be converted to a double as good as possible.
        Parameters:
        pos - location of the entry
        Returns:
        a double representation of the entry @
      • setDouble

        public final void setDouble​(double value,
                                    long... pos)
        Description copied from interface: DoubleMatrixMultiD
        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.
        Parameters:
        value - double value
        pos - location of the entry @