Interface BasicDoubleCalculations

All Known Subinterfaces:
BaseBigDecimalMatrix, BaseBigIntegerMatrix, BaseBooleanMatrix, BaseDoubleMatrix, BaseGenericMatrix<T>, BaseNumberMatrix<T>, BaseObjectMatrix, BigDecimalMatrix, BigDecimalMatrix2D, BigDecimalMatrixMultiD, BigIntegerMatrix, BigIntegerMatrix2D, BigIntegerMatrixMultiD, BooleanMatrix, BooleanMatrix2D, ByteArrayMatrix, ByteArrayMatrix2D, ByteMatrix, ByteMatrix2D, CanPerformCalculations, CharMatrix, CharMatrix2D, DenseBigDecimalMatrix, DenseBigDecimalMatrix2D, DenseBigDecimalMatrixMultiD, DenseBigIntegerMatrix, DenseBigIntegerMatrix2D, DenseBooleanMatrix, DenseBooleanMatrix2D, DenseByteArrayMatrix, DenseByteArrayMatrix2D, DenseByteMatrix, DenseByteMatrix2D, DenseCharMatrix, DenseCharMatrix2D, DenseDoubleMatrix, DenseDoubleMatrix2D, DenseDoubleMatrixMultiD, DenseFloatMatrix, DenseFloatMatrix2D, DenseGenericMatrix<T>, DenseGenericMatrix2D<T>, DenseGenericMatrixMultiD<T>, DenseIntMatrix, DenseIntMatrix2D, DenseLongMatrix, DenseLongMatrix2D, DenseMatrix, DenseMatrix2D, DenseMatrixMultiD, DenseNumberMatrix<T>, DenseNumberMatrix2D<T>, DenseNumberMatrixMultiD<T>, DenseObjectMatrix, DenseObjectMatrix2D, DenseObjectMatrixMultiD, DenseShortMatrix, DenseShortMatrix2D, DenseStringMatrix, DenseStringMatrix2D, DoubleCalculations, DoubleMatrix, DoubleMatrix2D, DoubleMatrixMultiD, FileOrDirectoryMatrix, FloatMatrix, FloatMatrix2D, GenericMatrix<T>, GenericMatrix2D<T>, GenericMatrixMultiD<T>, GraphMatrix<N,E>, IntMatrix, IntMatrix2D, ListMatrix<T>, LongMatrix, LongMatrix2D, MapMatrix<K,V>, Matrix, Matrix2D, MatrixMultiD, NumberMatrix<T>, NumberMatrix2D<T>, NumberMatrixMultiD<T>, ObjectMatrix, ObjectMatrix2D, ObjectMatrixMultiD, SetMatrix<A>, ShortMatrix, ShortMatrix2D, SparseBigDecimalMatrix, SparseBigDecimalMatrix2D, SparseBigDecimalMatrixMultiD, SparseBigIntegerMatrix, SparseBigIntegerMatrix2D, SparseBooleanMatrix, SparseBooleanMatrix2D, SparseByteArrayMatrix, SparseByteArrayMatrix2D, SparseByteMatrix, SparseByteMatrix2D, SparseCharMatrix, SparseCharMatrix2D, SparseDoubleMatrix, SparseDoubleMatrix2D, SparseDoubleMatrixMultiD, SparseFloatMatrix, SparseFloatMatrix2D, SparseGenericMatrix<T>, SparseGenericMatrix2D<T>, SparseGenericMatrixMultiD<T>, SparseIntMatrix, SparseIntMatrix2D, SparseLongMatrix, SparseLongMatrix2D, SparseMatrix, SparseMatrix2D, SparseMatrixMultiD, SparseNumberMatrix<T>, SparseNumberMatrix2D<T>, SparseNumberMatrixMultiD<T>, SparseObjectMatrix, SparseObjectMatrix2D, SparseObjectMatrixMultiD, SparseShortMatrix, SparseShortMatrix2D, SparseStringMatrix, SparseStringMatrix2D, StringMatrix, StringMatrix2D, TextBlock, TextSentence, TextToken, TreeMatrix<T>
All Known Implementing Classes:
AbstractBigDecimalMatrix, AbstractBigIntegerMatrix, AbstractBooleanMatrix, AbstractByteArrayMatrix, AbstractByteMatrix, AbstractCharMatrix, AbstractCommonsMathDenseDoubleMatrix2D, AbstractDenseBigDecimalMatrix, AbstractDenseBigDecimalMatrix2D, AbstractDenseBigIntegerMatrix, AbstractDenseBigIntegerMatrix2D, AbstractDenseBooleanMatrix, AbstractDenseBooleanMatrix2D, AbstractDenseByteArrayMatrix, AbstractDenseByteArrayMatrix2D, AbstractDenseByteMatrix, AbstractDenseByteMatrix2D, AbstractDenseCharMatrix, AbstractDenseCharMatrix2D, AbstractDenseDoubleMatrix2D, AbstractDenseDoubleMatrixMultiD, AbstractDenseFloatMatrix, AbstractDenseFloatMatrix2D, AbstractDenseGenericMatrix, AbstractDenseGenericMatrix2D, AbstractDenseIntMatrix, AbstractDenseIntMatrix2D, AbstractDenseJDBCMatrix2D, AbstractDenseLongMatrix, AbstractDenseLongMatrix2D, AbstractDenseObjectMatrix, AbstractDenseObjectMatrix2D, AbstractDenseShortMatrix, AbstractDenseShortMatrix2D, AbstractDenseStringMatrix, AbstractDenseStringMatrix2D, AbstractDoubleMatrix, AbstractDoubleMatrix2D, AbstractDoubleMatrixMultiD, AbstractFloatMatrix, AbstractGenericMatrix, AbstractGraphMatrix, AbstractIntMatrix, AbstractListMatrix, AbstractLongMatrix, AbstractMapMatrix, AbstractMapMatrixList, AbstractMapToSparseMatrixWrapper, AbstractMapToTiledMatrix2DWrapper, AbstractMatrix, AbstractNumberMatrix, AbstractObjectMatrix, AbstractSetMatrix, AbstractShortMatrix, AbstractSparseBigDecimalMatrix, AbstractSparseBigDecimalMatrix2D, AbstractSparseBigIntegerMatrix, AbstractSparseBigIntegerMatrix2D, AbstractSparseBooleanMatrix, AbstractSparseBooleanMatrix2D, AbstractSparseByteArrayMatrix, AbstractSparseByteArrayMatrix2D, AbstractSparseByteMatrix, AbstractSparseByteMatrix2D, AbstractSparseCharMatrix, AbstractSparseCharMatrix2D, AbstractSparseDoubleMatrix, AbstractSparseDoubleMatrix2D, AbstractSparseFloatMatrix, AbstractSparseFloatMatrix2D, AbstractSparseGenericMatrix, AbstractSparseGenericMatrix2D, AbstractSparseIntMatrix, AbstractSparseIntMatrix2D, AbstractSparseLongMatrix, AbstractSparseLongMatrix2D, AbstractSparseObjectMatrix, AbstractSparseObjectMatrix2D, AbstractSparseShortMatrix, AbstractSparseShortMatrix2D, AbstractSparseStringMatrix, AbstractSparseStringMatrix2D, AbstractStringMatrix, AbstractTreeMatrix, ArrayDenseBigDecimalMatrix2D, ArrayDenseBigIntegerMatrix2D, ArrayDenseBooleanMatrix2D, ArrayDenseByteMatrix2D, ArrayDenseCharMatrix2D, ArrayDenseDoubleMatrix2D, ArrayDenseFloatMatrix2D, ArrayDenseIntMatrix2D, ArrayDenseLongMatrix2D, ArrayDenseObjectMatrix2D, ArrayDenseShortMatrix2D, ArrayDenseStringMatrix2D, AvailableProcessorsMatrix, BenchmarkConfig, BigDecimalCalculationMatrix, BigIntegerCalculationMatrix, BitSetDenseBooleanMatrix2D, BlockDenseDoubleMatrix2D, BooleanCalculationMatrix, BufferedObjectMatrix, ByteCalculationMatrix, CharCalculationMatrix, ClientMatrix, ColtDenseDoubleMatrix2D, ColtSparseDoubleMatrix2D, CommonsMathArrayDenseDoubleMatrix2D, CommonsMathBlockDenseDoubleMatrix2D, DefaultDenseBigDecimalMatrix2D, DefaultDenseBigIntegerMatrix2D, DefaultDenseByteMatrix2D, DefaultDenseCharMatrix2D, DefaultDenseDoubleMatrix2D, DefaultDenseDoubleMatrixMultiD, DefaultDenseFloatMatrix2D, DefaultDenseGenericMatrix2D, DefaultDenseIntMatrix2D, DefaultDenseLongMatrix2D, DefaultDenseObjectMatrix2D, DefaultDenseObjectMatrixMultiD, DefaultDenseShortMatrix2D, DefaultDenseStringMatrix2D, DefaultGraphMatrix, DefaultListMatrix, DefaultMapMatrix, DefaultSetMatrix, DefaultSparseBigDecimalMatrix, DefaultSparseBigIntegerMatrix, DefaultSparseBooleanMatrix, DefaultSparseByteMatrix, DefaultSparseCharMatrix, DefaultSparseColumnObjectMatrix2D, DefaultSparseDoubleMatrix, DefaultSparseDoubleVector1D, DefaultSparseFloatMatrix, DefaultSparseGenericMatrix, DefaultSparseIntMatrix, DefaultSparseLongMatrix, DefaultSparseObjectMatrix, DefaultSparseRowDoubleMatrix2D, DefaultSparseRowObjectMatrix2D, DefaultSparseShortMatrix, DefaultSparseStringMatrix, DefaultTextBlock, DefaultTextSentence, DefaultTextToken, DefaultTiledObjectMatrix2D, DefaultTreeMatrix, DenseCSVStringMatrix2D, DenseDerbyMatrix2D, DenseFileMatrix, DenseHSQLDBMatrix2D, DenseMySQLMatrix2D, DensePostgreSQLMatrix2D, DirectoryMatrix, DoubleCalculationMatrix, EmptyMatrix, FileFormatMatrix, FileMatrix, FloatCalculationMatrix, HttpMatrix, ImageMatrix, IndexedSparseDoubleMatrix2D, IntCalculationMatrix, IrisMatrix, JamaDenseDoubleMatrix2D, JBlasDenseDoubleMatrix2D, JDBCCatalogListMatrix, JDBCCatalogMatrix, JDBCMapMatrix, JDBCSetMatrix, JDBCSparseObjectMatrix, La4JDenseDoubleMatrix2D, LocalhostMatrix, LongCalculationMatrix, MandelbrotMatrix, MatrixLibraries, MatrixUIDefaults, MemoryUsageMatrix, MessageMatrix, MessagesMatrix, MortonDenseDoubleMartrix2D, NetworkInterfaceMatrix, NetworkMatrix, ObjectCalculationMatrix, ObjectTreeMatrix, OperatingSystemMatrix, RandomSeedMatrix, RemoteHostMatrix, RemoteObjectMatrixUDP, RunningThreadsMatrix, SerializedSparseObjectMatrix, ServerObjectMatrixUDP, ShortCalculationMatrix, SparseCSVMatrix, SparseFeatureVector, StringCalculationMatrix, SubnetMatrix, SynchronizedGenericMatrix, SystemEnvironmentMatrix, SystemPropertiesMatrix, SystemTimeMatrix, TextContentMatrix, TimeSeriesMatrix, UJMPPluginsMatrix, UJMPSettings, VecMathDenseDoubleMatrix2D, VolatileSparseObjectMatrix, WaveMatrix, WelcomeMatrix, ZipEntryMatrix, ZipFileMatrix

