Class AbstractDoubleMatrix

All Implemented Interfaces:
Serializable, Cloneable, Comparable<Matrix>, HasMetaData, BaseMatrix, BooleanCalculations, CanPerformCalculations, DenseMatrix, DenseMatrix2D, DenseMatrixMultiD, BaseDoubleMatrix, BasicDoubleCalculations, DoubleCalculations, BasicEntrywiseDoubleCalculations, CreatorDoubleCalculations, EntrywiseDoubleCalculations, HyperbolicDoubleCalculations, MiscEntrywiseDoubleCalculations, RoundingDoubleCalculations, TrigonometricDoubleCalculations, DecompositionDoubleCalculations, DiscretizeCalculations, GeneralDoubleCalculations, MiscGeneralDoubleCalculations, MissingValueDoubleCalculations, StatisticalDoubleCalculations, DenseDoubleMatrix, DenseDoubleMatrix2D, DenseDoubleMatrixMultiD, DoubleMatrix, DoubleMatrix2D, DoubleMatrixMultiD, SparseDoubleMatrix, SparseDoubleMatrix2D, SparseDoubleMatrixMultiD, BaseGenericMatrix<Double>, DenseGenericMatrix<Double>, DenseGenericMatrix2D<Double>, DenseGenericMatrixMultiD<Double>, GenericMatrix<Double>, GenericMatrix2D<Double>, GenericMatrixMultiD<Double>, SparseGenericMatrix<Double>, SparseGenericMatrix2D<Double>, SparseGenericMatrixMultiD<Double>, BaseMatrixProperties, Clearable, Conversions, CoordinateFunctions, CoreObject, DistanceMeasures, ExtendedMatrixProperties, GettersAndSetters, HasDescription, HasGUIObject, HasId, HasLabel, IntCalculations, Matrix, Matrix2D, MatrixMultiD, BaseNumberMatrix<Double>, DenseNumberMatrix<Double>, DenseNumberMatrix2D<Double>, DenseNumberMatrixMultiD<Double>, NumberMatrix<Double>, NumberMatrix2D<Double>, NumberMatrixMultiD<Double>, SparseNumberMatrix<Double>, SparseNumberMatrix2D<Double>, SparseNumberMatrixMultiD<Double>, ObjectCalculations, SparseMatrix, SparseMatrix2D, SparseMatrixMultiD, StringCalculations
Direct Known Subclasses:
AbstractDoubleMatrix2D, AbstractDoubleMatrixMultiD, AbstractSparseDoubleMatrix, DoubleCalculationMatrix

public abstract class AbstractDoubleMatrix extends AbstractNumberMatrix<Double> implements DoubleMatrix
See Also:
  • Field Details

  • Constructor Details

    • AbstractDoubleMatrix

      public AbstractDoubleMatrix(long... size)
  • Method Details

    • getObject

      public final Double getObject(long... coordinates)
      Specified by:
      getObject in interface GenericMatrixMultiD<Double>
    • setObject

      public final void setObject(Double o, long... coordinates)
      Specified by:
      setObject in interface GenericMatrixMultiD<Double>
      Overrides:
      setObject in class AbstractGenericMatrix<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 @
    • getValueType

      public final ValueType getValueType()
      Specified by:
      getValueType in interface BaseMatrixProperties
      Overrides:
      getValueType in class AbstractMatrix
    • getNumber

      public final 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<Double>
      Parameters:
      coordinates - location of the entry
      Returns:
      a Number representation of the entry @
    • setNumber

      public final void setNumber(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<Double>
      Parameters:
      value - Number value
      coordinates - location of the entry @