public abstract class AbstractDenseDoubleMatrix2D extends AbstractDoubleMatrix2D implements DenseDoubleMatrix2D
guiObject, sizeFactorychol, divideMatrix, divideScalar, eig, inv, lu, minusMatrix, minusScalar, mtimes, plusMatrix, plusScalar, qr, solve, svd, timesMatrix, timesScalar, transposeALL, COLUMN, LINK, NEW, NONE, ORIG, ROW, X, Y, ZDIMENSIONMETADATADESCRIPTIONFactory| Constructor and Description |
|---|
AbstractDenseDoubleMatrix2D(long rows,
long columns) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<long[]> |
availableCoordinates()
Returns an Iterator that only goes over the coordinates in the Matrix
that are stored.
|
void |
clear() |
boolean |
containsCoordinates(long... coordinates)
Determines if the given Coordinates are part of the Matrix.
|
Matrix |
divide(double v)
Divides every entry in the matrix by a scalar.
|
Matrix |
divide(Matrix m2)
Calculates an entrywise division of the two matrices.
|
double |
getAsDouble(int row,
int column) |
double |
getAsDouble(long row,
long column) |
int |
getDimensionCount() |
Double |
getObject(int row,
int column) |
Double |
getObject(long row,
long column) |
boolean |
isSparse() |
Matrix |
minus(double v)
Subtracts a specified value from all entries in the matrix.
|
Matrix |
minus(Matrix m2)
Calculates the difference of the entries in both matrices
|
Matrix |
mtimes(Matrix m2)
Performs a matrix multiplication on the two matrices.
|
Matrix |
plus(double v)
Adds a specified value to all entries in the matrix.
|
Matrix |
plus(Matrix m2)
Calculates the sum of the entries in both matrices
|
void |
setAsDouble(double value,
int row,
int column) |
void |
setAsDouble(double value,
long row,
long column) |
void |
setObject(Double o,
int row,
int column) |
void |
setObject(Double o,
long row,
long column) |
Matrix |
times(double v)
Multiplies every entry in the matrix with a scalar.
|
Matrix |
times(Matrix m2)
Calculates the entrywise product of the two matrices.
|
Matrix |
transpose()
Returns the transpose of the Matrix, where rows and columns are
exchanged.
|
getDouble, setDoublegetAsDouble, getNumber, getObject, getValueType, setAsDouble, setNumber, setObjectgetAsObject, setAsObjectabs, addMissing, allCoordinates, allValues, and, and, append, appendHorizontally, appendVertically, atimes, bigDecimalValue, bigIntegerValue, booleanValue, bootstrap, bootstrap, ceil, center, charValue, chebyshevDistanceTo, chol, clone, compareTo, containsBigDecimal, containsBigInteger, containsBoolean, containsByte, containsChar, containsDate, containsDouble, containsFloat, containsInt, containsLong, containsMissingValues, containsNull, containsObject, containsShort, containsString, convert, convertEncoding, corrcoef, cos, cosh, cosineSimilarity, cosineSimilarityTo, countMissing, cov, cumprod, cumsum, dateValue, delete, delete, delete, deleteColumns, deleteColumns, deleteColumnsWithMissingValues, deleteRows, deleteRows, deleteRowsWithMissingValues, det, diag, diff, discretize, discretize, discretizeToBoolean, discretizeToColumns, divide, divide, doubleValue, eig, eigSymm, eq, eq, equals, equalsAnnotation, equalsContent, euklideanDistance, euklideanDistanceTo, exp, exportTo, extractAnnotation, eye, fadeIn, fadeOut, fill, fireValueChanged, fireValueChanged, fireValueChanged, flipdim, floatValue, floor, ge, ge, getAbsoluteValueMean, getAbsoluteValueSum, getAsBigDecimal, getAsBigInteger, getAsBoolean, getAsByte, getAsByteArray, getAsChar, getAsDate, getAsFloat, getAsInt, getAsLong, getAsMatrix, getAsShort, getAsString, getColumnCount, getColumnForLabel, getColumnLabel, getColumnList, getCoordinatesOfMaximum, getCoordinatesOfMinimum, getCoreObjectId, getDescription, getDimensionLabel, getDimensionMetaData, getEuklideanValue, getFactory, getGUIObject, getId, getLabel, getLabelObject, getMaxValue, getMeanValue, getMetaData, getMetaData, getMetaDataDimensionMatrix, getMetaDataDouble, getMetaDataMatrix, getMetaDataString, getMinValue, getPositionForLabel, getPreferredObject, getRMS, getRowCount, getRowForLabel, getRowLabel, getRowList, getSize, getSize, getStdValue, getValueCount, getValueSum, getZCount, ginv, grayScale, gt, gt, importFrom, impute, includeAnnotation, indexOfMax, indexOfMin, intValue, inv, invSPD, invSymm, isColumnVector, isDiagonal, isEmpty, isMultidimensionalMatrix, isReadOnly, isResizable, isRowVector, isScalar, isSingular, isSPD, isSquare, isSymmetric, isTransient, le, le, log, log10, log2, logistic, longValue, lowerCase, lt, lt, lu, manhattenDistance, manhattenDistanceTo, max, mean, min, minkowskiDistance, minkowskiDistanceTo, minus, minus, mtimes, mutualInf, nans, ne, ne, nonZeroCoordinates, norm1, norm2, normalize, normF, normInf, not, ones, or, or, pairedTTest, pdet, pinv, pinv, plus, plus, power, power, princomp, prod, qr, rand, randn, rank, removePunctuation, removeWords, replace, replaceMissingBy, replaceRegex, replaceRegex, reshape, round, save, save, select, select, select, selectColumns, selectColumns, selectedCoordinates, selectedCoordinates, selectRows, selectRows, setAsBigDecimal, setAsBigInteger, setAsBoolean, setAsByte, setAsByteArray, setAsChar, setAsDate, setAsFloat, setAsInt, setAsLong, setAsMatrix, setAsShort, setAsString, setColumnLabel, setContent, setDescription, setDimensionLabel, setDimensionMetaData, setId, setLabel, setMetaData, setMetaData, setMetaDataDimensionMatrix, setRowLabel, setSize, share, share, showGUI, shuffle, sign, sin, sinh, solve, solveSPD, solveSymm, sortrows, sqrt, squeeze, standardize, std, stem, stringValue, subMatrix, sum, svd, svd, swap, tan, tanh, tanh, tfIdf, times, times, toBigDecimalArray, toBigDecimalMatrix, toBigIntegerArray, toBigIntegerMatrix, toBooleanArray, toBooleanMatrix, toByteArray, toByteMatrix, toCharArray, toCharMatrix, toColumnVector, toDateArray, toDoubleArray, toDoubleMatrix, toFloatArray, toFloatMatrix, toHtml, toIntArray, toIntMatrix, toListMatrix, toLongArray, toLongMatrix, toMapMatrix, toObjectArray, toObjectMatrix, toRowVector, toSetMatrix, toShortArray, toShortMatrix, toString, toStringArray, toStringMatrix, trace, translate, transpose, transpose, tril, triu, unique, uniqueValueCount, upperCase, var, xor, xor, zerosbyteValue, shortValuefinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDouble, getDouble, setDouble, setDoubleclone, exportTo, fireValueChanged, fireValueChanged, fireValueChanged, importFrom, save, save, share, share, toHtmlgetFactoryallValues, equals, equalsAnnotation, equalsContent, getColumnCount, getColumnList, getRowCount, getRowList, getSize, getSize, getValueCount, getValueType, getZCount, isColumnVector, isDiagonal, isEmpty, isMultidimensionalMatrix, isReadOnly, isResizable, isRowVector, isScalar, isSingular, isSquare, isSymmetric, isTransient, setSize, toStringgetCoreObjectIdgetGUIObject, showGUIallCoordinates, getCoordinatesOfMaximum, getCoordinatesOfMinimum, nonZeroCoordinates, selectedCoordinates, selectedCoordinatesgetAsBigDecimal, 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, toStringArrayatimes, divide, divide, minus, minus, mtimes, plus, plus, times, timesabs, exp, log, log10, log2, logistic, power, power, sign, sqrtceil, floor, roundcosh, sinh, tanh, tanhcos, sin, taneye, nans, ones, rand, randn, zerosgrayScalecorrcoef, cov, cumprod, cumsum, diff, indexOfMax, indexOfMin, max, mean, min, mutualInf, pairedTTest, prod, std, sum, varchol, eig, eigSymm, ginv, inv, invSPD, invSymm, lu, pinv, pinv, princomp, qr, solve, solveSPD, solveSymm, svd, svdaddMissing, countMissing, deleteColumnsWithMissingValues, deleteRowsWithMissingValues, imputeappend, appendHorizontally, appendVertically, center, fadeIn, fadeOut, normalize, replaceMissingBy, standardizediscretize, discretize, discretizeToBoolean, discretizeToColumnsand, and, eq, eq, ge, ge, gt, gt, le, le, lt, lt, ne, ne, not, or, or, xor, xorconvertEncoding, lowerCase, removePunctuation, removeWords, replaceRegex, replaceRegex, stem, tfIdf, translate, upperCasebootstrap, 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, tril, triu, unique, uniqueValueCountchebyshevDistanceTo, cosineSimilarity, cosineSimilarityTo, euklideanDistance, euklideanDistanceTo, manhattenDistance, manhattenDistanceTo, minkowskiDistance, minkowskiDistanceTocompareTogetColumnForLabel, getColumnLabel, getDimensionLabel, getDimensionMetaData, getMetaData, getMetaData, getMetaDataDimensionMatrix, getMetaDataDouble, getMetaDataMatrix, getMetaDataString, getPositionForLabel, getRowForLabel, getRowLabel, setColumnLabel, setDimensionLabel, setDimensionMetaData, setMetaData, setMetaData, setMetaDataDimensionMatrix, setRowLabelgetLabel, getLabelObject, setLabelgetDescription, setDescriptiontoBigDecimalMatrix, toBigIntegerMatrix, toBooleanMatrix, toByteMatrix, toCharMatrix, toDoubleMatrix, toFloatMatrix, toIntMatrix, toListMatrix, toLongMatrix, toMapMatrix, toObjectMatrix, toSetMatrix, toShortMatrix, toStringMatrixbigDecimalValue, 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, tracepublic AbstractDenseDoubleMatrix2D(long rows,
long columns)
public final Double getObject(long row, long column)
getObject in interface GenericMatrix2D<Double>getObject in class AbstractGenericMatrix<Double>public final void setObject(Double o, long row, long column)
setObject in interface GenericMatrix2D<Double>setObject in class AbstractGenericMatrix<Double>public final Double getObject(int row, int column)
getObject in interface GenericMatrix2D<Double>getObject in class AbstractGenericMatrix<Double>public final void setObject(Double o, int row, int column)
setObject in interface GenericMatrix2D<Double>setObject in class AbstractGenericMatrix<Double>public double getAsDouble(long row,
long column)
public double getAsDouble(int row,
int column)
public void setAsDouble(double value,
int row,
int column)
public void setAsDouble(double value,
long row,
long column)
public final boolean isSparse()
isSparse in interface BaseMatrixPropertiespublic Matrix mtimes(Matrix m2)
BasicDoubleCalculationsmtimes in interface BasicDoubleCalculationsmtimes in class AbstractMatrixm2 - the second matrixpublic Matrix times(Matrix m2)
BasicDoubleCalculationstimes in interface BasicDoubleCalculationstimes in class AbstractMatrixm2 - the second matrixpublic Matrix divide(Matrix m2)
BasicDoubleCalculationsdivide in interface BasicDoubleCalculationsdivide in class AbstractMatrixm2 - the second matrixpublic Matrix plus(Matrix m2)
BasicDoubleCalculationsplus in interface BasicDoubleCalculationsplus in class AbstractMatrixm2 - The matrix to addpublic Matrix minus(Matrix m2)
BasicDoubleCalculationsminus in interface BasicDoubleCalculationsminus in class AbstractMatrixm2 - The matrix to subtractpublic Matrix minus(double v)
BasicDoubleCalculationsminus in interface BasicDoubleCalculationsminus in class AbstractMatrixv - the value to subtractpublic Matrix plus(double v)
BasicDoubleCalculationsplus in interface BasicDoubleCalculationsplus in class AbstractMatrixv - the value to addpublic Matrix times(double v)
BasicDoubleCalculationstimes in interface BasicDoubleCalculationstimes in class AbstractMatrixv - factor to multiply withpublic Matrix divide(double v)
BasicDoubleCalculationsdivide in interface BasicDoubleCalculationsdivide in class AbstractMatrixv - factor by which to dividepublic Matrix transpose()
ObjectCalculationstranspose in interface ObjectCalculationstranspose in class AbstractMatrixpublic final int getDimensionCount()
getDimensionCount in interface BaseMatrixPropertiesgetDimensionCount in class AbstractMatrixpublic final boolean containsCoordinates(long... coordinates)
CoordinateFunctionscontainsCoordinates in interface CoordinateFunctionscoordinates - The coordinates to checkpublic final Iterable<long[]> availableCoordinates()
CoordinateFunctionsavailableCoordinates in interface CoordinateFunctionsCopyright © 2015 Universal Java Matrix Package. All rights reserved.