public interface ObjectCalculations
| Modifier and Type | Method and Description |
|---|---|
Matrix |
bootstrap(Calculation.Ret returnType) |
Matrix |
bootstrap(Calculation.Ret returnType,
int count) |
Matrix |
convert(ValueType newValueType)
Creates a copy of the matrix with the desired type for matrix entries.
|
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... colums)
Deletes columns in the Matrix and returns a link to it.
|
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 |
diag(Calculation.Ret returnType) |
Matrix |
extractAnnotation(Calculation.Ret returnType,
int dimension)
Generates annotation such as row or column labels from the content of
this matrix.
|
Matrix |
fill(Calculation.Ret ret,
Object value)
Returns a matrix with equal size, where all entries are set to a desired
value.
|
Matrix |
flipdim(Calculation.Ret returnType,
int dimension) |
Matrix |
includeAnnotation(Calculation.Ret returnType,
int dimension) |
Matrix |
replace(Calculation.Ret returnType,
Object search,
Object replacement)
Replaces matching values in the matrix with another value
|
Matrix |
reshape(Calculation.Ret returnType,
long... newSize) |
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... colums)
Selects columns in the Matrix and returns a link to it.
|
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.
|
Matrix |
shuffle(Calculation.Ret returnType) |
Matrix |
sortrows(Calculation.Ret returnType,
long column,
boolean reverse) |
Matrix |
squeeze(Calculation.Ret returnType) |
Matrix |
subMatrix(Calculation.Ret returnType,
long... minAndMaxCoordinates) |
Matrix |
swap(Calculation.Ret returnType,
int dimension,
long pos1,
long pos2) |
Matrix |
toColumnVector(Calculation.Ret returnType) |
Matrix |
toRowVector(Calculation.Ret returnType) |
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 sortrows(Calculation.Ret returnType, long column, boolean reverse)
Matrix shuffle(Calculation.Ret returnType)
Matrix bootstrap(Calculation.Ret returnType)
Matrix bootstrap(Calculation.Ret returnType, int count)
Matrix extractAnnotation(Calculation.Ret returnType, int dimension)
returnType - 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.Matrix includeAnnotation(Calculation.Ret returnType, int dimension)
Matrix reshape(Calculation.Ret returnType, long... newSize)
Matrix squeeze(Calculation.Ret returnType)
Matrix unique(Calculation.Ret returnType)
Matrix uniqueValueCount(Calculation.Ret returnType, int dimension)
Matrix tril(Calculation.Ret returnType, int k)
Matrix triu(Calculation.Ret returnType, int k)
Matrix toColumnVector(Calculation.Ret returnType)
Matrix toRowVector(Calculation.Ret returnType)
Matrix swap(Calculation.Ret returnType, int dimension, long pos1, long pos2)
Matrix fill(Calculation.Ret ret, Object value)
value - fill with this valueMatrix replace(Calculation.Ret returnType, Object search, Object replacement)
returnType - 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 valueMatrix transpose()
Matrix transpose(Calculation.Ret returnType)
returnType - Defines if a new Matrix or a link should be returned.Matrix transpose(Calculation.Ret returnType, int dimension1, int dimension2)
Matrix flipdim(Calculation.Ret returnType, int dimension)
Matrix diag(Calculation.Ret returnType)
Matrix convert(ValueType newValueType)
newValueType - defines the new format of the matrixMatrix select(Calculation.Ret returnType, long[]... selection)
returnType - Defines if a new Matrix or a link should be returned.selection - selected rows and columnsMatrix delete(Calculation.Ret returnType, long[]... selection)
returnType - Defines if a new Matrix or a link should be returned.selection - selected rows and columnsMatrix select(Calculation.Ret returnType, Collection<? extends Number>... selection)
returnType - Defines if a new Matrix or a link should be returned.selection - selected rows and columnsMatrix delete(Calculation.Ret returnType, Collection<? extends Number>... selection)
returnType - Defines if a new Matrix or a link should be returned.selection - selected rows and columnsMatrix selectRows(Calculation.Ret returnType, long... rows)
returnType - Defines if a new Matrix or a link should be returned.rows - selected rowsMatrix deleteRows(Calculation.Ret returnType, long... rows)
returnType - Defines if a new Matrix or a link should be returned.rows - selected rowsMatrix selectRows(Calculation.Ret returnType, Collection<? extends Number> rows)
returnType - Defines if a new Matrix or a link should be returned.rows - selected rowsMatrix deleteRows(Calculation.Ret returnType, Collection<? extends Number> rows)
returnType - Defines if a new Matrix or a link should be returned.rows - selected rowsMatrix selectColumns(Calculation.Ret returnType, long... colums)
returnType - Defines if a new Matrix or a link should be returned.columns - selected columnsMatrix deleteColumns(Calculation.Ret returnType, long... colums)
returnType - Defines if a new Matrix or a link should be returned.columns - selected columnsMatrix selectColumns(Calculation.Ret returnType, Collection<? extends Number> columns)
returnType - Defines if a new Matrix or a link should be returned.columns - selected columnsMatrix deleteColumns(Calculation.Ret returnType, Collection<? extends Number> columns)
returnType - Defines if a new Matrix or a link should be returned.columns - selected columnsMatrix select(Calculation.Ret returnType, String selection)
returnType - Defines if a new Matrix or a link should be returned.selection - String defining the selectionMatrix delete(Calculation.Ret returnType, String selection)
returnType - Defines if a new Matrix or a link should be returned.minAndMaxCoordinates - start and end coordinatesMatrix subMatrix(Calculation.Ret returnType, long... minAndMaxCoordinates)
Copyright © 2015 Universal Java Matrix Package. All rights reserved.