public interface BasicDoubleCalculations
  • Method Summary

    Modifier and Type
    Method
    Description
    atimes(Calculation.Ret returnType, boolean ignoreNaN, Matrix matrix)
    Performs an averaging matrix multiplication on the two matrices.
    divide(double value)
    Divides every entry in the matrix by a scalar.
    divide(Calculation.Ret returnType, boolean ignoreNaN, double value)
    Divides every entry in the matrix by a scalar.
    divide(Calculation.Ret returnType, boolean ignoreNaN, Matrix value)
    Divides every entry in the matrix by the entries of another matrix.
    divide(Matrix matrix)
    Calculates an entrywise division of the two matrices.
    minus(double value)
    Subtracts a specified value from all entries in the matrix.
    minus(Calculation.Ret returnType, boolean ignoreNaN, double value)
    Subtracts a specified value from all entries in the matrix.
    minus(Calculation.Ret returnType, boolean ignoreNaN, Matrix matrix)
    Calculates the difference of the entries in both matrices
    minus(Matrix matrix)
    Calculates the difference of the entries in both matrices
    mtimes(Calculation.Ret returnType, boolean ignoreNaN, Matrix matrix)
    Performs a matrix multiplication on the two matrices.
    mtimes(Matrix matrix)
    Performs a matrix multiplication on the two matrices.
    plus(double value)
    Adds a specified value to all entries in the matrix.
    plus(Calculation.Ret returnType, boolean ignoreNaN, double value)
    Adds a specified value from all entries in the matrix.
    plus(Calculation.Ret returnType, boolean ignoreNaN, Matrix matrix)
    Calculates the sum of the entries in both matrices
    plus(Matrix matrix)
    Calculates the sum of the entries in both matrices
    times(double value)
    Multiplies every entry in the matrix with a scalar.
    times(Calculation.Ret returnType, boolean ignoreNaN, double value)
    Multiplies every entry in the matrix with a scalar.
    times(Calculation.Ret returnType, boolean ignoreNaN, Matrix value)
    Multiplies every entry in the matrix with the entries of another Matrix.
    times(Matrix matrix)
    Calculates the entrywise product of the two matrices.
  • Method Details

    • plus

      Matrix plus(double value)
      Adds a specified value to all entries in the matrix.
      Parameters:
      value - the value to add
      Returns:
      Matrix with the entries plus the value
    • plus

      Matrix plus(Matrix matrix)
      Calculates the sum of the entries in both matrices
      Parameters:
      matrix - The matrix to add
      Returns:
      matrix with sum values
    • minus

      Matrix minus(double value)
      Subtracts a specified value from all entries in the matrix.
      Parameters:
      value - the value to subtract
      Returns:
      Matrix with the entries minus the value
    • minus

      Matrix minus(Calculation.Ret returnType, boolean ignoreNaN, double value)
      Subtracts a specified value from all entries in the matrix.
      Parameters:
      returnType - Defines if a new Matrix or a link should be returned.
      ignoreNaN - should missing values be ignored
      value - the value to subtract
      Returns:
      Matrix with the entries minus the value
    • minus

      Matrix minus(Calculation.Ret returnType, boolean ignoreNaN, Matrix matrix)
      Calculates the difference of the entries in both matrices
      Parameters:
      returnType - Defines if a new Matrix or a link should be returned.
      ignoreNaN - should missing values be ignored
      matrix - The matrix to subtract
      Returns:
      matrix with difference values
    • plus

      Matrix plus(Calculation.Ret returnType, boolean ignoreNaN, double value)
      Adds a specified value from all entries in the matrix.
      Parameters:
      returnType - Defines if a new Matrix or a link should be returned.
      ignoreNaN - should missing values be ignored
      value - the value to subtract
      Returns:
      Matrix with the entries plus the value
    • plus

      Matrix plus(Calculation.Ret returnType, boolean ignoreNaN, Matrix matrix)
      Calculates the sum of the entries in both matrices
      Parameters:
      returnType - Defines if a new Matrix or a link should be returned.
      ignoreNaN - should missing values be ignored
      matrix - The matrix to subtract
      Returns:
      matrix with sum values
    • minus

      Matrix minus(Matrix matrix)
      Calculates the difference of the entries in both matrices
      Parameters:
      matrix - The matrix to subtract
      Returns:
      matrix with difference values
    • times

      Matrix times(Matrix matrix)
      Calculates the entrywise product of the two matrices.
      Parameters:
      matrix - the second matrix
      Returns:
      matrix with product of all entries
    • times

      Matrix times(double value)
      Multiplies every entry in the matrix with a scalar.
      Parameters:
      value - factor to multiply with
      Returns:
      Matrix with all entries multiplied by a factor.
    • times

      Matrix times(Calculation.Ret returnType, boolean ignoreNaN, double value)
      Multiplies every entry in the matrix with a scalar.
      Parameters:
      returnType - Defines if a new Matrix or a link should be returned.
      ignoreNaN - should missing values be ignored
      value - factor to multiply with
      Returns:
      Matrix with all entries multiplied by a factor.
    • times

      Matrix times(Calculation.Ret returnType, boolean ignoreNaN, Matrix value)
      Multiplies every entry in the matrix with the entries of another Matrix.
      Parameters:
      returnType - Defines if a new Matrix or a link should be returned.
      ignoreNaN - should missing values be ignored
      value - factor to multiply with
      Returns:
      Matrix with all entries multiplied by a factor.
    • divide

      Matrix divide(Matrix matrix)
      Calculates an entrywise division of the two matrices.
      Parameters:
      matrix - the second matrix
      Returns:
      matrix with all entries divided by the second matrix's entry.
    • divide

      Matrix divide(double value)
      Divides every entry in the matrix by a scalar.
      Parameters:
      value - factor by which to divide
      Returns:
      Matrix with all entries divided by a factor.
    • divide

      Matrix divide(Calculation.Ret returnType, boolean ignoreNaN, double value)
      Divides every entry in the matrix by a scalar.
      Parameters:
      returnType - Defines if a new Matrix or a link should be returned.
      ignoreNaN - should missing values be ignored
      value - factor by which to divide
      Returns:
      Matrix with all entries divided by a factor.
    • divide

      Matrix divide(Calculation.Ret returnType, boolean ignoreNaN, Matrix value)
      Divides every entry in the matrix by the entries of another matrix.
      Parameters:
      returnType - Defines if a new Matrix or a link should be returned.
      ignoreNaN - should missing values be ignored
      value - factor by which to divide
      Returns:
      Matrix with all entries divided by a factor.
    • mtimes

      Matrix mtimes(Matrix matrix)
      Performs a matrix multiplication on the two matrices. The matrices must be 2-dimensional and have the correct size.
      Parameters:
      matrix - the second matrix
      Returns:
      Matrix product
    • mtimes

      Matrix mtimes(Calculation.Ret returnType, boolean ignoreNaN, Matrix matrix)
      Performs a matrix multiplication on the two matrices. The matrices must be 2-dimensional and have the correct size.
      Parameters:
      returnType - Defines if a new Matrix or a link should be returned.
      ignoreNaN - should missing values be ignored
      matrix - the second matrix
      Returns:
      Matrix product
    • atimes

      Matrix atimes(Calculation.Ret returnType, boolean ignoreNaN, Matrix matrix)
      Performs an averaging matrix multiplication on the two matrices. The matrices must be 2-dimensional and have the correct size.
      Parameters:
      returnType - Defines if a new Matrix or a link should be returned.
      ignoreNaN - should missing values be ignored
      matrix - the second matrix
      Returns:
      Matrix product