org.ujmp.core.interfaces
Interface BasicMatrixProperties

All Known Subinterfaces:
BigDecimalMatrix, BigDecimalMatrix2D, BigIntegerMatrix, BigIntegerMatrix2D, BooleanMatrix, BooleanMatrix2D, ByteMatrix, ByteMatrix2D, 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, 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 BasicMatrixProperties


Method Summary
 Iterable<Object> allValues()
           
 BigDecimal bigDecimalValue()
           
 BigInteger bigIntegerValue()
           
 boolean booleanValue()
           
 byte byteValue()
           
 char charValue()
           
 boolean containsBigDecimal(BigDecimal v)
           
 boolean containsBigInteger(BigInteger v)
           
 boolean containsBoolean(boolean v)
           
 boolean containsByte(byte v)
           
 boolean containsChar(char v)
           
 boolean containsDate(Date v)
           
 boolean containsDouble(double v)
           
 boolean containsFloat(float v)
           
 boolean containsInt(int v)
           
 boolean containsLong(long v)
           
 boolean containsMissingValues()
           
 boolean containsNull()
           
 boolean containsObject(Object o)
           
 boolean containsShort(short v)
           
 boolean containsString(String s)
           
 Date dateValue()
           
 double det()
           
 double doubleValue()
           
 boolean equals(Object o)
           
 boolean equalsAnnotation(Object o)
           
 boolean equalsContent(Object o)
           
 float floatValue()
           
 double getAbsoluteValueMean()
           
 double getAbsoluteValueSum()
           
 long getColumnCount()
           
 int getDimensionCount()
           
 double getEuklideanValue()
           
 double getMaxValue()
           
 double getMeanValue()
           
 double getMinValue()
           
 double getRMS()
           
 long getRowCount()
           
 long[] getSize()
           
 long getSize(int dimension)
           
 double getStdValue()
           
 Matrix.StorageType getStorageType()
           
 long getValueCount()
           
 double getValueSum()
           
 ValueType getValueType()
           
 long getZCount()
           
 int intValue()
           
 boolean isColumnVector()
           
 boolean isDiagonal()
           
 boolean isEmpty()
           
 boolean isMultidimensionalMatrix()
           
 boolean isReadOnly()
           
 boolean isResizable()
           
 boolean isRowVector()
           
 boolean isScalar()
           
 boolean isSingular()
           
 boolean isSparse()
           
 boolean isSPD()
           
 boolean isSquare()
           
 boolean isSymmetric()
           
 boolean isTransient()
           
 long longValue()
           
 double norm1()
           
 double norm2()
           
 double normF()
           
 double normInf()
           
 int rank()
           
 void setSize(long... size)
          Sets the size of the matrix.
 short shortValue()
           
 String stringValue()
           
 String toString()
           
 double trace()
           
 

Method Detail

allValues

Iterable<Object> allValues()

getValueType

ValueType getValueType()

getValueCount

long getValueCount()

isReadOnly

boolean isReadOnly()

isSingular

boolean isSingular()

equals

boolean equals(Object o)
Overrides:
equals in class Object

equalsContent

boolean equalsContent(Object o)

equalsAnnotation

boolean equalsAnnotation(Object o)

rank

int rank()
         throws MatrixException
Throws:
MatrixException

trace

double trace()
             throws MatrixException
Throws:
MatrixException

det

double det()
           throws MatrixException
Throws:
MatrixException

isDiagonal

boolean isDiagonal()
                   throws MatrixException
Throws:
MatrixException

isSquare

boolean isSquare()

isSymmetric

boolean isSymmetric()

isSPD

boolean isSPD()
              throws MatrixException
Throws:
MatrixException

isEmpty

boolean isEmpty()
                throws MatrixException
Throws:
MatrixException

isColumnVector

boolean isColumnVector()

isRowVector

boolean isRowVector()

isScalar

boolean isScalar()

isResizable

boolean isResizable()

isMultidimensionalMatrix

boolean isMultidimensionalMatrix()

isSparse

boolean isSparse()

isTransient

boolean isTransient()

containsMissingValues

boolean containsMissingValues()
                              throws MatrixException
Throws:
MatrixException

doubleValue

double doubleValue()
                   throws MatrixException
Throws:
MatrixException

intValue

int intValue()
             throws MatrixException
Throws:
MatrixException

longValue

long longValue()
               throws MatrixException
Throws:
MatrixException

shortValue

short shortValue()
                 throws MatrixException
Throws:
MatrixException

byteValue

byte byteValue()
               throws MatrixException
Throws:
MatrixException

booleanValue

boolean booleanValue()
                     throws MatrixException
Throws:
MatrixException

stringValue

String stringValue()
                   throws MatrixException
Throws:
MatrixException

dateValue

Date dateValue()
               throws MatrixException
Throws:
MatrixException

charValue

char charValue()
               throws MatrixException
Throws:
MatrixException

bigIntegerValue

BigInteger bigIntegerValue()
                           throws MatrixException
Throws:
MatrixException

bigDecimalValue

BigDecimal bigDecimalValue()
                           throws MatrixException
Throws:
MatrixException

floatValue

float floatValue()
                 throws MatrixException
Throws:
MatrixException

getMinValue

double getMinValue()
                   throws MatrixException
Throws:
MatrixException

getMeanValue

double getMeanValue()
                    throws MatrixException
Throws:
MatrixException

getStdValue

double getStdValue()
                   throws MatrixException
Throws:
MatrixException

getMaxValue

double getMaxValue()
                   throws MatrixException
Throws:
MatrixException

getEuklideanValue

double getEuklideanValue()
                         throws MatrixException
Throws:
MatrixException

getValueSum

double getValueSum()
                   throws MatrixException
Throws:
MatrixException

getAbsoluteValueSum

double getAbsoluteValueSum()
                           throws MatrixException
Throws:
MatrixException

getAbsoluteValueMean

double getAbsoluteValueMean()
                            throws MatrixException
Throws:
MatrixException

getRMS

double getRMS()
              throws MatrixException
Throws:
MatrixException

getRowCount

long getRowCount()

getColumnCount

long getColumnCount()

getZCount

long getZCount()

getSize

long getSize(int dimension)

getSize

long[] getSize()

setSize

void setSize(long... size)
Sets the size of the matrix. This is an optional method that is not implemented for all matrices. If this method is not implemented, a MatrixException is thrown.

Parameters:
size - the new size of the matrix

getDimensionCount

int getDimensionCount()

toString

String toString()
Overrides:
toString in class Object

norm1

double norm1()

norm2

double norm2()

normF

double normF()

normInf

double normInf()

getStorageType

Matrix.StorageType getStorageType()

containsNull

boolean containsNull()

containsBigDecimal

boolean containsBigDecimal(BigDecimal v)

containsBigInteger

boolean containsBigInteger(BigInteger v)

containsBoolean

boolean containsBoolean(boolean v)

containsByte

boolean containsByte(byte v)

containsChar

boolean containsChar(char v)

containsDate

boolean containsDate(Date v)

containsDouble

boolean containsDouble(double v)

containsFloat

boolean containsFloat(float v)

containsInt

boolean containsInt(int v)

containsLong

boolean containsLong(long v)

containsObject

boolean containsObject(Object o)

containsShort

boolean containsShort(short v)

containsString

boolean containsString(String s)


Copyright © 2010. All Rights Reserved.