org.ujmp.core.doublematrix.calculation.basic
Interface BasicDoubleCalculations

All Known Subinterfaces:
BigDecimalMatrix, BigDecimalMatrix2D, BigIntegerMatrix, BigIntegerMatrix2D, BooleanMatrix, BooleanMatrix2D, ByteMatrix, ByteMatrix2D, CanPerformCalculations, CharMatrix, CharMatrix2D, DateMatrix, DateMatrix2D, DenseBigDecimalMatrix, DenseBigDecimalMatrix2D, DenseBigIntegerMatrix, DenseBigIntegerMatrix2D, DenseBooleanMatrix, DenseBooleanMatrix2D, DenseByteMatrix, DenseByteMatrix2D, DenseCharMatrix, DenseCharMatrix2D, DenseDateMatrix, DenseDateMatrix2D, DenseDoubleMatrix, DenseDoubleMatrix2D, DenseFloatMatrix, DenseFloatMatrix2D, DenseGenericMatrix<A>, DenseGenericMatrix2D<A>, DenseIntMatrix, DenseIntMatrix2D, DenseLongMatrix, DenseLongMatrix2D, DenseMatrix, DenseMatrix2D, DenseObjectMatrix, DenseObjectMatrix2D, DenseShortMatrix, DenseShortMatrix2D, DenseStringMatrix, DenseStringMatrix2D, DoubleCalculations, DoubleMatrix, DoubleMatrix2D, FloatMatrix, FloatMatrix2D, GenericMatrix<A>, GenericMatrix2D<A>, GraphMatrix<N,E>, IntMatrix, IntMatrix2D, ListMatrix<A>, LongMatrix, LongMatrix2D, MapMatrix<K,V>, Matrix, Matrix2D, ObjectMatrix, ObjectMatrix2D, SetMatrix<A>, ShortMatrix, ShortMatrix2D, SparseBigDecimalMatrix, SparseBigDecimalMatrix2D, SparseBigIntegerMatrix, SparseBigIntegerMatrix2D, SparseBooleanMatrix, SparseBooleanMatrix2D, SparseByteMatrix, SparseByteMatrix2D, SparseCharMatrix, SparseCharMatrix2D, SparseDateMatrix, SparseDateMatrix2D, SparseDoubleMatrix, SparseDoubleMatrix2D, SparseFloatMatrix, SparseFloatMatrix2D, SparseGenericMatrix<A>, SparseGenericMatrix2D<A>, SparseIntMatrix, SparseIntMatrix2D, SparseLongMatrix, SparseLongMatrix2D, SparseMatrix, SparseMatrix2D, SparseObjectMatrix, SparseObjectMatrix2D, SparseShortMatrix, SparseShortMatrix2D, SparseStringMatrix, SparseStringMatrix2D, StringMatrix, StringMatrix2D, TreeMatrix
All Known Implementing Classes:
AbstractBigDecimalMatrix, AbstractBigIntegerMatrix, AbstractBooleanMatrix, AbstractByteMatrix, AbstractCharMatrix, AbstractDateMatrix, AbstractDenseBigDecimalMatrix, AbstractDenseBigDecimalMatrix2D, AbstractDenseBigIntegerMatrix, AbstractDenseBigIntegerMatrix2D, AbstractDenseBooleanMatrix, AbstractDenseBooleanMatrix2D, AbstractDenseByteMatrix, AbstractDenseByteMatrix2D, AbstractDenseCharMatrix, AbstractDenseCharMatrix2D, AbstractDenseDateMatrix, AbstractDenseDateMatrix2D, AbstractDenseDoubleMatrix, AbstractDenseDoubleMatrix2D, AbstractDenseFloatMatrix, AbstractDenseFloatMatrix2D, AbstractDenseGenericMatrix, AbstractDenseGenericMatrix2D, AbstractDenseIntMatrix, AbstractDenseIntMatrix2D, AbstractDenseLongMatrix, AbstractDenseLongMatrix2D, AbstractDenseObjectMatrix, AbstractDenseObjectMatrix2D, AbstractDenseShortMatrix, AbstractDenseShortMatrix2D, AbstractDenseStringMatrix, AbstractDenseStringMatrix2D, AbstractDoubleMatrix, AbstractFloatMatrix, AbstractGenericMatrix, AbstractGraphMatrix, AbstractIntMatrix, AbstractListMatrix, AbstractLongMatrix, AbstractMapMatrix, AbstractMapToSparseMatrixWrapper, AbstractMapToTiledMatrix2DWrapper, AbstractMatrix, AbstractObjectMatrix, AbstractSetMatrix, AbstractShortMatrix, AbstractSparseBigDecimalMatrix, AbstractSparseBigDecimalMatrix2D, AbstractSparseBigIntegerMatrix, AbstractSparseBigIntegerMatrix2D, AbstractSparseBooleanMatrix, AbstractSparseBooleanMatrix2D, AbstractSparseByteMatrix, AbstractSparseByteMatrix2D, AbstractSparseCharMatrix, AbstractSparseCharMatrix2D, AbstractSparseDateMatrix, AbstractSparseDateMatrix2D, AbstractSparseDoubleMatrix, AbstractSparseDoubleMatrix2D, AbstractSparseFloatMatrix, AbstractSparseFloatMatrix2D, AbstractSparseGenericMatrix, AbstractSparseGenericMatrix2D, AbstractSparseIntMatrix, AbstractSparseIntMatrix2D, AbstractSparseLongMatrix, AbstractSparseLongMatrix2D, AbstractSparseObjectMatrix, AbstractSparseObjectMatrix2D, AbstractSparseShortMatrix, AbstractSparseShortMatrix2D, AbstractSparseStringMatrix, AbstractSparseStringMatrix2D, AbstractStringMatrix, AbstractTreeMatrix, ArrayDenseBigDecimalMatrix2D, ArrayDenseBigIntegerMatrix2D, ArrayDenseByteMatrix2D, ArrayDenseCharMatrix2D, ArrayDenseDoubleMatrix2D, ArrayDenseFloatMatrix2D, BenchmarkConfig, BigDecimalCalculationMatrix, BigIntegerCalculationMatrix, BlockDenseDoubleMatrix2D, BooleanCalculationMatrix, BufferedObjectMatrix, ByteCalculationMatrix, CharCalculationMatrix, CSVMatrix, DateCalculationMatrix, DefaultDenseBigDecimalMatrix2D, DefaultDenseBigIntegerMatrix2D, DefaultDenseBooleanMatrix2D, DefaultDenseByteMatrix2D, DefaultDenseCharMatrix2D, DefaultDenseDateMatrix2D, DefaultDenseDoubleMatrix2D, DefaultDenseDoubleMatrixMultiD, DefaultDenseFloatMatrix2D, DefaultDenseGenericMatrix2D, DefaultDenseIntMatrix2D, DefaultDenseLongMatrix2D, DefaultDenseObjectMatrix2D, DefaultDenseObjectMatrixMultiD, DefaultDenseShortMatrix2D, DefaultDenseStringMatrix2D, DefaultGraphMatrix, DefaultListMatrix, DefaultMapMatrix, DefaultSetMatrix, DefaultSparseBigDecimalMatrix, DefaultSparseBigIntegerMatrix, DefaultSparseBooleanMatrix, DefaultSparseByteMatrix, DefaultSparseCharMatrix, DefaultSparseColumnObjectMatrix2D, DefaultSparseDateMatrix, DefaultSparseDoubleMatrix, DefaultSparseFloatMatrix, DefaultSparseGenericMatrix, DefaultSparseIntMatrix, DefaultSparseLongMatrix, DefaultSparseObjectMatrix, DefaultSparseRowDoubleMatrix2D, DefaultSparseRowObjectMatrix2D, DefaultSparseShortMatrix, DefaultSparseStringMatrix, DefaultTiledObjectMatrix2D, DefaultTreeMatrix, DenseFileMatrix, DoubleCalculationMatrix, EmptyMatrix, FileFormatMatrix, FileListMatrix, FileMatrix, FloatCalculationMatrix, ImageMatrix, IntCalculationMatrix, IrisMatrix, LongCalculationMatrix, MatrixAvailableProcessors, MatrixLibraries, MatrixMemoryUsage, MatrixRandomSeed, MatrixRunningThreads, MatrixSystemEnvironment, MatrixSystemProperties, MatrixSystemTime, MortonDenseDoubleMartrix2D, ObjectCalculationMatrix, ObjectTreeMatrix, RemoteObjectMatrixUDP, SerializedSparseObjectMatrix, ServerObjectMatrixUDP, ShortCalculationMatrix, SimpleDenseDateMatrix2D, SimpleDenseIntMatrix2D, SimpleDenseLongMatrix2D, SimpleDenseObjectMatrix2D, SimpleDenseShortMatrix2D, SimpleDenseStringMatrix2D, SparseCSVMatrix, StringCalculationMatrix, SynchronizedGenericMatrix, TimeSeriesMatrix, UJMPPluginsMatrix, VolatileSparseObjectMatrix, WaveMatrix, WelcomeMatrix

