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 TypeMethodDescriptionatimes
(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.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 matricesCalculates the difference of the entries in both matricesmtimes
(Calculation.Ret returnType, boolean ignoreNaN, Matrix matrix) Performs a matrix multiplication on the two matrices.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 matricesCalculates the sum of the entries in both matricestimes
(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.Calculates the entrywise product of the two matrices.
-
Method Details
-
plus
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
Calculates the sum of the entries in both matrices- Parameters:
matrix
- The matrix to add- Returns:
- matrix with sum values
-
minus
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
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 ignoredvalue
- the value to subtract- Returns:
- Matrix with the entries minus the value
-
minus
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 ignoredmatrix
- The matrix to subtract- Returns:
- matrix with difference values
-
plus
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 ignoredvalue
- the value to subtract- Returns:
- Matrix with the entries plus the value
-
plus
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 ignoredmatrix
- The matrix to subtract- Returns:
- matrix with sum values
-
minus
Calculates the difference of the entries in both matrices- Parameters:
matrix
- The matrix to subtract- Returns:
- matrix with difference values
-
times
Calculates the entrywise product of the two matrices.- Parameters:
matrix
- the second matrix- Returns:
- matrix with product of all entries
-
times
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
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 ignoredvalue
- factor to multiply with- Returns:
- Matrix with all entries multiplied by a factor.
-
times
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 ignoredvalue
- factor to multiply with- Returns:
- Matrix with all entries multiplied by a factor.
-
divide
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
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
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 ignoredvalue
- factor by which to divide- Returns:
- Matrix with all entries divided by a factor.
-
divide
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 ignoredvalue
- factor by which to divide- Returns:
- Matrix with all entries divided by a factor.
-
mtimes
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
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 ignoredmatrix
- the second matrix- Returns:
- Matrix product
-
atimes
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 ignoredmatrix
- the second matrix- Returns:
- Matrix product
-