public class DefaultDenseByteMatrix2D extends AbstractDenseByteMatrix2D implements HasColumnMajorByteArray1D
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, ZDIMENSIONMETADATADESCRIPTION| Constructor and Description |
|---|
DefaultDenseByteMatrix2D(byte[] v,
int rows,
int cols) |
DefaultDenseByteMatrix2D(int rows,
int cols) |
DefaultDenseByteMatrix2D(Matrix m) |
| Modifier and Type | Method and Description |
|---|---|
Matrix |
copy() |
Matrix |
divide(double v)
Divides every entry in the matrix by a scalar.
|
byte |
getByte(int row,
int column) |
byte |
getByte(long row,
long column) |
byte[] |
getColumnMajorByteArray1D() |
Matrix |
minus(double v)
Subtracts a specified value from all entries in the matrix.
|
Matrix |
plus(double v)
Adds a specified value to all entries in the matrix.
|
void |
setByte(byte value,
int row,
int column) |
void |
setByte(byte value,
long row,
long column) |
Matrix |
times(double v)
Multiplies every entry in the matrix with a scalar.
|
Matrix |
transpose()
Returns the transpose of the Matrix, where rows and columns are
exchanged.
|
getByte, getDimensionCount, getObject, getObject, setByte, setObject, setObjectavailableCoordinates, clear, containsCoordinates, isSparsegetAsByte, getAsDouble, getObject, getValueType, setAsByte, setAsDouble, 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, 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, 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, minus, mtimes, mtimes, mutualInf, nans, ne, ne, nonZeroCoordinates, norm1, norm2, normalize, normF, normInf, not, ones, or, or, pairedTTest, pdet, pinv, pinv, plus, 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, 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, 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, waitgetObject, setObjectclone, 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, isSparse, isSquare, isSymmetric, isTransient, setSize, toStringgetCoreObjectIdgetGUIObject, showGUIallCoordinates, availableCoordinates, containsCoordinates, 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, divide, minus, minus, minus, mtimes, mtimes, plus, plus, plus, times, 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 DefaultDenseByteMatrix2D(Matrix m)
public DefaultDenseByteMatrix2D(int rows,
int cols)
public DefaultDenseByteMatrix2D(byte[] v,
int rows,
int cols)
public byte getByte(long row,
long column)
getByte in interface ByteMatrix2Dpublic void setByte(byte value,
long row,
long column)
setByte in interface ByteMatrix2Dpublic byte getByte(int row,
int column)
getByte in interface ByteMatrix2Dpublic void setByte(byte value,
int row,
int column)
setByte in interface ByteMatrix2Dpublic final Matrix plus(double v)
BasicDoubleCalculationsplus in interface BasicDoubleCalculationsplus in class AbstractMatrixv - the value to addpublic final Matrix minus(double v)
BasicDoubleCalculationsminus in interface BasicDoubleCalculationsminus in class AbstractMatrixv - the value to subtractpublic final Matrix times(double v)
BasicDoubleCalculationstimes in interface BasicDoubleCalculationstimes in class AbstractMatrixv - factor to multiply withpublic final Matrix divide(double v)
BasicDoubleCalculationsdivide in interface BasicDoubleCalculationsdivide in class AbstractMatrixv - factor by which to dividepublic final Matrix copy()
public final Matrix transpose()
ObjectCalculationstranspose in interface ObjectCalculationstranspose in class AbstractMatrixpublic byte[] getColumnMajorByteArray1D()
getColumnMajorByteArray1D in interface HasColumnMajorByteArray1DCopyright © 2015 Universal Java Matrix Package. All rights reserved.