public interface BasicDoubleCalculations


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

Method Detail

plus

Matrix plus(double value)
            throws MatrixException
Adds a specified value to all entries in the matrix.

Parameters:
value - the value to add
Returns:
Matrix with the entries plus the value
Throws:
MatrixException

plus

Matrix plus(Matrix matrix)
            throws MatrixException
Calculates the sum of the entries in both matrices

Parameters:
matrix - The matrix to add
Returns:
matrix with sum values
Throws:
MatrixException

minus

Matrix minus(double value)
             throws MatrixException
Subtracts a specified value from all entries in the matrix.

Parameters:
value - the value to subtract
Returns:
Matrix with the entries minus the value
Throws:
MatrixException

minus

Matrix minus(Calculation.Ret returnType,
             boolean ignoreNaN,
             double value)
             throws MatrixException
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
Throws:
MatrixException

minus

Matrix minus(Calculation.Ret returnType,
             boolean ignoreNaN,
             Matrix matrix)
             throws MatrixException
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
Throws:
MatrixException

plus

Matrix plus(Calculation.Ret returnType,
            boolean ignoreNaN,
            double value)
            throws MatrixException
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
Throws:
MatrixException

plus

Matrix plus(Calculation.Ret returnType,
            boolean ignoreNaN,
            Matrix matrix)
            throws MatrixException
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
Throws:
MatrixException

