org.ujmp.core.doublematrix.calculation.entrywise.basic
Interface BasicEntrywiseDoubleCalculations

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, EntrywiseDoubleCalculations, 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 BasicEntrywiseDoubleCalculations


Method Summary
 Matrix abs(Calculation.Ret returnType)
          Calculates the absolute values of all entries in a Matrix.
 Matrix exp(Calculation.Ret returnType)
          Calculates the exponential function all entries in the Matrix.
 Matrix log(Calculation.Ret returnType)
          Calculates the natural logarithm of all entries in the Matrix.
 Matrix log10(Calculation.Ret returnType)
          Calculates the logarithm with basis 10 of all entries in the Matrix.
 Matrix log2(Calculation.Ret returnType)
          Calculates the logarithm with basis 2 of all entries in the Matrix.
 Matrix power(Calculation.Ret returnType, double power)
          Calculates this matrix to the power of the given value (entrywise).
 Matrix power(Calculation.Ret returnType, Matrix power)
          Calculates this matrix to the power of the given matrix (entrywise).
 Matrix sign(Calculation.Ret returnType)
          Calculates the sign of the entries in a Matrix.
 Matrix sqrt(Calculation.Ret returnType)
          Calculates the square root of all the entries in a Matrix.
 

Method Detail

abs

Matrix abs(Calculation.Ret returnType)
           throws MatrixException
Calculates the absolute values of all entries in a Matrix. Positive values stay the same, negative values change sign.

Parameters:
returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
Returns:
A new Matrix with absolute values.
Throws:
MatrixException

log2

Matrix log2(Calculation.Ret returnType)
            throws MatrixException
Calculates the logarithm with basis 2 of all entries in the Matrix.

Parameters:
returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
Returns:
Matrix with logarithm values.
Throws:
MatrixException

log10

Matrix log10(Calculation.Ret returnType)
             throws MatrixException
Calculates the logarithm with basis 10 of all entries in the Matrix.

Parameters:
returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
Returns:
Matrix with logarithm values.
Throws:
MatrixException

log

Matrix log(Calculation.Ret returnType)
           throws MatrixException
Calculates the natural logarithm of all entries in the Matrix.

Parameters:
returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
Returns:
Matrix with logarithm values.
Throws:
MatrixException

exp

Matrix exp(Calculation.Ret returnType)
           throws MatrixException
Calculates the exponential function all entries in the Matrix.

Parameters:
returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
Returns:
Matrix with exp values.
Throws:
MatrixException

sign

Matrix sign(Calculation.Ret returnType)
            throws MatrixException
Calculates the sign of the entries in a Matrix. For values greater than zero, 1.0 is returned. Negative values will give -1.0 as return value. 0.0 is returned for entries equal to zero.

Parameters:
returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
Returns:
Matrix with signum values
Throws:
MatrixException

sqrt

Matrix sqrt(Calculation.Ret returnType)
            throws MatrixException
Calculates the square root of all the entries in a Matrix.

Parameters:
returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
Returns:
Matrix containing the square roots of all entries
Throws:
MatrixException

power

Matrix power(Calculation.Ret returnType,
             Matrix power)
             throws MatrixException
Calculates this matrix to the power of the given matrix (entrywise).

Parameters:
returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
matrix - the second matrix
Returns:
matrix with all entries to the power of the second matrix's entry.
Throws:
MatrixException

power

Matrix power(Calculation.Ret returnType,
             double power)
             throws MatrixException
Calculates this matrix to the power of the given value (entrywise).

Parameters:
returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
value - power factor
Returns:
Matrix with all entries to the power of factor.
Throws:
MatrixException


Copyright © 2010. All Rights Reserved.