| Package | Description |
|---|---|
| org.xmlcml.euclid |
| Modifier and Type | Class and Description |
|---|---|
class |
RealSquareMatrix
square matrix class
RealSquareMatrix represents a square m-x-m matrix.
|
class |
Transform2
2-D transformation matrix class
Transform2 represents a transformation matrix for 2-D objects.
|
class |
Transform3
3-D transformation matrix class Transform3 represents a transformation matrix
for 3-D objects.
|
| Modifier and Type | Method and Description |
|---|---|
RealMatrix |
RealMatrix.createMatrixWithOriginShifted(double deltax,
double deltay) |
RealMatrix |
RealMatrix.extractSubMatrixData(int low_row,
int high_row,
int low_col,
int high_col)
extract a RealMatrix submatrix from a RealMatrix
|
RealMatrix |
RealMatrix.format(int places)
round to decimal places.
|
RealMatrix |
Real2Vector.getDistanceMatrix(List<Real2> coords2)
get rectangular distance matrix.
|
static RealMatrix |
Real2.getDistanceMatrix(List<Real2> coords1,
List<Real2> coords2)
get rectangular distance matrix.
|
RealMatrix |
RealMatrix.getTranspose()
transpose matrix - creates new Matrix
|
RealMatrix |
RealMatrix.multiply(RealMatrix m)
matrix multiplication.
|
RealMatrix |
RealMatrix.plus(RealMatrix m2)
matrix addition.
|
RealMatrix |
RealMatrix.reorderColumnsBy(IntSet is)
reorder the columns of a matrix.
|
RealMatrix |
RealMatrix.reorderRowsBy(IntSet is)
reorder the rows of a matrix Deleting rows is allowed
|
RealMatrix |
RealMatrix.scaleAndInterpolate(int newRows,
int newCols) |
RealMatrix |
RealMatrix.subtract(RealMatrix m2)
matrix subtraction.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RealMatrix.appendColumnData(RealMatrix m)
append data to matrix columnwise.
|
void |
RealMatrix.appendRowData(RealMatrix m)
append data to matrix rowwise.
|
void |
RealMatrix.insertColumnData(int afterCol,
RealMatrix m)
add data as column or column block into matrix and expand.
|
void |
RealMatrix.insertRowData(int afterRow,
RealMatrix m)
insert 2 or more adjacent rows of data into matrix and expand
|
boolean |
RealMatrix.isEqualTo(RealMatrix m)
tests matrices for equality.
|
RealMatrix |
RealMatrix.multiply(RealMatrix m)
matrix multiplication.
|
void |
RealMatrix.multiplyEquals(RealMatrix m)
matrix multiplication.
|
RealMatrix |
RealMatrix.plus(RealMatrix m2)
matrix addition.
|
void |
RealMatrix.replaceColumnData(int start_column,
RealMatrix m)
replace data in a block of columns.
|
void |
RealMatrix.replaceRowData(int afterRow,
RealMatrix m)
overwrite existing block of rows; if too big, copying is truncated
|
void |
RealMatrix.replaceSubMatrixData(int low_row,
int low_col,
RealMatrix m)
replaces the data in a submatrix.
|
void |
RealMatrix.shallowCopy(RealMatrix m)
shallow copy constructor.
|
RealMatrix |
RealMatrix.subtract(RealMatrix m2)
matrix subtraction.
|
| Constructor and Description |
|---|
IntMatrix(RealMatrix realMatrix)
casts doubles to int.
|
RealMatrix(RealMatrix m)
copy constructor.
|
RealMatrix(RealMatrix m,
int lowrow,
int hirow,
int lowcol,
int hicol)
create from submatrix of another matrix.
|
RealSquareMatrix(RealMatrix m)
shallow copy from RealMatrix
the array values are not copied (only the reference)
|
RealSquareMatrix(RealMatrix m,
int lowrow,
int lowcol,
int rows)
Constructor for submatrix of another matrix.
|
Copyright © 1994–2024 Peter Murray-Rust. All rights reserved.