minus

Matrix minus(Matrix matrix)
             throws MatrixException
Calculates the difference of the entries in both matrices

Parameters:
matrix - The matrix to subtract
Returns:
matrix with difference values
Throws:
MatrixException

times

Matrix times(Matrix matrix)
             throws MatrixException
Calculates the entrywise product of the two matrices.

Parameters:
matrix - the second matrix
Returns:
matrix with product of all entries
Throws:
MatrixException

times

Matrix times(double value)
             throws MatrixException
Multiplies every entry in the matrix with a scalar.

Parameters:
value - factor to multiply with
Returns:
Matrix with all entries multiplied by a factor.
Throws:
MatrixException

times

Matrix times(Calculation.Ret returnType,
             boolean ignoreNaN,
             double value)
             throws MatrixException
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.
Throws:
MatrixException

times

Matrix times(Calculation.Ret returnType,
             boolean ignoreNaN,
             Matrix value)
             throws MatrixException
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.
Throws:
MatrixException

divide

Matrix divide(Matrix matrix)
              throws MatrixException
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.
Throws:
MatrixException

divide

Matrix divide(double value)
              throws MatrixException
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.
Throws:
MatrixException

divide

Matrix divide(Calculation.Ret returnType,
              boolean ignoreNaN,
              double value)
              throws MatrixException
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.
Throws:
MatrixException

divide

Matrix divide(Calculation.Ret returnType,
              boolean ignoreNaN,
              Matrix value)
              throws MatrixException
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.
Throws:
MatrixException

mtimes

Matrix mtimes(Matrix matrix)
              throws MatrixException
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
Throws:
MatrixException

mtimes

Matrix mtimes(Calculation.Ret returnType,
              boolean ignoreNaN,
              Matrix matrix)
              throws MatrixException
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
Throws:
MatrixException

mtimes

Matrix mtimes(double value)
              throws MatrixException
Equal to times()

Parameters:
value - the value
Returns:
Matrix product
Throws:
MatrixException

mtimes

Matrix mtimes(Calculation.Ret returnType,
              boolean ignoreNaN,
              double value)
              throws MatrixException
Equal to times()

Parameters:
returnType - Defines if a new Matrix or a link should be returned.
ignoreNaN - should missing values be ignored
value - the value to multiply
Returns:
Matrix product
Throws:
MatrixException

atimes

Matrix atimes(Calculation.Ret returnType,
              boolean ignoreNaN,
              Matrix matrix)
              throws MatrixException
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
Throws:
MatrixException


Copyright © 2010. All Rights Reserved.