org.ujmp.core.doublematrix.calculation.general.statistical
Interface StatisticalDoubleCalculations

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, GeneralDoubleCalculations, 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 StatisticalDoubleCalculations


Method Summary
 Matrix corrcoef(Calculation.Ret returnType, boolean ignoreNaN)
          Calculates the Pearson correlation.
 Matrix cov(Calculation.Ret returnType, boolean ignoreNaN)
          Calculates the covariance Matrix.
 Matrix cumprod(boolean ignoreNaN)
           
 Matrix cumsum(boolean ignoreNaN)
           
 Matrix diff(Calculation.Ret returnType, int dimension, boolean ignoreNaN)
           
 Matrix indexOfMax(Calculation.Ret returnType, int dimension)
          Finds the index of the maximum value in the matrix
 Matrix indexOfMin(Calculation.Ret returnType, int dimension)
          Finds the index of the minimum value in the matrix
 Matrix max(Calculation.Ret returnType, int dimension)
          Calculates the maximum of the values in the matrix either rowwise, columnwise, or global.
 Matrix mean(Calculation.Ret returnType, int dimension, boolean ignoreNaN)
          Calculates the mean of all entries in the Matrix either per row, per column, or global.
 Matrix min(Calculation.Ret returnType, int dimension)
          Calculates the mimimum of the values in the matrix either rowwise, columnwise, or global.
 Matrix mutualInf(Calculation.Ret returnType)
          Calculates the mutual information.
 Matrix pairedTTest(Calculation.Ret returnType)
          Calculates a paired T-Test on the matrix.
 Matrix prod(Calculation.Ret returnType, int dimension, boolean ignoreNaN)
           
 Matrix std(Calculation.Ret returnType, int dimension, boolean ignoreNaN)
          Calculates the standard deviation of all entries in the Matrix either per row, per column, or global.
 Matrix sum(Calculation.Ret returnType, int dimension, boolean ignoreNaN)
          Calculates the sum of all entries in the Matrix either per row, per column, or global.
 Matrix var(Calculation.Ret returnType, int dimension, boolean ignoreNaN)
          Calculates the variance of all entries in the Matrix either per row, per column, or global.
 

Method Detail

diff

Matrix diff(Calculation.Ret returnType,
            int dimension,
            boolean ignoreNaN)
            throws MatrixException
Throws:
MatrixException

prod

Matrix prod(Calculation.Ret returnType,
            int dimension,
            boolean ignoreNaN)
            throws MatrixException
Throws:
MatrixException

cumsum

Matrix cumsum(boolean ignoreNaN)
              throws MatrixException
Throws:
MatrixException

cumprod

Matrix cumprod(boolean ignoreNaN)
               throws MatrixException
Throws:
MatrixException

min

Matrix min(Calculation.Ret returnType,
           int dimension)
           throws MatrixException
Calculates the mimimum of the values in the matrix either rowwise, columnwise, or global.

Parameters:
returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
dimension - the axis along which should be calculated, e.g. ROW=0, COLUMN=1 or ALL
Returns:
A new matrix containing the minimum values
Throws:
MatrixException

max

Matrix max(Calculation.Ret returnType,
           int dimension)
           throws MatrixException
Calculates the maximum of the values in the matrix either rowwise, columnwise, or global.

Parameters:
returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
dimension - the axis along which should be calculated, e.g. ROW=0, COLUMN=1 or ALL
Returns:
A new matrix containing the maximum values
Throws:
MatrixException

sum

Matrix sum(Calculation.Ret returnType,
           int dimension,
           boolean ignoreNaN)
           throws MatrixException
Calculates the sum of all entries in the Matrix either per row, per column, or global.

Parameters:
returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
dimension - The axis along which to calculate
ignoreNaN - should missing values be ignored
Returns:
Matrix with the sum of the values along the desired axis
Throws:
MatrixException

mean

Matrix mean(Calculation.Ret returnType,
            int dimension,
            boolean ignoreNaN)
            throws MatrixException
Calculates the mean of all entries in the Matrix either per row, per column, or global.

Parameters:
returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
dimension - The axis along which to calculate
ignoreNaN - should missing values be ignored
Returns:
Matrix with the sum of the values along the desired axis
Throws:
MatrixException

var

Matrix var(Calculation.Ret returnType,
           int dimension,
           boolean ignoreNaN)
           throws MatrixException
Calculates the variance of all entries in the Matrix either per row, per column, or global.

Parameters:
returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
dimension - The axis along which to calculate
ignoreNaN - should missing values be ignored
Returns:
Matrix with the sum of the values along the desired axis
Throws:
MatrixException

std

Matrix std(Calculation.Ret returnType,
           int dimension,
           boolean ignoreNaN)
           throws MatrixException
Calculates the standard deviation of all entries in the Matrix either per row, per column, or global.

Parameters:
returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
dimension - The axis along which to calculate
ignoreNaN - should missing values be ignored
Returns:
Matrix with the sum of the values along the desired axis
Throws:
MatrixException

cov

Matrix cov(Calculation.Ret returnType,
           boolean ignoreNaN)
           throws MatrixException
Calculates the covariance Matrix. Each row is an observation and each column is a variable.

Parameters:
returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
ignoreNaN - should missing values be ignored
Returns:
Covariance Matrix
Throws:
MatrixException

corrcoef

Matrix corrcoef(Calculation.Ret returnType,
                boolean ignoreNaN)
                throws MatrixException
Calculates the Pearson correlation. Each row is an observation and each column is a variable.

Parameters:
returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
ignoreNaN - should missing values be ignored
Returns:
Covariance Matrix
Throws:
MatrixException

mutualInf

Matrix mutualInf(Calculation.Ret returnType)
                 throws MatrixException
Calculates the mutual information. Each row is an observation and each column is a variable.

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 mutual information
Throws:
MatrixException

pairedTTest

Matrix pairedTTest(Calculation.Ret returnType)
                   throws MatrixException
Calculates a paired T-Test on the matrix. Each row is an observation and each column is a variable.

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 p-values of the T-Test
Throws:
MatrixException

indexOfMax

Matrix indexOfMax(Calculation.Ret returnType,
                  int dimension)
                  throws MatrixException
Finds the index of the maximum value 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
dimension - The axis along which to calculate
Returns:
Matrix containing the coordinates of the Maximum
Throws:
MatrixException

indexOfMin

Matrix indexOfMin(Calculation.Ret returnType,
                  int dimension)
                  throws MatrixException
Finds the index of the minimum value 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
dimension - The axis along which to calculate
Returns:
Matrix containing the coordinates of the Minimum
Throws:
MatrixException


Copyright © 2010. All Rights Reserved.