Package org.ujmp.core
Interface Matrix
- All Superinterfaces:
BaseMatrix
,BaseMatrixProperties
,BasicDoubleCalculations
,BasicEntrywiseDoubleCalculations
,BooleanCalculations
,CanPerformCalculations
,Clearable
,Cloneable
,Comparable<Matrix>
,Conversions
,CoordinateFunctions
,CoreObject
,CreatorDoubleCalculations
,DecompositionDoubleCalculations
,DiscretizeCalculations
,DistanceMeasures
,DoubleCalculations
,EntrywiseDoubleCalculations
,ExtendedMatrixProperties
,GeneralDoubleCalculations
,GettersAndSetters
,HasDescription
,HasGUIObject
,HasId
,HasLabel
,HasMetaData
,HyperbolicDoubleCalculations
,IntCalculations
,MiscEntrywiseDoubleCalculations
,MiscGeneralDoubleCalculations
,MissingValueDoubleCalculations
,ObjectCalculations
,RoundingDoubleCalculations
,Serializable
,StatisticalDoubleCalculations
,StringCalculations
,TrigonometricDoubleCalculations
- All Known Subinterfaces:
BaseBigDecimalMatrix
,BaseBigIntegerMatrix
,BaseBooleanMatrix
,BaseDoubleMatrix
,BaseGenericMatrix<T>
,BaseNumberMatrix<T>
,BaseObjectMatrix
,BigDecimalMatrix
,BigDecimalMatrix2D
,BigDecimalMatrixMultiD
,BigIntegerMatrix
,BigIntegerMatrix2D
,BigIntegerMatrixMultiD
,BooleanMatrix
,BooleanMatrix2D
,ByteArrayMatrix
,ByteArrayMatrix2D
,ByteMatrix
,ByteMatrix2D
,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
,DoubleMatrix
,DoubleMatrix2D
,DoubleMatrixMultiD
,FileOrDirectoryMatrix
,FloatMatrix
,FloatMatrix2D
,GenericMatrix<T>
,GenericMatrix2D<T>
,GenericMatrixMultiD<T>
,GraphMatrix<N,
,E> IntMatrix
,IntMatrix2D
,ListMatrix<T>
,LongMatrix
,LongMatrix2D
,MapMatrix<K,
,V> 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 Matrix
extends BaseMatrix, CoreObject, CoordinateFunctions, GettersAndSetters, CanPerformCalculations, DistanceMeasures, Comparable<Matrix>, HasMetaData, Conversions, ExtendedMatrixProperties
Matrix
is the main class for storing any type of data. You have
to choose the suitable implementation for your needs, e.g.
DefaultDenseDoubleMatrix2D
to store double values or
DefaultGenericMatrix if you want to specify the object type.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DivideMatrixCalculation<Matrix,
Matrix, Matrix> static final DivideScalarCalculation<Matrix,
Matrix> static final DefaultDenseMatrixFactory
A factory for creating matrices.static final MinusMatrixCalculation<Matrix,
Matrix, Matrix> static final MinusScalarCalculation<Matrix,
Matrix> static final MtimesCalculation<Matrix,
Matrix, Matrix> static final PlusMatrixCalculation<Matrix,
Matrix, Matrix> static final PlusScalarCalculation<Matrix,
Matrix> static final TimesMatrixCalculation<Matrix,
Matrix, Matrix> static final TimesScalarCalculation<Matrix,
Matrix> static final TransposeCalculation<Matrix,
Matrix> Fields inherited from interface org.ujmp.core.BaseMatrix
ALL, COLUMN, LINK, NEW, NONE, ORIG, ROW, X, Y, Z
Fields inherited from interface org.ujmp.core.interfaces.HasDescription
DESCRIPTION
Fields inherited from interface org.ujmp.core.annotation.HasMetaData
DIMENSIONMETADATA
-
Method Summary
Modifier and TypeMethodDescriptionclone()
exportTo()
void
This method is used to signal changes in the object to the corresponding GUIObject if it exists.void
fireValueChanged
(Coordinates coordinates, Object object) void
fireValueChanged
(Coordinates start, Coordinates end) void
void
void
share
(int port) void
toHtml()
Methods inherited from interface org.ujmp.core.BaseMatrix
getFactory
Methods inherited from interface org.ujmp.core.interfaces.BaseMatrixProperties
allValues, equals, equalsAnnotation, equalsContent, getColumnCount, getColumnList, getDimensionCount, getRowCount, getRowList, getSize, getSize, getValueCount, getValueType, getZCount, isColumnVector, isDiagonal, isEmpty, isMultidimensionalMatrix, isReadOnly, isResizable, isRowVector, isScalar, isSingular, isSparse, isSquare, isSymmetric, isTransient, setSize, toString
Methods inherited from interface org.ujmp.core.doublematrix.calculation.basic.BasicDoubleCalculations
atimes, divide, divide, divide, divide, minus, minus, minus, minus, mtimes, mtimes, plus, plus, plus, plus, times, times, times, times
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.basic.BasicEntrywiseDoubleCalculations
abs, exp, log, log10, log2, logistic, power, power, sign, sqrt
Methods inherited from interface org.ujmp.core.booleanmatrix.calculation.BooleanCalculations
and, and, eq, eq, ge, ge, gt, gt, le, le, lt, lt, ne, ne, not, or, or, xor, xor
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface org.ujmp.core.interfaces.Conversions
toBigDecimalMatrix, toBigIntegerMatrix, toBooleanMatrix, toByteMatrix, toCharMatrix, toDoubleMatrix, toFloatMatrix, toIntMatrix, toListMatrix, toLongMatrix, toMapMatrix, toObjectMatrix, toSetMatrix, toShortMatrix, toStringMatrix
Methods inherited from interface org.ujmp.core.interfaces.CoordinateFunctions
allCoordinates, availableCoordinates, containsCoordinates, getCoordinatesOfMaximum, getCoordinatesOfMinimum, nonZeroCoordinates, selectedCoordinates, selectedCoordinates
Methods inherited from interface org.ujmp.core.interfaces.CoreObject
getCoreObjectId
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.creators.CreatorDoubleCalculations
eye, nans, ones, rand, randn, zeros
Methods inherited from interface org.ujmp.core.doublematrix.calculation.general.decomposition.DecompositionDoubleCalculations
chol, eig, eigSymm, ginv, inv, invSPD, invSymm, lu, pinv, pinv, princomp, qr, solve, solveSPD, solveSymm, svd, svd
Methods inherited from interface org.ujmp.core.doublematrix.calculation.general.discretize.DiscretizeCalculations
discretize, discretize, discretizeToBoolean, discretizeToColumns
Methods inherited from interface org.ujmp.core.interfaces.DistanceMeasures
chebyshevDistanceTo, cosineSimilarity, cosineSimilarityTo, euklideanDistance, euklideanDistanceTo, manhattenDistance, manhattenDistanceTo, minkowskiDistance, minkowskiDistanceTo
Methods inherited from interface org.ujmp.core.interfaces.ExtendedMatrixProperties
bigDecimalValue, bigIntegerValue, booleanValue, byteValue, charValue, containsBigDecimal, containsBigInteger, containsBoolean, containsByte, containsChar, containsDate, containsDouble, containsFloat, containsInt, containsLong, containsMissingValues, containsNull, containsObject, containsShort, containsString, dateValue, det, doubleValue, floatValue, getAbsoluteValueMean, getAbsoluteValueSum, getEuklideanValue, getMaxValue, getMeanValue, getMinValue, getRMS, getStdValue, getValueSum, intValue, isSPD, longValue, norm1, norm2, normF, normInf, pdet, rank, setContent, shortValue, stringValue, trace
Methods inherited from interface org.ujmp.core.interfaces.GettersAndSetters
getAsBigDecimal, getAsBigInteger, getAsBoolean, getAsByte, getAsByteArray, getAsChar, getAsDate, getAsDouble, getAsFloat, getAsInt, getAsLong, getAsMatrix, getAsObject, getAsShort, getAsString, getPreferredObject, setAsBigDecimal, setAsBigInteger, setAsBoolean, setAsByte, setAsByteArray, setAsChar, setAsDate, setAsDouble, setAsFloat, setAsInt, setAsLong, setAsMatrix, setAsObject, setAsShort, setAsString, toBigDecimalArray, toBigIntegerArray, toBooleanArray, toByteArray, toCharArray, toDateArray, toDoubleArray, toFloatArray, toIntArray, toLongArray, toObjectArray, toShortArray, toStringArray
Methods inherited from interface org.ujmp.core.interfaces.HasDescription
getDescription, setDescription
Methods inherited from interface org.ujmp.core.interfaces.HasGUIObject
getGUIObject, showGUI
Methods inherited from interface org.ujmp.core.interfaces.HasLabel
getLabel, getLabelObject, setLabel
Methods inherited from interface org.ujmp.core.annotation.HasMetaData
getColumnForLabel, getColumnLabel, getDimensionLabel, getDimensionMetaData, getMetaData, getMetaData, getMetaDataDimensionMatrix, getMetaDataDouble, getMetaDataMatrix, getMetaDataString, getPositionForLabel, getRowForLabel, getRowLabel, setColumnLabel, setDimensionLabel, setDimensionMetaData, setMetaData, setMetaData, setMetaDataDimensionMatrix, setRowLabel
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.hyperbolic.HyperbolicDoubleCalculations
cosh, sinh, tanh, tanh
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.misc.MiscEntrywiseDoubleCalculations
grayScale
Methods inherited from interface org.ujmp.core.doublematrix.calculation.general.misc.MiscGeneralDoubleCalculations
append, appendHorizontally, appendVertically, center, fadeIn, fadeOut, normalize, replaceMissingBy, standardize
Methods inherited from interface org.ujmp.core.doublematrix.calculation.general.missingvalues.MissingValueDoubleCalculations
addMissing, countMissing, deleteColumnsWithMissingValues, deleteRowsWithMissingValues, impute
Methods inherited from interface org.ujmp.core.objectmatrix.calculation.ObjectCalculations
bootstrap, bootstrap, convert, delete, delete, delete, deleteColumns, deleteColumns, deleteRows, deleteRows, diag, extractAnnotation, fill, flipdim, includeAnnotation, replace, reshape, select, select, select, selectColumns, selectColumns, selectRows, selectRows, shuffle, sortrows, squeeze, subMatrix, swap, toColumnVector, toRowVector, transpose, transpose, transpose, tril, triu, unique, uniqueValueCount
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.rounding.RoundingDoubleCalculations
ceil, floor, round
Methods inherited from interface org.ujmp.core.doublematrix.calculation.general.statistical.StatisticalDoubleCalculations
corrcoef, cov, cumprod, cumsum, diff, indexOfMax, indexOfMin, max, mean, min, mutualInf, pairedTTest, prod, std, sum, var
Methods inherited from interface org.ujmp.core.stringmatrix.calculation.StringCalculations
convertEncoding, lowerCase, removePunctuation, removeWords, replaceRegex, replaceRegex, stem, tfIdf, translate, upperCase
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.trigonometric.TrigonometricDoubleCalculations
cos, sin, tan
-
Field Details
-
Factory
A factory for creating matrices. -
transpose
-
plusMatrix
-
minusMatrix
-
timesMatrix
-
divideMatrix
-
plusScalar
-
minusScalar
-
timesScalar
-
divideScalar
-
mtimes
-
svd
-
lu
-
qr
-
inv
-
solve
-
chol
-
eig
-
-
Method Details
-
clone
Matrix clone()- Specified by:
clone
in interfaceCoreObject
-
exportTo
MatrixExportDestinationSelector exportTo() -
importFrom
MatrixImportSourceSelector importFrom() -
fireValueChanged
void fireValueChanged()Description copied from interface:HasGUIObject
This method is used to signal changes in the object to the corresponding GUIObject if it exists.Maybe this method can be deleted, when all changes are made trough the GUIObject?
- Specified by:
fireValueChanged
in interfaceHasGUIObject
-
fireValueChanged
-
fireValueChanged
-
save
- Throws:
IOException
-
save
- Throws:
IOException
-
toHtml
String toHtml()
-