public abstract class AbstractMatrix extends Number implements Matrix
| Modifier and Type | Field and Description |
|---|---|
protected GUIObject |
guiObject |
protected long[] |
size |
chol, divideMatrix, divideScalar, eig, Factory, inv, lu, minusMatrix, minusScalar, mtimes, plusMatrix, plusScalar, qr, solve, svd, timesMatrix, timesScalar, transposeALL, COLUMN, LINK, NEW, NONE, ORIG, ROW, X, Y, ZDIMENSIONMETADATADESCRIPTION| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMatrix(long[] size) |
| Modifier and Type | Method and Description |
|---|---|
Matrix |
abs(Calculation.Ret returnType)
Calculates the absolute values of all entries in a Matrix.
|
Matrix |
addMissing(Calculation.Ret returnType,
int dimension,
double... percentMissing)
Adds a specified amount of missing values (Double.NaN) to the Matrix
|
Iterable<long[]> |
allCoordinates()
Returns an Iterator that goes over all coordinates in the Matrix.
|
Iterable<Object> |
allValues() |
Matrix |
and(Calculation.Ret returnType,
boolean value) |
Matrix |
and(Calculation.Ret returnType,
Matrix matrix) |
Matrix |
append(Calculation.Ret returnType,
int dimension,
Matrix... matrices) |
Matrix |
appendHorizontally(Calculation.Ret returnType,
Matrix... matrices) |
Matrix |
appendVertically(Calculation.Ret returnType,
Matrix... matrices) |
Matrix |
atimes(Calculation.Ret returnType,
boolean ignoreNaN,
Matrix matrix)
Performs an averaging matrix multiplication on the two matrices.
|
BigDecimal |
bigDecimalValue() |
BigInteger |
bigIntegerValue() |
boolean |
booleanValue() |
Matrix |
bootstrap(Calculation.Ret returnType) |
Matrix |
bootstrap(Calculation.Ret returnType,
int count) |
Matrix |
ceil(Calculation.Ret returnType)
Returns a matrix with all entries rounded up to the next integer.
|
Matrix |
center(Calculation.Ret returnType,
int dimension,
boolean ignoreNaN)
Subtracts the mean from the matrix.
|
char |
charValue() |
double |
chebyshevDistanceTo(Matrix m,
boolean ignoreNaN) |
Matrix |
chol()
Calculates a Cholesky decomposition of the matrix.
|
Matrix |
clone() |
int |
compareTo(Matrix m) |
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) |
Matrix |
convert(ValueType newValueType)
Creates a copy of the matrix with the desired type for matrix entries.
|
Matrix |
convertEncoding(Calculation.Ret returnType,
String encoding) |
Matrix |
corrcoef(Calculation.Ret returnType,
boolean ignoreNaN,
boolean besselsCorrection)
Calculates the Pearson correlation.
|
Matrix |
cos(Calculation.Ret returnType)
Calculates the cosinus of all entries in the matrix.
|
Matrix |
cosh(Calculation.Ret returnType)
Calculates the hyperbolic cosinus of all entries in the matrix.
|
Matrix |
cosineSimilarity(Calculation.Ret returnType,
boolean ignoreNaN) |
double |
cosineSimilarityTo(Matrix m,
boolean ignoreNaN) |
Matrix |
countMissing(Calculation.Ret returnType,
int dimension)
Counts the missing values within the matrix, i.e.
|
Matrix |
cov(Calculation.Ret returnType,
boolean ignoreNaN,
boolean besselsCorrection)
Calculates the covariance Matrix.
|
Matrix |
cumprod(boolean ignoreNaN) |
Matrix |
cumsum(boolean ignoreNaN) |
Date |
dateValue() |
Matrix |
delete(Calculation.Ret returnType,
Collection<? extends Number>... selection)
Delete rows and columns in the Matrix and returns a link to it.
|
Matrix |
delete(Calculation.Ret returnType,
long[]... selection)
Delete rows and columns in the Matrix and returns a link to it.
|
Matrix |
delete(Calculation.Ret returnType,
String selection)
Deletes rows and columns in the Matrix and returns a link to it.
|
Matrix |
deleteColumns(Calculation.Ret returnType,
Collection<? extends Number> columns)
Deletes columns in the Matrix and returns a link to it.
|
Matrix |
deleteColumns(Calculation.Ret returnType,
long... columns)
Deletes columns in the Matrix and returns a link to it.
|
Matrix |
deleteColumnsWithMissingValues(Calculation.Ret returnType) |
Matrix |
deleteRows(Calculation.Ret returnType,
Collection<? extends Number> rows)
Deletes rows in the Matrix and returns a link to it.
|
Matrix |
deleteRows(Calculation.Ret returnType,
long... rows)
Deletes rows in the Matrix and returns a link to it.
|
Matrix |
deleteRowsWithMissingValues(Calculation.Ret returnType,
long threshold) |
double |
det() |
Matrix |
diag(Calculation.Ret returnType) |
Matrix |
diff(Calculation.Ret returnType,
int dimension,
boolean ignoreNaN) |
Matrix |
discretize(Calculation.Ret returnType,
Dictionary dictionary) |
Matrix |
discretize(Calculation.Ret returnType,
int dimension,
Discretize.DiscretizationMethod method,
int numberOfBins) |
Matrix |
discretizeToBoolean(int targetColumnCount) |
Matrix |
discretizeToColumns(long column) |
Matrix |
divide(Calculation.Ret returnType,
boolean ignoreNaN,
double factor)
Divides every entry in the matrix by a scalar.
|
Matrix |
divide(Calculation.Ret returnType,
boolean ignoreNaN,
Matrix factor)
Divides every entry in the matrix by the entries of another matrix.
|
Matrix |
divide(double divisor)
Divides every entry in the matrix by a scalar.
|
Matrix |
divide(Matrix m)
Calculates an entrywise division of the two matrices.
|
double |
doubleValue() |
Matrix[] |
eig()
Calculates the Eigen decomposition of the matrix.
|
Matrix[] |
eigSymm()
Calculates the Eigen decomposition of a symmetric matrix.
|
Matrix |
eq(Calculation.Ret returnType,
Matrix matrix) |
Matrix |
eq(Calculation.Ret returnType,
Object value) |
boolean |
equals(Object o) |
boolean |
equalsAnnotation(Object o) |
boolean |
equalsContent(Object o) |
Matrix |
euklideanDistance(Calculation.Ret returnType,
boolean ignoreNaN) |
double |
euklideanDistanceTo(Matrix m,
boolean ignoreNaN) |
Matrix |
exp(Calculation.Ret returnType)
Calculates the exponential function for all entries in the Matrix.
|
MatrixExportDestinationSelector |
exportTo() |
Matrix |
extractAnnotation(Calculation.Ret returnType,
int dimension)
Generates annotation such as row or column labels from the content of
this matrix.
|
Matrix |
eye(Calculation.Ret ret)
Returns a matrix with ones at the diagonal.
|
Matrix |
fadeIn(Calculation.Ret ret,
int dimension) |
Matrix |
fadeOut(Calculation.Ret ret,
int dimension) |
Matrix |
fill(Calculation.Ret ret,
Object value)
Returns a matrix with equal size, where all entries are set to a desired
value.
|
void |
fireValueChanged()
This method is used to signal changes in the object to the corresponding
GUIObject if it exists.
|
void |
fireValueChanged(Coordinates start,
Coordinates end) |
void |
fireValueChanged(Coordinates coordinates,
Object object) |
Matrix |
flipdim(Calculation.Ret returnType,
int dimension) |
float |
floatValue() |
Matrix |
floor(Calculation.Ret returnType)
Returns a matrix with all entries rounded down to the next integer.
|
Matrix |
ge(Calculation.Ret returnType,
double value) |
Matrix |
ge(Calculation.Ret returnType,
Matrix matrix) |
double |
getAbsoluteValueMean() |
double |
getAbsoluteValueSum() |
BigDecimal |
getAsBigDecimal(long... coordinates) |
BigInteger |
getAsBigInteger(long... coordinates) |
boolean |
getAsBoolean(long... coordinates)
Returns a byte representation of an entry in the matrix.
|
byte |
getAsByte(long... coordinates)
Returns a byte representation of an entry in the matrix.
|
byte[] |
getAsByteArray(long... coordinates)
Returns a byte array representation of an entry in the matrix.
|
char |
getAsChar(long... coordinates)
Returns a char representation of an entry in the matrix.
|
Date |
getAsDate(long... coordinates)
Returns a Date representation of an entry in the matrix.
|
double |
getAsDouble(long... coordinates)
Returns a double representation of an entry in the matrix.
|
float |
getAsFloat(long... coordinates)
Returns a float representation of an entry in the matrix.
|
int |
getAsInt(long... coordinates)
Returns an int representation of an entry in the matrix.
|
long |
getAsLong(long... coordinates)
Returns a long representation of an entry in the matrix.
|
Matrix |
getAsMatrix(long... coordinates) |
short |
getAsShort(long... coordinates)
Returns a short representation of an entry in the matrix.
|
String |
getAsString(long... coordinates)
Returns a String representation of an entry in the matrix.
|
long |
getColumnCount() |
long |
getColumnForLabel(Object object) |
String |
getColumnLabel(long col) |
List<Matrix> |
getColumnList() |
long[] |
getCoordinatesOfMaximum()
Returns the position of the maximum value in a Matrix.
|
long[] |
getCoordinatesOfMinimum()
Returns the position of the minimum value in a Matrix.
|
long |
getCoreObjectId() |
String |
getDescription() |
int |
getDimensionCount() |
String |
getDimensionLabel(int dimension) |
Object |
getDimensionMetaData(int dimension,
long... position) |
double |
getEuklideanValue() |
BaseMatrixFactory<? extends Matrix> |
getFactory() |
GUIObject |
getGUIObject()
Returns an object suitable for displaying on the screen.
|
String |
getId()
Returns the String id of an object.
|
String |
getLabel()
Returns the String label of an object.
|
Object |
getLabelObject()
Returns the label of an object.
|
double |
getMaxValue() |
double |
getMeanValue() |
MapMatrix<String,Object> |
getMetaData() |
Object |
getMetaData(Object key) |
Matrix |
getMetaDataDimensionMatrix(int dimension) |
double |
getMetaDataDouble(Object key) |
Matrix |
getMetaDataMatrix(Object key) |
String |
getMetaDataString(Object key) |
double |
getMinValue() |
long[] |
getPositionForLabel(int dimension,
Object label) |
Object |
getPreferredObject(long... coordinates)
Returns a representation of the entry in the matrix that reflects the
true object best.
|
double |
getRMS() |
long |
getRowCount() |
long |
getRowForLabel(Object object) |
String |
getRowLabel(long row) |
List<Matrix> |
getRowList() |
long[] |
getSize() |
long |
getSize(int dimension) |
double |
getStdValue() |
long |
getValueCount() |
double |
getValueSum() |
ValueType |
getValueType() |
long |
getZCount() |
Matrix |
ginv()
Calculates a generalized inverse of the Matrix
|
Matrix |
grayScale(Calculation.Ret returnType,
GrayScale.ColorChannel colorChannel) |
Matrix |
gt(Calculation.Ret returnType,
double value) |
Matrix |
gt(Calculation.Ret returnType,
Matrix matrix) |
MatrixImportSourceSelector |
importFrom() |
Matrix |
impute(Calculation.Ret returnType,
Impute.ImputationMethod method,
Object... parameters)
Replaces missing values with various methods
|
Matrix |
includeAnnotation(Calculation.Ret returnType,
int dimension) |
Matrix |
indexOfMax(Calculation.Ret returnType,
int dimension)
Finds the index of the maximum value in the matrix
|
Matrix |
indexOfMin(Calculation.Ret returnType,
int dimension)
Finds the index of the minimum value in the matrix
|
int |
intValue() |
Matrix |
inv()
Calculates the inverse of the Matrix using either LUDecomposition (for
square matrices) or QRDecomposition (otherwise).
|
Matrix |
invSPD()
Calculates the inverse of a symmetric positive definite Matrix using
Cholesky Decomposition.
|
Matrix |
invSymm()
Calculates the inverse of the Matrix using either LUDecomposition (for
square matrices) or QRDecomposition (otherwise).
|
boolean |
isColumnVector() |
boolean |
isDiagonal() |
boolean |
isEmpty() |
boolean |
isMultidimensionalMatrix() |
boolean |
isReadOnly() |
boolean |
isResizable() |
boolean |
isRowVector() |
boolean |
isScalar() |
boolean |
isSingular() |
boolean |
isSPD() |
boolean |
isSquare() |
boolean |
isSymmetric() |
boolean |
isTransient() |
Matrix |
le(Calculation.Ret returnType,
double value) |
Matrix |
le(Calculation.Ret returnType,
Matrix matrix) |
Matrix |
log(Calculation.Ret returnType)
Calculates the natural logarithm of all entries in the Matrix.
|
Matrix |
log10(Calculation.Ret returnType)
Calculates the logarithm with basis 10 of all entries in the Matrix.
|
Matrix |
log2(Calculation.Ret returnType)
Calculates the logarithm with basis 2 of all entries in the Matrix.
|
Matrix |
logistic(Calculation.Ret returnType)
Calculates the logistic function for all entries in the Matrix.
|
long |
longValue() |
Matrix |
lowerCase(Calculation.Ret returnType) |
Matrix |
lt(Calculation.Ret returnType,
double value) |
Matrix |
lt(Calculation.Ret returnType,
Matrix matrix) |
Matrix[] |
lu()
Calculates a LU decomposition of the matrix.
|
Matrix |
manhattenDistance(Calculation.Ret returnType,
boolean ignoreNaN) |
double |
manhattenDistanceTo(Matrix m,
boolean ignoreNaN) |
Matrix |
max(Calculation.Ret returnType,
int dimension)
Calculates the maximum of the values in the matrix either rowwise,
columnwise, or global.
|
Matrix |
mean(Calculation.Ret returnType,
int dimension,
boolean ignoreNaN)
Calculates the mean of all entries in the Matrix either per row, per
column, or global.
|
Matrix |
min(Calculation.Ret returnType,
int dimension)
Calculates the mimimum of the values in the matrix either rowwise,
columnwise, or global.
|
Matrix |
minkowskiDistance(Calculation.Ret returnType,
double p,
boolean ignoreNaN) |
double |
minkowskiDistanceTo(Matrix m,
double p,
boolean ignoreNaN) |
Matrix |
minus(Calculation.Ret returnType,
boolean ignoreNaN,
double v)
Subtracts a specified value from all entries in the matrix.
|
Matrix |
minus(Calculation.Ret returnType,
boolean ignoreNaN,
Matrix m)
Calculates the difference of the entries in both matrices
|
Matrix |
minus(double value)
Subtracts a specified value from all entries in the matrix.
|
Matrix |
minus(Matrix m)
Calculates the difference of the entries in both matrices
|
Matrix |
mtimes(Calculation.Ret returnType,
boolean ignoreNaN,
Matrix matrix)
Performs a matrix multiplication on the two matrices.
|
Matrix |
mtimes(Matrix matrix)
Performs a matrix multiplication on the two matrices.
|
Matrix |
mutualInf(Calculation.Ret returnType)
Calculates the mutual information.
|
Matrix |
nans(Calculation.Ret ret)
Returns a matrix with equal size, where all entries are set to
Double.NaN.
|
Matrix |
ne(Calculation.Ret returnType,
Matrix matrix) |
Matrix |
ne(Calculation.Ret returnType,
Object value) |
Iterable<long[]> |
nonZeroCoordinates() |
double |
norm1() |
double |
norm2() |
Matrix |
normalize(Calculation.Ret returnType,
int dimension) |
double |
normF() |
double |
normInf() |
Matrix |
not(Calculation.Ret returnType) |
Matrix |
ones(Calculation.Ret ret)
Returns a matrix with equal size, where all entries are set to 1.0.
|
Matrix |
or(Calculation.Ret returnType,
boolean value) |
Matrix |
or(Calculation.Ret returnType,
Matrix matrix) |
Matrix |
pairedTTest(Calculation.Ret returnType)
Calculates a paired T-Test on the matrix.
|
double |
pdet() |
Matrix |
pinv()
Calculates the pseudo inverse of the Matrix using Singular Value
Decomposition.
|
Matrix |
pinv(int k)
Calculates the pseudo inverse of the Matrix using a low rank
approximation of the Singular Value Decomposition.
|
Matrix |
plus(Calculation.Ret returnType,
boolean ignoreNaN,
double v)
Adds a specified value from all entries in the matrix.
|
Matrix |
plus(Calculation.Ret returnType,
boolean ignoreNaN,
Matrix m)
Calculates the sum of the entries in both matrices
|
Matrix |
plus(double value)
Adds a specified value to all entries in the matrix.
|
Matrix |
plus(Matrix m)
Calculates the sum of the entries in both matrices
|
Matrix |
power(Calculation.Ret returnType,
double power)
Calculates this matrix to the power of the given value (entrywise).
|
Matrix |
power(Calculation.Ret returnType,
Matrix power)
Calculates this matrix to the power of the given matrix (entrywise).
|
Matrix |
princomp()
Projects the matrix into the space of the principal components.
|
Matrix |
prod(Calculation.Ret returnType,
int dimension,
boolean ignoreNaN) |
Matrix[] |
qr()
Calculates a QR decomposition of the matrix.
|
Matrix |
rand(Calculation.Ret ret)
Returns a matrix with equal size, where all entries are set to uniform
random values between 0.0 and 1.0.
|
Matrix |
randn(Calculation.Ret ret)
Returns a matrix with equal size, where all entries are set to random
values which are normally distributed with 0.0 mean and 1.0 standard
deviation.
|
int |
rank() |
Matrix |
removePunctuation(Calculation.Ret ret) |
Matrix |
removeWords(Calculation.Ret ret,
Collection<String> words) |
Matrix |
replace(Calculation.Ret returnType,
Object search,
Object replacement)
Replaces matching values in the matrix with another value
|
Matrix |
replaceMissingBy(Matrix matrix) |
Matrix |
replaceRegex(Calculation.Ret returnType,
Pattern search,
String replacement)
Replaces matching text in every entry of the matrix.
|
Matrix |
replaceRegex(Calculation.Ret returnType,
String search,
String replacement)
Replaces matching text in every entry of the matrix.
|
Matrix |
reshape(Calculation.Ret returnType,
long... newSize) |
Matrix |
round(Calculation.Ret returnType)
Returns a matrix with all entries rounded to integer values.
|
void |
save(File file) |
void |
save(String filename) |
Matrix |
select(Calculation.Ret returnType,
Collection<? extends Number>... selection)
Selects rows and columns in the Matrix and returns a link to it.
|
Matrix |
select(Calculation.Ret returnType,
long[]... selection)
Selects rows and columns in the Matrix and returns a link to it.
|
Matrix |
select(Calculation.Ret returnType,
String selection)
Selects rows and columns in the Matrix and returns a link to it.
|
Matrix |
selectColumns(Calculation.Ret returnType,
Collection<? extends Number> columns)
Selects columns in the Matrix and returns a link to it.
|
Matrix |
selectColumns(Calculation.Ret returnType,
long... columns)
Selects columns in the Matrix and returns a link to it.
|
Iterable<long[]> |
selectedCoordinates(long[]... selection)
Returns an Iterator that goes only over the Coordinates defined by the
selection.
|
Iterable<long[]> |
selectedCoordinates(String selection)
Returns an Iterator that goes only over the Coordinates defined by the
selection.
|
Matrix |
selectRows(Calculation.Ret returnType,
Collection<? extends Number> rows)
Selects rows in the Matrix and returns a link to it.
|
Matrix |
selectRows(Calculation.Ret returnType,
long... rows)
Selects rows in the Matrix and returns a link to it.
|
void |
setAsBigDecimal(BigDecimal value,
long... coordinates) |
void |
setAsBigInteger(BigInteger value,
long... coordinates) |
void |
setAsBoolean(boolean value,
long... coordinates)
Sets an entry in the matrix to a boolean value.
|
void |
setAsByte(byte value,
long... coordinates)
Sets an entry in the matrix to a byte value.
|
void |
setAsByteArray(byte[] value,
long... coordinates)
Sets an entry in the matrix to a byte array.
|
void |
setAsChar(char value,
long... coordinates)
Sets an entry in the matrix to a char value.
|
void |
setAsDate(Date date,
long... coordinates)
Sets an entry in the matrix to a Date value.
|
void |
setAsDouble(double v,
long... coordinates)
Sets an entry in the matrix to a double value.
|
void |
setAsFloat(float value,
long... coordinates)
Sets an entry in the matrix to a float value.
|
void |
setAsInt(int value,
long... coordinates)
Sets an entry in the matrix to an int value.
|
void |
setAsLong(long value,
long... coordinates)
Sets an entry in the matrix to a long value.
|
void |
setAsMatrix(Matrix m,
long... coordinates) |
void |
setAsShort(short value,
long... coordinates)
Sets an entry in the matrix to a short value.
|
void |
setAsString(String string,
long... coordinates)
Sets an entry in the matrix to a String value.
|
void |
setColumnLabel(long col,
Object label) |
Matrix |
setContent(Calculation.Ret returnType,
Matrix newContent,
long... position) |
void |
setDescription(String description) |
void |
setDimensionLabel(int dimension,
Object label) |
void |
setDimensionMetaData(int dimension,
Object label,
long... position) |
void |
setId(String id)
Sets the id of an object
|
void |
setLabel(Object label)
Sets the label of an object
|
void |
setMetaData(MapMatrix<String,Object> metaData) |
void |
setMetaData(String key,
Object value) |
void |
setMetaDataDimensionMatrix(int dimension,
Matrix matrix) |
void |
setRowLabel(long row,
Object label) |
void |
setSize(long... size)
Sets the size of the matrix.
|
void |
share(int port) |
void |
share(String hostname,
int port) |
JFrame |
showGUI()
This method will show the object in a JFrame on the screen.
|
Matrix |
shuffle(Calculation.Ret returnType) |
Matrix |
sign(Calculation.Ret returnType)
Calculates the sign of the entries in a Matrix.
|
Matrix |
sin(Calculation.Ret returnType)
Calculates the sinus of all entries in the matrix.
|
Matrix |
sinh(Calculation.Ret returnType)
Calculates the hyperbolic sinus of all entries in the matrix.
|
Matrix |
solve(Matrix b)
Solve A*X = B
|
Matrix |
solveSPD(Matrix b)
Solve A*X = B
|
Matrix |
solveSymm(Matrix b)
Solve A*X = B
|
Matrix |
sortrows(Calculation.Ret returnType,
long column,
boolean reverse) |
Matrix |
sqrt(Calculation.Ret returnType)
Calculates the square root of all the entries in a Matrix.
|
Matrix |
squeeze(Calculation.Ret returnType) |
Matrix |
standardize(Calculation.Ret returnType,
int dimension)
Subtracts the mean from the matrix and divides by the standard deviation.
|
Matrix |
std(Calculation.Ret returnType,
int dimension,
boolean ignoreNaN,
boolean besselsCorrection)
Calculates the standard deviation of all entries in the Matrix either per
row, per column, or global.
|
Matrix |
stem(Calculation.Ret ret) |
String |
stringValue() |
Matrix |
subMatrix(Calculation.Ret returnType,
long... startAndEndCoordinates) |
Matrix |
sum(Calculation.Ret returnType,
int dimension,
boolean ignoreNaN)
Calculates the sum of all entries in the Matrix either per row, per
column, or global.
|
Matrix[] |
svd()
Calculates the singular value decomposition of the matrix: A = U*S*V'
|
Matrix[] |
svd(int k)
Calculates a low rank approximation of the singular value decomposition
of the matrix: A = U*S*V' but considers only the k largest singular
values.
|
Matrix |
swap(Calculation.Ret returnType,
int dimension,
long pos1,
long pos2) |
Matrix |
tan(Calculation.Ret returnType)
Calculates the tangens of all entries in the matrix.
|
Matrix |
tanh() |
Matrix |
tanh(Calculation.Ret returnType)
Calculates the hyperbolic tangens of all entries in the matrix.
|
Matrix |
tfIdf(boolean calculateTf,
boolean calculateIdf,
boolean normalize) |
Matrix |
times(Calculation.Ret returnType,
boolean ignoreNaN,
double factor)
Multiplies every entry in the matrix with a scalar.
|
Matrix |
times(Calculation.Ret returnType,
boolean ignoreNaN,
Matrix factor)
Multiplies every entry in the matrix with the entries of another Matrix.
|
Matrix |
times(double factor)
Multiplies every entry in the matrix with a scalar.
|
Matrix |
times(Matrix m)
Calculates the entrywise product of the two matrices.
|
BigDecimal[][] |
toBigDecimalArray() |
BaseBigDecimalMatrix |
toBigDecimalMatrix() |
BigInteger[][] |
toBigIntegerArray() |
BigIntegerMatrix |
toBigIntegerMatrix() |
boolean[][] |
toBooleanArray()
Converts the content of a matrix into a 2-dimensional array of boolean
values.
|
BooleanMatrix |
toBooleanMatrix() |
byte[][] |
toByteArray()
Converts the content of a matrix into a 2-dimensional array of byte
values.
|
ByteMatrix |
toByteMatrix() |
char[][] |
toCharArray()
Converts the content of a matrix into a 2-dimensional array of char
values.
|
CharMatrix |
toCharMatrix() |
Matrix |
toColumnVector(Calculation.Ret returnType) |
Date[][] |
toDateArray()
Converts the content of a matrix into a 2-dimensional array of Date
values.
|
double[][] |
toDoubleArray()
Converts the content of a matrix into a 2-dimensional array of double
values.
|
DoubleMatrix |
toDoubleMatrix() |
float[][] |
toFloatArray()
Converts the content of a matrix into a 2-dimensional array of float
values.
|
FloatMatrix |
toFloatMatrix() |
String |
toHtml() |
int[][] |
toIntArray()
Converts the content of a matrix into a 2-dimensional array of int
values.
|
IntMatrix |
toIntMatrix() |
ListMatrix<?> |
toListMatrix() |
long[][] |
toLongArray()
Converts the content of a matrix into a 2-dimensional array of long
values.
|
LongMatrix |
toLongMatrix() |
MapMatrix<?,?> |
toMapMatrix() |
Object[][] |
toObjectArray()
Converts the content of a matrix into a 2-dimensional array of Objects.
|
ObjectMatrix |
toObjectMatrix() |
Matrix |
toRowVector(Calculation.Ret returnType) |
SetMatrix<?> |
toSetMatrix() |
short[][] |
toShortArray()
Converts the content of a matrix into a 2-dimensional array of short
values.
|
ShortMatrix |
toShortMatrix() |
String |
toString() |
String[][] |
toStringArray()
Converts the content of a matrix into a 2-dimensional array of Strings.
|
StringMatrix |
toStringMatrix() |
double |
trace() |
Matrix |
translate(Calculation.Ret returnType,
String sourceLanguage,
String targetLanguage) |
Matrix |
transpose()
Returns the transpose of the Matrix, where rows and columns are
exchanged.
|
Matrix |
transpose(Calculation.Ret returnType)
Returns the transpose of the Matrix, where rows and columns are
exchanged.
|
Matrix |
transpose(Calculation.Ret returnType,
int dimension1,
int dimension2) |
Matrix |
tril(Calculation.Ret returnType,
int k) |
Matrix |
triu(Calculation.Ret returnType,
int k) |
Matrix |
unique(Calculation.Ret returnType) |
Matrix |
uniqueValueCount(Calculation.Ret returnType,
int dimension) |
Matrix |
upperCase(Calculation.Ret returnType) |
Matrix |
var(Calculation.Ret returnType,
int dimension,
boolean ignoreNaN,
boolean besselsCorrection)
Calculates the variance of all entries in the Matrix either per row, per
column, or global.
|
Matrix |
xor(Calculation.Ret returnType,
boolean value) |
Matrix |
xor(Calculation.Ret returnType,
Matrix matrix) |
Matrix |
zeros(Calculation.Ret ret)
Returns a matrix with equal size, where all entries are set to zero.
|
byteValue, shortValuefinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisSparseavailableCoordinates, containsCoordinatesgetAsObject, setAsObjectbyteValue, shortValueprotected transient GUIObject guiObject
protected long[] size
public List<Matrix> getRowList()
getRowList in interface BaseMatrixPropertiespublic List<Matrix> getColumnList()
getColumnList in interface BaseMatrixPropertiespublic BaseMatrixFactory<? extends Matrix> getFactory()
getFactory in interface BaseMatrixpublic final Iterable<long[]> allCoordinates()
CoordinateFunctionsallCoordinates in interface CoordinateFunctionspublic final long getCoreObjectId()
getCoreObjectId in interface CoreObjectpublic double getAsDouble(long... coordinates)
GettersAndSettersgetAsDouble in interface GettersAndSetterscoordinates - location of the entrypublic void setAsDouble(double v,
long... coordinates)
GettersAndSetterssetAsDouble in interface GettersAndSettersv - double valuecoordinates - location of the entry @public final Object getPreferredObject(long... coordinates)
GettersAndSettersgetPreferredObject in interface GettersAndSetterscoordinates - location of the entrypublic ValueType getValueType()
getValueType in interface BaseMatrixPropertiespublic Matrix getMetaDataDimensionMatrix(int dimension)
getMetaDataDimensionMatrix in interface HasMetaDatapublic final Object getDimensionMetaData(int dimension, long... position)
getDimensionMetaData in interface HasMetaDatapublic void setMetaDataDimensionMatrix(int dimension,
Matrix matrix)
setMetaDataDimensionMatrix in interface HasMetaDatapublic final String getDimensionLabel(int dimension)
getDimensionLabel in interface HasMetaDatapublic final void setDimensionMetaData(int dimension,
Object label,
long... position)
setDimensionMetaData in interface HasMetaDatapublic final void setDimensionLabel(int dimension,
Object label)
setDimensionLabel in interface HasMetaDatapublic GUIObject getGUIObject()
HasGUIObjectgetGUIObject in interface HasGUIObjectpublic final boolean containsMissingValues()
containsMissingValues in interface ExtendedMatrixPropertiespublic int getDimensionCount()
getDimensionCount in interface BaseMatrixPropertiespublic final double getEuklideanValue()
getEuklideanValue in interface ExtendedMatrixPropertiespublic Matrix clone()
public final Matrix select(Calculation.Ret returnType, long[]... selection)
ObjectCalculationsselect in interface ObjectCalculationsreturnType - Defines if a new Matrix or a link should be returned.selection - selected rows and columnspublic void save(String filename) throws IOException
save in interface MatrixIOExceptionpublic void save(File file) throws IOException
save in interface MatrixIOExceptionpublic final Matrix select(Calculation.Ret returnType, Collection<? extends Number>... selection)
ObjectCalculationsselect in interface ObjectCalculationsreturnType - Defines if a new Matrix or a link should be returned.selection - selected rows and columnspublic Matrix selectRows(Calculation.Ret returnType, long... rows)
ObjectCalculationsselectRows in interface ObjectCalculationsreturnType - Defines if a new Matrix or a link should be returned.rows - selected rowspublic final Matrix select(Calculation.Ret returnType, String selection)
ObjectCalculationsselect in interface ObjectCalculationsreturnType - Defines if a new Matrix or a link should be returned.selection - String defining the selectionpublic Matrix selectColumns(Calculation.Ret returnType, long... columns)
ObjectCalculationsselectColumns in interface ObjectCalculationsreturnType - Defines if a new Matrix or a link should be returned.public final Matrix selectRows(Calculation.Ret returnType, Collection<? extends Number> rows)
ObjectCalculationsselectRows in interface ObjectCalculationsreturnType - Defines if a new Matrix or a link should be returned.rows - selected rowspublic final Matrix selectColumns(Calculation.Ret returnType, Collection<? extends Number> columns)
ObjectCalculationsselectColumns in interface ObjectCalculationsreturnType - Defines if a new Matrix or a link should be returned.columns - selected columnspublic Matrix impute(Calculation.Ret returnType, Impute.ImputationMethod method, Object... parameters)
MissingValueDoubleCalculationsimpute in interface MissingValueDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixmethod - the imputation method to useparameters - specify a set of parameters if neededpublic Matrix discretize(Calculation.Ret returnType, int dimension, Discretize.DiscretizationMethod method, int numberOfBins)
discretize in interface DiscretizeCalculationspublic Matrix discretize(Calculation.Ret returnType, Dictionary dictionary)
discretize in interface DiscretizeCalculationspublic Matrix discretizeToBoolean(int targetColumnCount)
discretizeToBoolean in interface DiscretizeCalculationspublic Matrix indexOfMax(Calculation.Ret returnType, int dimension)
StatisticalDoubleCalculationsindexOfMax in interface StatisticalDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixdimension - The axis along which to calculatepublic Matrix indexOfMin(Calculation.Ret returnType, int dimension)
StatisticalDoubleCalculationsindexOfMin in interface StatisticalDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixdimension - The axis along which to calculatepublic Matrix standardize(Calculation.Ret returnType, int dimension)
MiscGeneralDoubleCalculationsstandardize in interface MiscGeneralDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixdimension - The axis along which to calculatepublic Matrix normalize(Calculation.Ret returnType, int dimension)
normalize in interface MiscGeneralDoubleCalculationspublic Matrix atimes(Calculation.Ret returnType, boolean ignoreNaN, Matrix matrix)
BasicDoubleCalculationsatimes in interface BasicDoubleCalculationsreturnType - Defines if a new Matrix or a link should be returned.ignoreNaN - should missing values be ignoredmatrix - the second matrixpublic Matrix inv()
DecompositionDoubleCalculationsinv in interface DecompositionDoubleCalculationspublic Matrix invSymm()
DecompositionDoubleCalculationsinvSymm in interface DecompositionDoubleCalculationspublic Matrix invSPD()
DecompositionDoubleCalculationsinvSPD in interface DecompositionDoubleCalculationspublic Matrix solve(Matrix b)
DecompositionDoubleCalculationssolve in interface DecompositionDoubleCalculationsb - right hand sidepublic Matrix solveSymm(Matrix b)
DecompositionDoubleCalculationssolveSymm in interface DecompositionDoubleCalculationsb - right hand sidepublic Matrix solveSPD(Matrix b)
DecompositionDoubleCalculationssolveSPD in interface DecompositionDoubleCalculationsb - right hand sidepublic Matrix ginv()
DecompositionDoubleCalculationsginv in interface DecompositionDoubleCalculationspublic Matrix princomp()
DecompositionDoubleCalculationsprincomp in interface DecompositionDoubleCalculationspublic Matrix pinv()
DecompositionDoubleCalculationspinv in interface DecompositionDoubleCalculationspublic Matrix pinv(int k)
DecompositionDoubleCalculationspinv in interface DecompositionDoubleCalculationsk - number of singular values to considerpublic Matrix center(Calculation.Ret returnType, int dimension, boolean ignoreNaN)
MiscGeneralDoubleCalculationscenter in interface MiscGeneralDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixdimension - The axis along which to calculateignoreNaN - should missing values be ignoredpublic boolean isResizable()
isResizable in interface BaseMatrixPropertiespublic final Matrix convert(ValueType newValueType)
ObjectCalculationsconvert in interface ObjectCalculationsnewValueType - defines the new format of the matrixpublic final Matrix replaceRegex(Calculation.Ret returnType, Pattern search, String replacement)
StringCalculationsreplaceRegex in interface StringCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixsearch - Regular expression pattern to search forreplacement - Replacement Stringpublic final Matrix replace(Calculation.Ret returnType, Object search, Object replacement)
ObjectCalculationsreplace in interface ObjectCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixsearch - Object to search forreplacement - Object used to replace the original valuepublic final Matrix replaceRegex(Calculation.Ret returnType, String search, String replacement)
StringCalculationsreplaceRegex in interface StringCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixsearch - Regular expression to search forreplacement - Replacement Stringpublic Matrix times(double factor)
BasicDoubleCalculationstimes in interface BasicDoubleCalculationsfactor - factor to multiply withpublic Matrix tanh()
tanh in interface HyperbolicDoubleCalculationspublic Matrix times(Matrix m)
BasicDoubleCalculationstimes in interface BasicDoubleCalculationsm - the second matrixpublic Matrix divide(Matrix m)
BasicDoubleCalculationsdivide in interface BasicDoubleCalculationsm - the second matrixpublic Matrix divide(double divisor)
BasicDoubleCalculationsdivide in interface BasicDoubleCalculationsdivisor - factor by which to dividepublic Matrix divide(Calculation.Ret returnType, boolean ignoreNaN, double factor)
BasicDoubleCalculationsdivide in interface BasicDoubleCalculationsreturnType - Defines if a new Matrix or a link should be returned.ignoreNaN - should missing values be ignoredfactor - factor by which to dividepublic Matrix times(Calculation.Ret returnType, boolean ignoreNaN, double factor)
BasicDoubleCalculationstimes in interface BasicDoubleCalculationsreturnType - Defines if a new Matrix or a link should be returned.ignoreNaN - should missing values be ignoredfactor - factor to multiply withpublic Matrix times(Calculation.Ret returnType, boolean ignoreNaN, Matrix factor)
BasicDoubleCalculationstimes in interface BasicDoubleCalculationsreturnType - Defines if a new Matrix or a link should be returned.ignoreNaN - should missing values be ignoredfactor - factor to multiply withpublic Matrix divide(Calculation.Ret returnType, boolean ignoreNaN, Matrix factor)
BasicDoubleCalculationsdivide in interface BasicDoubleCalculationsreturnType - Defines if a new Matrix or a link should be returned.ignoreNaN - should missing values be ignoredfactor - factor by which to dividepublic final Matrix power(Calculation.Ret returnType, double power)
BasicEntrywiseDoubleCalculationspower in interface BasicEntrywiseDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixpublic final Matrix power(Calculation.Ret returnType, Matrix power)
BasicEntrywiseDoubleCalculationspower in interface BasicEntrywiseDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixpublic final Matrix gt(Calculation.Ret returnType, Matrix matrix)
gt in interface BooleanCalculationspublic final Matrix gt(Calculation.Ret returnType, double value)
gt in interface BooleanCalculationspublic final Matrix and(Calculation.Ret returnType, Matrix matrix)
and in interface BooleanCalculationspublic final Matrix and(Calculation.Ret returnType, boolean value)
and in interface BooleanCalculationspublic final Matrix or(Calculation.Ret returnType, Matrix matrix)
or in interface BooleanCalculationspublic final Matrix or(Calculation.Ret returnType, boolean value)
or in interface BooleanCalculationspublic final Matrix xor(Calculation.Ret returnType, Matrix matrix)
xor in interface BooleanCalculationspublic final Matrix xor(Calculation.Ret returnType, boolean value)
xor in interface BooleanCalculationspublic final Matrix not(Calculation.Ret returnType)
not in interface BooleanCalculationspublic final Matrix lt(Calculation.Ret returnType, Matrix matrix)
lt in interface BooleanCalculationspublic final Matrix lt(Calculation.Ret returnType, double value)
lt in interface BooleanCalculationspublic final Matrix ge(Calculation.Ret returnType, Matrix matrix)
ge in interface BooleanCalculationspublic final Matrix ge(Calculation.Ret returnType, double value)
ge in interface BooleanCalculationspublic final Matrix le(Calculation.Ret returnType, Matrix matrix)
le in interface BooleanCalculationspublic final Matrix le(Calculation.Ret returnType, double value)
le in interface BooleanCalculationspublic final Matrix eq(Calculation.Ret returnType, Matrix matrix)
eq in interface BooleanCalculationspublic final Matrix eq(Calculation.Ret returnType, Object value)
eq in interface BooleanCalculationspublic final Matrix ne(Calculation.Ret returnType, Matrix matrix)
ne in interface BooleanCalculationspublic final Matrix ne(Calculation.Ret returnType, Object value)
ne in interface BooleanCalculationspublic long getValueCount()
getValueCount in interface BaseMatrixPropertiespublic final long[] getCoordinatesOfMaximum()
CoordinateFunctionsgetCoordinatesOfMaximum in interface CoordinateFunctionspublic final long[] getCoordinatesOfMinimum()
CoordinateFunctionsgetCoordinatesOfMinimum in interface CoordinateFunctionspublic Iterable<long[]> selectedCoordinates(String selection)
CoordinateFunctionsselectedCoordinates in interface CoordinateFunctionsselection - The String defining the selection of rows or columnspublic Iterable<long[]> selectedCoordinates(long[]... selection)
CoordinateFunctionsselectedCoordinates in interface CoordinateFunctionsselection - A list of long arrays defining the desired rows or columnspublic boolean isTransient()
isTransient in interface BaseMatrixPropertiespublic Iterable<long[]> nonZeroCoordinates()
nonZeroCoordinates in interface CoordinateFunctionspublic double[][] toDoubleArray()
GettersAndSetterstoDoubleArray in interface GettersAndSetterspublic Object[][] toObjectArray()
GettersAndSetterstoObjectArray in interface GettersAndSetterspublic int[][] toIntArray()
GettersAndSetterstoIntArray in interface GettersAndSetterspublic long[][] toLongArray()
GettersAndSetterstoLongArray in interface GettersAndSetterspublic short[][] toShortArray()
GettersAndSetterstoShortArray in interface GettersAndSetterspublic char[][] toCharArray()
GettersAndSetterstoCharArray in interface GettersAndSetterspublic String[][] toStringArray()
GettersAndSetterstoStringArray in interface GettersAndSetterspublic byte[][] toByteArray()
GettersAndSetterstoByteArray in interface GettersAndSetterspublic boolean[][] toBooleanArray()
GettersAndSetterstoBooleanArray in interface GettersAndSetterspublic float[][] toFloatArray()
GettersAndSetterstoFloatArray in interface GettersAndSetterspublic Date[][] toDateArray()
GettersAndSetterstoDateArray in interface GettersAndSetterspublic BigDecimal[][] toBigDecimalArray()
toBigDecimalArray in interface GettersAndSetterspublic BigInteger[][] toBigIntegerArray()
toBigIntegerArray in interface GettersAndSetterspublic final Matrix sqrt(Calculation.Ret returnType)
BasicEntrywiseDoubleCalculationssqrt in interface BasicEntrywiseDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixpublic final Matrix round(Calculation.Ret returnType)
RoundingDoubleCalculationsround in interface RoundingDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixpublic final Matrix ceil(Calculation.Ret returnType)
RoundingDoubleCalculationsceil in interface RoundingDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixpublic final Matrix extractAnnotation(Calculation.Ret returnType, int dimension)
ObjectCalculationsextractAnnotation in interface ObjectCalculationsreturnType - Specify whether to return a new matrix, or a linkdimension - Which axis should be shortened to extract the labels. E.g. if
you want column labels, you must specify
Matrix.ROW, which does not seem very intuitive at
first glance. However, if you're dealing with
multi-dimensional data, this becomes more clear. If you want
annotation generated for all dimensions, you can specify
Matrix.ALL or omit the dimensions parameter.public final Matrix includeAnnotation(Calculation.Ret returnType, int dimension)
includeAnnotation in interface ObjectCalculationspublic final Matrix floor(Calculation.Ret returnType)
RoundingDoubleCalculationsfloor in interface RoundingDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixpublic final JFrame showGUI()
HasGUIObjectshowGUI in interface HasGUIObjectpublic void fireValueChanged()
HasGUIObjectMaybe this method can be deleted, when all changes are made trough the GUIObject?
fireValueChanged in interface HasGUIObjectfireValueChanged in interface Matrixpublic void fireValueChanged(Coordinates coordinates, Object object)
fireValueChanged in interface Matrixpublic void fireValueChanged(Coordinates start, Coordinates end)
fireValueChanged in interface Matrixpublic Matrix mtimes(Matrix matrix)
BasicDoubleCalculationsmtimes in interface BasicDoubleCalculationsmatrix - the second matrixpublic Matrix mtimes(Calculation.Ret returnType, boolean ignoreNaN, Matrix matrix)
BasicDoubleCalculationsmtimes in interface BasicDoubleCalculationsreturnType - Defines if a new Matrix or a link should be returned.ignoreNaN - should missing values be ignoredmatrix - the second matrixpublic boolean getAsBoolean(long... coordinates)
GettersAndSettersgetAsBoolean in interface GettersAndSetterscoordinates - location of the entrypublic void setAsBoolean(boolean value,
long... coordinates)
GettersAndSetterssetAsBoolean in interface GettersAndSettersvalue - boolean valuecoordinates - location of the entry @public int getAsInt(long... coordinates)
GettersAndSettersgetAsInt in interface GettersAndSetterscoordinates - location of the entrypublic void setAsInt(int value,
long... coordinates)
GettersAndSetterssetAsInt in interface GettersAndSettersvalue - int valuecoordinates - location of the entry @public byte getAsByte(long... coordinates)
GettersAndSettersgetAsByte in interface GettersAndSetterscoordinates - location of the entrypublic byte[] getAsByteArray(long... coordinates)
GettersAndSettersgetAsByteArray in interface GettersAndSetterscoordinates - location of the entrypublic void setAsByteArray(byte[] value,
long... coordinates)
GettersAndSetterssetAsByteArray in interface GettersAndSettersvalue - byte arraycoordinates - location of the entry @public void setAsByte(byte value,
long... coordinates)
GettersAndSetterssetAsByte in interface GettersAndSettersvalue - byte valuecoordinates - location of the entry @public char getAsChar(long... coordinates)
GettersAndSettersgetAsChar in interface GettersAndSetterscoordinates - location of the entrypublic BigInteger getAsBigInteger(long... coordinates)
getAsBigInteger in interface GettersAndSetterspublic BigDecimal getAsBigDecimal(long... coordinates)
getAsBigDecimal in interface GettersAndSetterspublic void setAsChar(char value,
long... coordinates)
GettersAndSetterssetAsChar in interface GettersAndSettersvalue - char valuecoordinates - location of the entry @public void setAsBigDecimal(BigDecimal value, long... coordinates)
setAsBigDecimal in interface GettersAndSetterspublic void setAsBigInteger(BigInteger value, long... coordinates)
setAsBigInteger in interface GettersAndSetterspublic float getAsFloat(long... coordinates)
GettersAndSettersgetAsFloat in interface GettersAndSetterscoordinates - location of the entrypublic void setAsFloat(float value,
long... coordinates)
GettersAndSetterssetAsFloat in interface GettersAndSettersvalue - float valuecoordinates - location of the entry @public short getAsShort(long... coordinates)
GettersAndSettersgetAsShort in interface GettersAndSetterscoordinates - location of the entrypublic Matrix getAsMatrix(long... coordinates)
getAsMatrix in interface GettersAndSetterspublic void setAsMatrix(Matrix m, long... coordinates)
setAsMatrix in interface GettersAndSetterspublic void setAsShort(short value,
long... coordinates)
GettersAndSetterssetAsShort in interface GettersAndSettersvalue - short valuecoordinates - location of the entry @public long getAsLong(long... coordinates)
GettersAndSettersgetAsLong in interface GettersAndSetterscoordinates - location of the entrypublic void setAsLong(long value,
long... coordinates)
GettersAndSetterssetAsLong in interface GettersAndSettersvalue - long valuecoordinates - location of the entry @public Date getAsDate(long... coordinates)
GettersAndSettersgetAsDate in interface GettersAndSetterscoordinates - location of the entrypublic void setAsDate(Date date, long... coordinates)
GettersAndSetterssetAsDate in interface GettersAndSetterscoordinates - location of the entry @public final Matrix delete(Calculation.Ret returnType, String selection)
ObjectCalculationsdelete in interface ObjectCalculationsreturnType - Defines if a new Matrix or a link should be returned.public final Matrix delete(Calculation.Ret returnType, Collection<? extends Number>... selection)
ObjectCalculationsdelete in interface ObjectCalculationsreturnType - Defines if a new Matrix or a link should be returned.selection - selected rows and columnspublic final Matrix delete(Calculation.Ret returnType, long[]... selection)
ObjectCalculationsdelete in interface ObjectCalculationsreturnType - Defines if a new Matrix or a link should be returned.selection - selected rows and columnspublic final Matrix deleteRows(Calculation.Ret returnType, long... rows)
ObjectCalculationsdeleteRows in interface ObjectCalculationsreturnType - Defines if a new Matrix or a link should be returned.rows - selected rowspublic final Matrix deleteRows(Calculation.Ret returnType, Collection<? extends Number> rows)
ObjectCalculationsdeleteRows in interface ObjectCalculationsreturnType - Defines if a new Matrix or a link should be returned.rows - selected rowspublic final Matrix deleteColumns(Calculation.Ret returnType, Collection<? extends Number> columns)
ObjectCalculationsdeleteColumns in interface ObjectCalculationsreturnType - Defines if a new Matrix or a link should be returned.columns - selected columnspublic final Matrix deleteColumns(Calculation.Ret returnType, long... columns)
ObjectCalculationsdeleteColumns in interface ObjectCalculationsreturnType - Defines if a new Matrix or a link should be returned.public Matrix minus(Calculation.Ret returnType, boolean ignoreNaN, double v)
BasicDoubleCalculationsminus in interface BasicDoubleCalculationsreturnType - Defines if a new Matrix or a link should be returned.ignoreNaN - should missing values be ignoredv - the value to subtractpublic Matrix minus(Calculation.Ret returnType, boolean ignoreNaN, Matrix m)
BasicDoubleCalculationsminus in interface BasicDoubleCalculationsreturnType - Defines if a new Matrix or a link should be returned.ignoreNaN - should missing values be ignoredm - The matrix to subtractpublic Matrix plus(Calculation.Ret returnType, boolean ignoreNaN, double v)
BasicDoubleCalculationsplus in interface BasicDoubleCalculationsreturnType - Defines if a new Matrix or a link should be returned.ignoreNaN - should missing values be ignoredv - the value to subtractpublic Matrix plus(Calculation.Ret returnType, boolean ignoreNaN, Matrix m)
BasicDoubleCalculationsplus in interface BasicDoubleCalculationsreturnType - Defines if a new Matrix or a link should be returned.ignoreNaN - should missing values be ignoredm - The matrix to subtractpublic Matrix transpose()
ObjectCalculationstranspose in interface ObjectCalculationspublic Matrix transpose(Calculation.Ret returnType)
ObjectCalculationstranspose in interface ObjectCalculationsreturnType - Defines if a new Matrix or a link should be returned.public Matrix diag(Calculation.Ret returnType)
diag in interface ObjectCalculationspublic Matrix mean(Calculation.Ret returnType, int dimension, boolean ignoreNaN)
StatisticalDoubleCalculationsmean in interface StatisticalDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixdimension - The axis along which to calculateignoreNaN - should missing values be ignoredpublic Matrix var(Calculation.Ret returnType, int dimension, boolean ignoreNaN, boolean besselsCorrection)
StatisticalDoubleCalculationsvar in interface StatisticalDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixdimension - The axis along which to calculateignoreNaN - should missing values be ignoredbesselsCorrection - use (n-1) instead of npublic Matrix std(Calculation.Ret returnType, int dimension, boolean ignoreNaN, boolean besselsCorrection)
StatisticalDoubleCalculationsstd in interface StatisticalDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixdimension - The axis along which to calculateignoreNaN - should missing values be ignoredbesselsCorrection - use (n-1) instead of npublic long getColumnCount()
getColumnCount in interface BaseMatrixPropertiespublic long getRowCount()
getRowCount in interface BaseMatrixPropertiespublic long getZCount()
getZCount in interface BaseMatrixPropertiespublic final long getSize(int dimension)
getSize in interface BaseMatrixPropertiespublic long[] getSize()
getSize in interface BaseMatrixPropertiespublic Matrix prod(Calculation.Ret returnType, int dimension, boolean ignoreNaN)
prod in interface StatisticalDoubleCalculationspublic Matrix diff(Calculation.Ret returnType, int dimension, boolean ignoreNaN)
diff in interface StatisticalDoubleCalculationspublic final Matrix sum(Calculation.Ret returnType, int dimension, boolean ignoreNaN)
StatisticalDoubleCalculationssum in interface StatisticalDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixdimension - The axis along which to calculateignoreNaN - should missing values be ignoredpublic final Matrix sign(Calculation.Ret returnType)
BasicEntrywiseDoubleCalculationssign in interface BasicEntrywiseDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixpublic String toString()
toString in interface BaseMatrixPropertiestoString in class Objectpublic final Matrix ones(Calculation.Ret ret)
CreatorDoubleCalculationsones in interface CreatorDoubleCalculationspublic final Matrix nans(Calculation.Ret ret)
CreatorDoubleCalculationsnans in interface CreatorDoubleCalculationspublic final Matrix fill(Calculation.Ret ret, Object value)
ObjectCalculationsfill in interface ObjectCalculationsvalue - fill with this valuepublic final Matrix zeros(Calculation.Ret ret)
CreatorDoubleCalculationszeros in interface CreatorDoubleCalculationspublic final Matrix eye(Calculation.Ret ret)
CreatorDoubleCalculationseye in interface CreatorDoubleCalculationspublic Matrix plus(double value)
BasicDoubleCalculationsplus in interface BasicDoubleCalculationsvalue - the value to addpublic Matrix plus(Matrix m)
BasicDoubleCalculationsplus in interface BasicDoubleCalculationsm - The matrix to addpublic Matrix minus(double value)
BasicDoubleCalculationsminus in interface BasicDoubleCalculationsvalue - the value to subtractpublic Matrix minus(Matrix m)
BasicDoubleCalculationsminus in interface BasicDoubleCalculationsm - The matrix to subtractpublic final Matrix rand(Calculation.Ret ret)
CreatorDoubleCalculationsrand in interface CreatorDoubleCalculationspublic final Matrix randn(Calculation.Ret ret)
CreatorDoubleCalculationsrandn in interface CreatorDoubleCalculationspublic int compareTo(Matrix m)
compareTo in interface Comparable<Matrix>public int rank()
rank in interface ExtendedMatrixPropertiespublic final boolean isSPD()
isSPD in interface ExtendedMatrixPropertiespublic final boolean isSymmetric()
isSymmetric in interface BaseMatrixPropertiespublic boolean isEmpty()
isEmpty in interface BaseMatrixPropertiespublic final Matrix abs(Calculation.Ret returnType)
BasicEntrywiseDoubleCalculationsabs in interface BasicEntrywiseDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixpublic final Matrix log(Calculation.Ret returnType)
BasicEntrywiseDoubleCalculationslog in interface BasicEntrywiseDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixpublic final Matrix setContent(Calculation.Ret returnType, Matrix newContent, long... position)
setContent in interface ExtendedMatrixPropertiespublic final Matrix exp(Calculation.Ret returnType)
BasicEntrywiseDoubleCalculationsexp in interface BasicEntrywiseDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixpublic final Matrix logistic(Calculation.Ret returnType)
BasicEntrywiseDoubleCalculationslogistic in interface BasicEntrywiseDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixpublic final Matrix sortrows(Calculation.Ret returnType, long column, boolean reverse)
sortrows in interface ObjectCalculationspublic final Matrix cumsum(boolean ignoreNaN)
cumsum in interface StatisticalDoubleCalculationspublic final Matrix cumprod(boolean ignoreNaN)
cumprod in interface StatisticalDoubleCalculationspublic final Matrix log2(Calculation.Ret returnType)
BasicEntrywiseDoubleCalculationslog2 in interface BasicEntrywiseDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixpublic final Matrix log10(Calculation.Ret returnType)
BasicEntrywiseDoubleCalculationslog10 in interface BasicEntrywiseDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixpublic final boolean isDiagonal()
isDiagonal in interface BaseMatrixPropertiespublic final boolean isSquare()
isSquare in interface BaseMatrixPropertiespublic double euklideanDistanceTo(Matrix m, boolean ignoreNaN)
euklideanDistanceTo in interface DistanceMeasurespublic double det()
det in interface ExtendedMatrixPropertiespublic double pdet()
pdet in interface ExtendedMatrixPropertiespublic boolean isSingular()
isSingular in interface BaseMatrixPropertiespublic double manhattenDistanceTo(Matrix m, boolean ignoreNaN)
manhattenDistanceTo in interface DistanceMeasurespublic Matrix manhattenDistance(Calculation.Ret returnType, boolean ignoreNaN)
manhattenDistance in interface DistanceMeasurespublic Matrix euklideanDistance(Calculation.Ret returnType, boolean ignoreNaN)
euklideanDistance in interface DistanceMeasurespublic final Matrix minkowskiDistance(Calculation.Ret returnType, double p, boolean ignoreNaN)
minkowskiDistance in interface DistanceMeasurespublic final Matrix cosineSimilarity(Calculation.Ret returnType, boolean ignoreNaN)
cosineSimilarity in interface DistanceMeasurespublic double cosineSimilarityTo(Matrix m, boolean ignoreNaN)
cosineSimilarityTo in interface DistanceMeasurespublic double minkowskiDistanceTo(Matrix m, double p, boolean ignoreNaN)
minkowskiDistanceTo in interface DistanceMeasurespublic double chebyshevDistanceTo(Matrix m, boolean ignoreNaN)
chebyshevDistanceTo in interface DistanceMeasurespublic Matrix min(Calculation.Ret returnType, int dimension)
StatisticalDoubleCalculationsmin in interface StatisticalDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixdimension - the axis along which should be calculated, e.g. ROW=0,
COLUMN=1 or ALLpublic Matrix max(Calculation.Ret returnType, int dimension)
StatisticalDoubleCalculationsmax in interface StatisticalDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixdimension - the axis along which should be calculated, e.g. ROW=0,
COLUMN=1 or ALLpublic final Matrix addMissing(Calculation.Ret returnType, int dimension, double... percentMissing)
MissingValueDoubleCalculationsaddMissing in interface MissingValueDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixdimension - The axis along which to calculatepercentMissing - defines how many values are missing 0.0 to 1.0public Matrix countMissing(Calculation.Ret returnType, int dimension)
MissingValueDoubleCalculationscountMissing in interface MissingValueDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixdimension - The axis along which to calculatepublic final boolean isScalar()
isScalar in interface BaseMatrixPropertiespublic final boolean isRowVector()
isRowVector in interface BaseMatrixPropertiespublic final boolean isColumnVector()
isColumnVector in interface BaseMatrixPropertiespublic final boolean isMultidimensionalMatrix()
isMultidimensionalMatrix in interface BaseMatrixPropertiespublic Matrix sinh(Calculation.Ret returnType)
HyperbolicDoubleCalculationssinh in interface HyperbolicDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixpublic Matrix cosh(Calculation.Ret returnType)
HyperbolicDoubleCalculationscosh in interface HyperbolicDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixpublic Matrix tanh(Calculation.Ret returnType)
HyperbolicDoubleCalculationstanh in interface HyperbolicDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixpublic Matrix sin(Calculation.Ret returnType)
TrigonometricDoubleCalculationssin in interface TrigonometricDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixpublic Matrix cos(Calculation.Ret returnType)
TrigonometricDoubleCalculationscos in interface TrigonometricDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixpublic Matrix tril(Calculation.Ret returnType, int k)
tril in interface ObjectCalculationspublic Matrix triu(Calculation.Ret returnType, int k)
triu in interface ObjectCalculationspublic Matrix tan(Calculation.Ret returnType)
TrigonometricDoubleCalculationstan in interface TrigonometricDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixpublic Matrix cov(Calculation.Ret returnType, boolean ignoreNaN, boolean besselsCorrection)
StatisticalDoubleCalculationscov in interface StatisticalDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original MatrixignoreNaN - should missing values be ignoredbesselsCorrection - use (n-1) instead of npublic Matrix corrcoef(Calculation.Ret returnType, boolean ignoreNaN, boolean besselsCorrection)
StatisticalDoubleCalculationscorrcoef in interface StatisticalDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original MatrixignoreNaN - should missing values be ignoredbesselsCorrection - use (n-1) instead of npublic Matrix mutualInf(Calculation.Ret returnType)
StatisticalDoubleCalculationsmutualInf in interface StatisticalDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixpublic Matrix pairedTTest(Calculation.Ret returnType)
StatisticalDoubleCalculationspairedTTest in interface StatisticalDoubleCalculationsreturnType - Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixpublic Matrix bootstrap(Calculation.Ret returnType)
bootstrap in interface ObjectCalculationspublic Matrix grayScale(Calculation.Ret returnType, GrayScale.ColorChannel colorChannel)
grayScale in interface MiscEntrywiseDoubleCalculationspublic Matrix translate(Calculation.Ret returnType, String sourceLanguage, String targetLanguage)
translate in interface StringCalculationspublic Matrix lowerCase(Calculation.Ret returnType)
lowerCase in interface StringCalculationspublic Matrix upperCase(Calculation.Ret returnType)
upperCase in interface StringCalculationspublic Matrix convertEncoding(Calculation.Ret returnType, String encoding)
convertEncoding in interface StringCalculationspublic Matrix tfIdf(boolean calculateTf, boolean calculateIdf, boolean normalize)
tfIdf in interface StringCalculationspublic Matrix removePunctuation(Calculation.Ret ret)
removePunctuation in interface StringCalculationspublic Matrix stem(Calculation.Ret ret)
stem in interface StringCalculationspublic Matrix removeWords(Calculation.Ret ret, Collection<String> words)
removeWords in interface StringCalculationspublic Matrix unique(Calculation.Ret returnType)
unique in interface ObjectCalculationspublic Matrix uniqueValueCount(Calculation.Ret returnType, int dimension)
uniqueValueCount in interface ObjectCalculationspublic Matrix bootstrap(Calculation.Ret returnType, int count)
bootstrap in interface ObjectCalculationspublic Matrix transpose(Calculation.Ret returnType, int dimension1, int dimension2)
transpose in interface ObjectCalculationspublic Matrix swap(Calculation.Ret returnType, int dimension, long pos1, long pos2)
swap in interface ObjectCalculationspublic Matrix flipdim(Calculation.Ret returnType, int dimension)
flipdim in interface ObjectCalculationspublic final Matrix shuffle(Calculation.Ret returnType)
shuffle in interface ObjectCalculationspublic final double trace()
trace in interface ExtendedMatrixPropertiespublic void setLabel(Object label)
HasLabelpublic final String getLabel()
HasLabelpublic void setAsString(String string, long... coordinates)
GettersAndSetterssetAsString in interface GettersAndSetterscoordinates - location of the entry @public boolean isReadOnly()
isReadOnly in interface BaseMatrixPropertiespublic String getAsString(long... coordinates)
GettersAndSettersgetAsString in interface GettersAndSetterscoordinates - location of the entrypublic final double getMaxValue()
getMaxValue in interface ExtendedMatrixPropertiespublic final double getMinValue()
getMinValue in interface ExtendedMatrixPropertiespublic final double getMeanValue()
getMeanValue in interface ExtendedMatrixPropertiespublic final double getStdValue()
getStdValue in interface ExtendedMatrixPropertiespublic final double getValueSum()
getValueSum in interface ExtendedMatrixPropertiespublic final double getAbsoluteValueSum()
getAbsoluteValueSum in interface ExtendedMatrixPropertiespublic final String getColumnLabel(long col)
getColumnLabel in interface HasMetaDatapublic final String getRowLabel(long row)
getRowLabel in interface HasMetaDatapublic final long getRowForLabel(Object object)
getRowForLabel in interface HasMetaDatapublic final long getColumnForLabel(Object object)
getColumnForLabel in interface HasMetaDatapublic final long[] getPositionForLabel(int dimension,
Object label)
getPositionForLabel in interface HasMetaDatapublic final void setColumnLabel(long col,
Object label)
setColumnLabel in interface HasMetaDatapublic final void setRowLabel(long row,
Object label)
setRowLabel in interface HasMetaDatapublic final double getAbsoluteValueMean()
getAbsoluteValueMean in interface ExtendedMatrixPropertiespublic final Matrix toRowVector(Calculation.Ret returnType)
toRowVector in interface ObjectCalculationspublic final Matrix toColumnVector(Calculation.Ret returnType)
toColumnVector in interface ObjectCalculationspublic Matrix replaceMissingBy(Matrix matrix)
replaceMissingBy in interface MiscGeneralDoubleCalculationspublic final Matrix deleteColumnsWithMissingValues(Calculation.Ret returnType)
deleteColumnsWithMissingValues in interface MissingValueDoubleCalculationspublic final Matrix deleteRowsWithMissingValues(Calculation.Ret returnType, long threshold)
deleteRowsWithMissingValues in interface MissingValueDoubleCalculationspublic final Matrix appendHorizontally(Calculation.Ret returnType, Matrix... matrices)
appendHorizontally in interface MiscGeneralDoubleCalculationspublic Iterable<Object> allValues()
allValues in interface BaseMatrixPropertiespublic final Matrix appendVertically(Calculation.Ret returnType, Matrix... matrices)
appendVertically in interface MiscGeneralDoubleCalculationspublic final Matrix append(Calculation.Ret returnType, int dimension, Matrix... matrices)
append in interface MiscGeneralDoubleCalculationspublic final Matrix discretizeToColumns(long column)
discretizeToColumns in interface DiscretizeCalculationspublic final Matrix subMatrix(Calculation.Ret returnType, long... startAndEndCoordinates)
subMatrix in interface ObjectCalculationspublic Matrix[] svd()
DecompositionDoubleCalculationssvd in interface DecompositionDoubleCalculationspublic final Matrix[] svd(int k)
DecompositionDoubleCalculationssvd in interface DecompositionDoubleCalculationsk - number of singular values to considerpublic Matrix[] eig()
DecompositionDoubleCalculationseig in interface DecompositionDoubleCalculationspublic Matrix[] eigSymm()
DecompositionDoubleCalculationseigSymm in interface DecompositionDoubleCalculationspublic Matrix[] qr()
DecompositionDoubleCalculationsqr in interface DecompositionDoubleCalculationspublic Matrix[] lu()
DecompositionDoubleCalculationslu in interface DecompositionDoubleCalculationspublic Matrix chol()
DecompositionDoubleCalculationschol in interface DecompositionDoubleCalculationspublic void setSize(long... size)
BaseMatrixPropertiesMatrixException is thrown.setSize in interface BaseMatrixPropertiessize - the new size of the matrixpublic final Matrix reshape(Calculation.Ret returnType, long... newSize)
reshape in interface ObjectCalculationspublic final Matrix squeeze(Calculation.Ret returnType)
squeeze in interface ObjectCalculationspublic final double doubleValue()
doubleValue in interface ExtendedMatrixPropertiesdoubleValue in class Numberpublic final int intValue()
intValue in interface ExtendedMatrixPropertiesintValue in class Numberpublic final char charValue()
charValue in interface ExtendedMatrixPropertiespublic final BigInteger bigIntegerValue()
bigIntegerValue in interface ExtendedMatrixPropertiespublic final BigDecimal bigDecimalValue()
bigDecimalValue in interface ExtendedMatrixPropertiespublic final Matrix fadeIn(Calculation.Ret ret, int dimension)
fadeIn in interface MiscGeneralDoubleCalculationspublic final Matrix fadeOut(Calculation.Ret ret, int dimension)
fadeOut in interface MiscGeneralDoubleCalculationspublic final float floatValue()
floatValue in interface ExtendedMatrixPropertiesfloatValue in class Numberpublic final long longValue()
longValue in interface ExtendedMatrixPropertieslongValue in class Numberpublic final Date dateValue()
dateValue in interface ExtendedMatrixPropertiespublic final boolean booleanValue()
booleanValue in interface ExtendedMatrixPropertiespublic final String stringValue()
stringValue in interface ExtendedMatrixPropertiespublic final double getRMS()
getRMS in interface ExtendedMatrixPropertiespublic final Object getMetaData(Object key)
getMetaData in interface HasMetaDatapublic final Matrix getMetaDataMatrix(Object key)
getMetaDataMatrix in interface HasMetaDatapublic final double getMetaDataDouble(Object key)
getMetaDataDouble in interface HasMetaDatapublic final String getMetaDataString(Object key)
getMetaDataString in interface HasMetaDatapublic final MapMatrix<String,Object> getMetaData()
getMetaData in interface HasMetaDatapublic final void setMetaData(MapMatrix<String,Object> metaData)
setMetaData in interface HasMetaDatapublic final void setMetaData(String key, Object value)
setMetaData in interface HasMetaDatapublic final boolean equalsAnnotation(Object o)
equalsAnnotation in interface BaseMatrixPropertiespublic boolean equals(Object o)
equals in interface BaseMatrixPropertiesequals in class Objectpublic final boolean equalsContent(Object o)
equalsContent in interface BaseMatrixPropertiespublic final BooleanMatrix toBooleanMatrix()
toBooleanMatrix in interface Conversionspublic final ByteMatrix toByteMatrix()
toByteMatrix in interface Conversionspublic final CharMatrix toCharMatrix()
toCharMatrix in interface Conversionspublic final DoubleMatrix toDoubleMatrix()
toDoubleMatrix in interface Conversionspublic final FloatMatrix toFloatMatrix()
toFloatMatrix in interface Conversionspublic final IntMatrix toIntMatrix()
toIntMatrix in interface Conversionspublic final LongMatrix toLongMatrix()
toLongMatrix in interface Conversionspublic final BaseBigDecimalMatrix toBigDecimalMatrix()
toBigDecimalMatrix in interface Conversionspublic final BigIntegerMatrix toBigIntegerMatrix()
toBigIntegerMatrix in interface Conversionspublic final ObjectMatrix toObjectMatrix()
toObjectMatrix in interface Conversionspublic final ShortMatrix toShortMatrix()
toShortMatrix in interface Conversionspublic final StringMatrix toStringMatrix()
toStringMatrix in interface Conversionspublic double norm1()
norm1 in interface ExtendedMatrixPropertiespublic double norm2()
norm2 in interface ExtendedMatrixPropertiespublic double normInf()
normInf in interface ExtendedMatrixPropertiespublic double normF()
normF in interface ExtendedMatrixPropertiespublic ListMatrix<?> toListMatrix()
toListMatrix in interface Conversionspublic SetMatrix<?> toSetMatrix()
toSetMatrix in interface Conversionspublic MapMatrix<?,?> toMapMatrix()
toMapMatrix in interface Conversionspublic boolean containsBigInteger(BigInteger v)
containsBigInteger in interface ExtendedMatrixPropertiespublic boolean containsBigDecimal(BigDecimal v)
containsBigDecimal in interface ExtendedMatrixPropertiespublic boolean containsDate(Date v)
containsDate in interface ExtendedMatrixPropertiespublic boolean containsObject(Object o)
containsObject in interface ExtendedMatrixPropertiespublic boolean containsString(String s)
containsString in interface ExtendedMatrixPropertiespublic boolean containsBoolean(boolean v)
containsBoolean in interface ExtendedMatrixPropertiespublic boolean containsByte(byte v)
containsByte in interface ExtendedMatrixPropertiespublic boolean containsChar(char v)
containsChar in interface ExtendedMatrixPropertiespublic boolean containsDouble(double v)
containsDouble in interface ExtendedMatrixPropertiespublic boolean containsFloat(float v)
containsFloat in interface ExtendedMatrixPropertiespublic boolean containsInt(int v)
containsInt in interface ExtendedMatrixPropertiespublic boolean containsLong(long v)
containsLong in interface ExtendedMatrixPropertiespublic boolean containsShort(short v)
containsShort in interface ExtendedMatrixPropertiespublic boolean containsNull()
containsNull in interface ExtendedMatrixPropertiespublic MatrixExportDestinationSelector exportTo()
public MatrixImportSourceSelector importFrom()
importFrom in interface Matrixpublic final String getId()
HasIdpublic final void setId(String id)
HasIdpublic final String getDescription()
getDescription in interface HasDescriptionpublic final Object getLabelObject()
HasLabelgetLabelObject in interface HasLabelpublic final void setDescription(String description)
setDescription in interface HasDescriptionpublic final void share(String hostname, int port) throws UnknownHostException, IOException
share in interface MatrixUnknownHostExceptionIOExceptionpublic final void share(int port)
throws IOException
share in interface MatrixIOExceptionCopyright © 2015 Universal Java Matrix Package. All rights reserved.