| Package | Description |
|---|---|
| org.xmlcml.euclid |
| Modifier and Type | Class and Description |
|---|---|
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 |
|---|---|
RealSquareMatrix |
RealSquareMatrix.calculateEigenvectors()
V is an orthogonal matrix, i.e.
|
RealSquareMatrix |
RealSquareMatrix.calculateInverse() |
RealSquareMatrix |
Point3Vector.calculateNonMassWeightedInertialTensor() |
RealSquareMatrix |
Point3Vector.calculateNonMassWeightedInertialTensorOld()
get inertial tensor.
|
RealSquareMatrix |
Point3Vector.calculateRotationToInertialAxes() |
RealSquareMatrix |
RealSquareMatrix.copyLowerToUpper()
copy lower triangle into upper triangle.
|
RealSquareMatrix |
RealSquareMatrix.copyUpperToLower()
copy upper triangle into lower triangle.
|
static RealSquareMatrix |
RealSquareMatrix.diagonal(RealArray f)
create diagonal matrix from real matrix.
|
static RealSquareMatrix |
RealSquareMatrix.fromLowerTriangle(RealArray f)
create square matrix from lower triangle values
upper triangle is filled with zeros
|
static RealSquareMatrix |
RealSquareMatrix.fromUpperTriangle(RealArray f)
create square matrix from lower triangle
lower triangle is filled with zeros
|
static RealSquareMatrix |
RealSquareMatrix.getCrystallographicOrthogonalisation(double[] celleng,
double[] angle)
create orthogonlisation matrix from cell lengths and angles.
|
RealSquareMatrix |
Point3Vector.getDistanceMatrix()
distance matrix
|
RealSquareMatrix |
RealSquareMatrix.getInverse()
inversion of matrix.
|
RealSquareMatrix |
Transform2.getRotationMatrix()
get Unitary matrix (that is eliminate scales and translation)
|
RealSquareMatrix |
Transform3.getRotationMatrix()
get Unitary matrix.
|
RealSquareMatrix |
RealSquareMatrix.multiply(RealSquareMatrix m)
matrix multiplication.
|
RealSquareMatrix |
RealSquareMatrix.orthonormalize()
orthonormalise matrix.
|
static RealSquareMatrix |
RealSquareMatrix.outerProduct(RealArray f)
Creates square matrix from real matrix.
|
RealSquareMatrix |
RealSquareMatrix.plus(RealSquareMatrix m)
matrix addition.
|
RealSquareMatrix |
RealSquareMatrix.subtract(RealSquareMatrix m)
matrix subtraction.
|
| Modifier and Type | Method and Description |
|---|---|
int |
RealSquareMatrix.diagonaliseAndReturnRank(RealArray eigenvalues,
RealSquareMatrix eigenvectors,
EuclidRuntimeException illCond)
diagonalisation returns eigenvalues and vectors as MODIFIED arguments;
'this' is NOT affected USE JAMA INSTEAD Note that IllCondMatrixException
is RETURNED and not thrown
|
void |
Point3Vector.inertialAxes(RealArray eigval,
RealSquareMatrix eigvect,
EuclidRuntimeException illCond)
Deprecated.
(doesn't work)
|
boolean |
RealSquareMatrix.isEqualTo(RealSquareMatrix r)
are two matrices identical
|
RealSquareMatrix |
RealSquareMatrix.multiply(RealSquareMatrix m)
matrix multiplication.
|
RealSquareMatrix |
RealSquareMatrix.plus(RealSquareMatrix m)
matrix addition.
|
void |
RealSquareMatrix.shallowCopy(RealSquareMatrix m)
shallowCopy an existing square matrix.
|
RealSquareMatrix |
RealSquareMatrix.subtract(RealSquareMatrix m)
matrix subtraction.
|
| Constructor and Description |
|---|
RealSquareMatrix(RealSquareMatrix m)
copy constructor.
|
Transform2(RealSquareMatrix m)
from a 2x2 or 3x3 matrix
|
Transform2(RealSquareMatrix m,
Vector2 v)
from a 2x2 rotation matrix and a translation vector
|
Transform3(RealSquareMatrix m)
from a matrix.
|
Transform3(RealSquareMatrix m,
Vector3 v)
from a matrix and vector.
|
Copyright © 1994–2024 Peter Murray-Rust. All rights reserved.