org.ujmp.core
Interface Matrix
-
- All Superinterfaces:
- BaseMatrix, BaseMatrixProperties, BasicDoubleCalculations, BasicEntrywiseDoubleCalculations, BooleanCalculations, CanPerformCalculations, Clearable, java.lang.Cloneable, java.lang.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, java.io.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, ListDataSet, ListMatrix<T>, LongMatrix, LongMatrix2D, MapMatrix<K,V>, Matrix2D, MatrixMultiD, NumberMatrix<T>, NumberMatrix2D<T>, NumberMatrixMultiD<T>, ObjectMatrix, ObjectMatrix2D, ObjectMatrixMultiD, Sample, 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>, Variable
- All Known Implementing Classes:
- AbstractBigDecimalMatrix, AbstractBigIntegerMatrix, AbstractBooleanMatrix, AbstractByteArrayMatrix, AbstractByteMatrix, AbstractCharMatrix, AbstractDenseBigDecimalMatrix, AbstractDenseBigDecimalMatrix2D, AbstractDenseBigIntegerMatrix, AbstractDenseBigIntegerMatrix2D, AbstractDenseBooleanMatrix, AbstractDenseBooleanMatrix2D, AbstractDenseByteArrayMatrix, AbstractDenseByteArrayMatrix2D, AbstractDenseByteMatrix, AbstractDenseByteMatrix2D, AbstractDenseCharMatrix, AbstractDenseCharMatrix2D, AbstractDenseDoubleMatrix2D, AbstractDenseDoubleMatrixMultiD, AbstractDenseFloatMatrix, AbstractDenseFloatMatrix2D, AbstractDenseGenericMatrix, AbstractDenseGenericMatrix2D, AbstractDenseIntMatrix, AbstractDenseIntMatrix2D, AbstractDenseLongMatrix, AbstractDenseLongMatrix2D, AbstractDenseObjectMatrix, AbstractDenseObjectMatrix2D, AbstractDenseShortMatrix, AbstractDenseShortMatrix2D, AbstractDenseStringMatrix, AbstractDenseStringMatrix2D, AbstractDoubleMatrix, AbstractDoubleMatrix2D, AbstractDoubleMatrixMultiD, AbstractFloatMatrix, AbstractGenericMatrix, AbstractGraphMatrix, AbstractIntMatrix, AbstractListDataSet, AbstractListMatrix, AbstractLongMatrix, AbstractMapMatrix, AbstractMapMatrixList, AbstractMapToSparseMatrixWrapper, AbstractMapToTiledMatrix2DWrapper, AbstractMatrix, AbstractNumberMatrix, AbstractObjectMatrix, AbstractSample, 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, AbstractVariable, ArrayDenseBigDecimalMatrix2D, ArrayDenseBigIntegerMatrix2D, ArrayDenseBooleanMatrix2D, ArrayDenseByteMatrix2D, ArrayDenseCharMatrix2D, ArrayDenseDoubleMatrix2D, ArrayDenseFloatMatrix2D, ArrayDenseIntMatrix2D, ArrayDenseLongMatrix2D, ArrayDenseObjectMatrix2D, ArrayDenseShortMatrix2D, ArrayDenseStringMatrix2D, AvailableProcessorsMatrix, BenchmarkConfig, BigDecimalCalculationMatrix, BigIntegerCalculationMatrix, BitSetDenseBooleanMatrix2D, BlockDenseDoubleMatrix2D, BooleanCalculationMatrix, BufferedObjectMatrix, ByteCalculationMatrix, CharCalculationMatrix, ClientMatrix, DefaultDenseBigDecimalMatrix2D, DefaultDenseBigIntegerMatrix2D, DefaultDenseByteMatrix2D, DefaultDenseCharMatrix2D, DefaultDenseDoubleMatrix2D, DefaultDenseDoubleMatrixMultiD, DefaultDenseFloatMatrix2D, DefaultDenseGenericMatrix2D, DefaultDenseIntMatrix2D, DefaultDenseLongMatrix2D, DefaultDenseObjectMatrix2D, DefaultDenseObjectMatrixMultiD, DefaultDenseShortMatrix2D, DefaultDenseStringMatrix2D, DefaultGraphMatrix, DefaultListDataSet, DefaultListMatrix, DefaultMapMatrix, DefaultSample, DefaultSetMatrix, DefaultSparseBigDecimalMatrix, DefaultSparseBigIntegerMatrix, DefaultSparseBooleanMatrix, DefaultSparseByteMatrix, DefaultSparseCharMatrix, DefaultSparseColumnObjectMatrix2D, DefaultSparseDoubleMatrix, DefaultSparseDoubleVector1D, DefaultSparseFloatMatrix, DefaultSparseGenericMatrix, DefaultSparseIntMatrix, DefaultSparseLongMatrix, DefaultSparseObjectMatrix, DefaultSparseRowDoubleMatrix2D, DefaultSparseRowObjectMatrix2D, DefaultSparseShortMatrix, DefaultSparseStringMatrix, DefaultTextBlock, DefaultTextSentence, DefaultTextToken, DefaultTiledObjectMatrix2D, DefaultTreeMatrix, DefaultVariable, DenseCSVStringMatrix2D, DenseFileMatrix, DirectoryMatrix, DoubleCalculationMatrix, EmptyMatrix, FileFormatMatrix, FileMatrix, FloatCalculationMatrix, HttpMatrix, ImageMatrix, IndexedSparseDoubleMatrix2D, IntCalculationMatrix, IrisMatrix, JDMPPluginsMatrix, LocalhostMatrix, LogMatrix, LongCalculationMatrix, MandelbrotMatrix, MatrixDataSet, MatrixLibraries, MatrixListToMatrixWrapper, MatrixSample, MatrixUIDefaults, MemoryUsageMatrix, MortonDenseDoubleMartrix2D, NetworkInterfaceMatrix, NetworkMatrix, ObjectCalculationMatrix, ObjectTreeMatrix, OperatingSystemMatrix, RandomSeedMatrix, RelationalSample, RemoteHostMatrix, RemoteObjectMatrixUDP, RunningThreadsMatrix, SerializedSparseObjectMatrix, ServerObjectMatrixUDP, ShortCalculationMatrix, SparseCSVMatrix, SparseFeatureVector, StringCalculationMatrix, SubnetMatrix, SynchronizedGenericMatrix, SystemEnvironmentMatrix, SystemPropertiesMatrix, SystemTimeMatrix, TextContentMatrix, TimeSeriesMatrix, UJMPPluginsMatrix, UJMPSettings, VolatileSparseObjectMatrix, WaveMatrix, WelcomeMatrix, ZipEntryMatrix, ZipFileMatrix
public interface Matrix extends BaseMatrix, CoreObject, CoordinateFunctions, GettersAndSetters, CanPerformCalculations, DistanceMeasures, java.lang.Comparable<Matrix>, HasMetaData, Conversions, ExtendedMatrixProperties
Matrixis the main class for storing any type of data. You have to choose the suitable implementation for your needs, e.g.DefaultDenseDoubleMatrix2Dto store double values or DefaultGenericMatrix if you want to specify the object type.
-
-
Field Summary
Fields Modifier and Type Field and Description static Chol<Matrix>cholstatic DivideMatrixCalculation<Matrix,Matrix,Matrix>divideMatrixstatic DivideScalarCalculation<Matrix,Matrix>divideScalarstatic Eig<Matrix>eigstatic DefaultDenseMatrixFactoryFactoryA factory for creating matrices.static Inv<Matrix>invstatic LU<Matrix>lustatic MinusMatrixCalculation<Matrix,Matrix,Matrix>minusMatrixstatic MinusScalarCalculation<Matrix,Matrix>minusScalarstatic MtimesCalculation<Matrix,Matrix,Matrix>mtimesstatic PlusMatrixCalculation<Matrix,Matrix,Matrix>plusMatrixstatic PlusScalarCalculation<Matrix,Matrix>plusScalarstatic QR<Matrix>qrstatic Solve<Matrix>solvestatic SVD<Matrix>svdstatic TimesMatrixCalculation<Matrix,Matrix,Matrix>timesMatrixstatic TimesScalarCalculation<Matrix,Matrix>timesScalarstatic TransposeCalculation<Matrix,Matrix>transpose-
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.annotation.HasMetaData
DIMENSIONMETADATA
-
Fields inherited from interface org.ujmp.core.interfaces.HasDescription
DESCRIPTION
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description Matrixclone()MatrixExportDestinationSelectorexportTo()voidfireValueChanged()This method is used to signal changes in the object to the corresponding GUIObject if it exists.voidfireValueChanged(Coordinates start, Coordinates end)voidfireValueChanged(Coordinates coordinates, java.lang.Object object)MatrixImportSourceSelectorimportFrom()voidsave(java.io.File file)voidsave(java.lang.String filename)voidshare(int port)voidshare(java.lang.String hostname, int port)java.lang.StringtoHtml()-
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.interfaces.CoreObject
getCoreObjectId
-
Methods inherited from interface org.ujmp.core.interfaces.HasGUIObject
getGUIObject, showGUI
-
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.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.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.doublematrix.calculation.entrywise.rounding.RoundingDoubleCalculations
ceil, floor, round
-
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.trigonometric.TrigonometricDoubleCalculations
cos, sin, tan
-
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.entrywise.misc.MiscEntrywiseDoubleCalculations
grayScale
-
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.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.missingvalues.MissingValueDoubleCalculations
addMissing, countMissing, deleteColumnsWithMissingValues, deleteRowsWithMissingValues, impute
-
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.discretize.DiscretizeCalculations
discretize, discretize, discretizeToBoolean, discretizeToColumns
-
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 org.ujmp.core.stringmatrix.calculation.StringCalculations
convertEncoding, lowerCase, removePunctuation, removeWords, replaceRegex, replaceRegex, stem, tfIdf, translate, upperCase
-
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.interfaces.DistanceMeasures
chebyshevDistanceTo, cosineSimilarity, cosineSimilarityTo, euklideanDistance, euklideanDistanceTo, manhattenDistance, manhattenDistanceTo, minkowskiDistance, minkowskiDistanceTo
-
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.interfaces.HasLabel
getLabel, getLabelObject, setLabel
-
Methods inherited from interface org.ujmp.core.interfaces.HasDescription
getDescription, setDescription
-
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.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
-
-
-
-
Field Detail
-
Factory
static final DefaultDenseMatrixFactory Factory
A factory for creating matrices.
-
transpose
static final TransposeCalculation<Matrix,Matrix> transpose
-
plusMatrix
static final PlusMatrixCalculation<Matrix,Matrix,Matrix> plusMatrix
-
minusMatrix
static final MinusMatrixCalculation<Matrix,Matrix,Matrix> minusMatrix
-
timesMatrix
static final TimesMatrixCalculation<Matrix,Matrix,Matrix> timesMatrix
-
divideMatrix
static final DivideMatrixCalculation<Matrix,Matrix,Matrix> divideMatrix
-
plusScalar
static final PlusScalarCalculation<Matrix,Matrix> plusScalar
-
minusScalar
static final MinusScalarCalculation<Matrix,Matrix> minusScalar
-
timesScalar
static final TimesScalarCalculation<Matrix,Matrix> timesScalar
-
divideScalar
static final DivideScalarCalculation<Matrix,Matrix> divideScalar
-
mtimes
static final MtimesCalculation<Matrix,Matrix,Matrix> mtimes
-
-
Method Detail
-
clone
Matrix clone()
- Specified by:
clonein interfaceCoreObject
-
exportTo
MatrixExportDestinationSelector exportTo()
-
importFrom
MatrixImportSourceSelector importFrom()
-
share
void share(java.lang.String hostname, int port) throws java.net.UnknownHostException, java.io.IOException- Throws:
java.net.UnknownHostExceptionjava.io.IOException
-
share
void share(int port) throws java.io.IOException- Throws:
java.io.IOException
-
fireValueChanged
void fireValueChanged()
Description copied from interface:HasGUIObjectThis 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:
fireValueChangedin interfaceHasGUIObject
-
fireValueChanged
void fireValueChanged(Coordinates coordinates, java.lang.Object object)
-
fireValueChanged
void fireValueChanged(Coordinates start, Coordinates end)
-
save
void save(java.io.File file) throws java.io.IOException
- Throws:
java.io.IOException
-
save
void save(java.lang.String filename) throws java.io.IOException
- Throws:
java.io.IOException
-
toHtml
java.lang.String toHtml()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG