Package | Description |
---|---|
org.scijava.java3d |
Provides the core set of classes for the
3D graphics API for the Java platform; click here for more information,
including explanatory material that was formerly found in the guide.
|
org.scijava.vecmath |
Provides 3D vector mathematics classes.
|
Modifier and Type | Method and Description |
---|---|
void |
Transform3D.set(GMatrix matrix)
Sets the matrix values of this transform to the matrix values in the
upper 4x4 corner of the GMatrix parameter.
|
Constructor and Description |
---|
Transform3D(GMatrix m1)
Constructs a transform and initializes it to the upper 4 x 4
of the GMatrix argument.
|
Modifier and Type | Method and Description |
---|---|
void |
GMatrix.add(GMatrix m1)
Sets the value of this matrix to sum of itself and matrix m1.
|
void |
GMatrix.add(GMatrix m1,
GMatrix m2)
Sets the value of this matrix to the matrix sum of matrices m1 and m2.
|
void |
GMatrix.copySubMatrix(int rowSource,
int colSource,
int numRow,
int numCol,
int rowDest,
int colDest,
GMatrix target)
Copies a sub-matrix derived from this matrix into the target matrix.
|
boolean |
GMatrix.epsilonEquals(GMatrix m1,
double epsilon)
Returns true if the L-infinite distance between this matrix
and matrix m1 is less than or equal to the epsilon parameter,
otherwise returns false.
|
boolean |
GMatrix.epsilonEquals(GMatrix m1,
float epsilon)
Deprecated.
Use epsilonEquals(GMatrix, double) instead
|
boolean |
GMatrix.equals(GMatrix m1)
Returns true if all of the data members of GMatrix m1 are
equal to the corresponding data members in this GMatrix.
|
void |
GMatrix.get(GMatrix m1)
Places the values in the this GMatrix into the matrix m1;
m1 should be at least as large as this GMatrix.
|
void |
GMatrix.invert(GMatrix m1)
Inverts matrix m1 and places the new values into this matrix.
|
int |
GMatrix.LUD(GMatrix LU,
GVector permutation)
LU Decomposition: this matrix must be a square matrix and the
LU GMatrix parameter must be the same size as this matrix.
|
void |
GVector.LUDBackSolve(GMatrix LU,
GVector b,
GVector permutation)
LU Decomposition Back Solve; this method takes the LU matrix
and the permutation vector produced by the GMatrix method LUD
and solves the equation (LU)*x = b by placing the solution vector
x into this vector.
|
void |
GMatrix.mul(GMatrix m1)
Sets the value of this matrix to the result of multiplying itself
with matrix m1 (this = this * m1).
|
void |
GMatrix.mul(GMatrix m1,
GMatrix m2)
Sets the value of this matrix to the result of multiplying
the two argument matrices together (this = m1 * m2).
|
void |
GVector.mul(GMatrix m1,
GVector v1)
Multiplies matrix m1 times Vector v1 and places the result
into this vector (this = m1*v1).
|
void |
GVector.mul(GVector v1,
GMatrix m1)
Multiplies the transpose of vector v1 (ie, v1 becomes a row
vector with respect to the multiplication) times matrix m1
and places the result into this vector
(this = transpose(v1)*m1).
|
void |
GMatrix.mulTransposeBoth(GMatrix m1,
GMatrix m2)
Multiplies the transpose of matrix m1 times the transpose of matrix
m2, and places the result into this.
|
void |
GMatrix.mulTransposeLeft(GMatrix m1,
GMatrix m2)
Multiplies the transpose of matrix m1 times matrix m2, and
places the result into this.
|
void |
GMatrix.mulTransposeRight(GMatrix m1,
GMatrix m2)
Multiplies matrix m1 times the transpose of matrix m2, and
places the result into this.
|
void |
GMatrix.negate(GMatrix m1)
Sets the value of this matrix equal to the negation of
of the GMatrix parameter.
|
void |
GMatrix.set(GMatrix m1)
Sets the value of this matrix to the values found in matrix m1.
|
void |
GMatrix.sub(GMatrix m1)
Sets the value of this matrix to the matrix difference of itself
and matrix m1 (this = this - m1).
|
void |
GMatrix.sub(GMatrix m1,
GMatrix m2)
Sets the value of this matrix to the matrix difference
of matrices m1 and m2 (this = m1 - m2).
|
int |
GMatrix.SVD(GMatrix U,
GMatrix W,
GMatrix V)
Finds the singular value decomposition (SVD) of this matrix
such that this = U*W*transpose(V); and returns the rank of
this matrix; the values of U,W,V are all overwritten.
|
void |
GVector.SVDBackSolve(GMatrix U,
GMatrix W,
GMatrix V,
GVector b)
Solves for x in Ax = b, where x is this vector (nx1), A is mxn,
b is mx1, and A = U*W*transpose(V); U,W,V must
be precomputed and can be found by taking the singular value
decomposition (SVD) of A using the method SVD found in the
GMatrix class.
|
void |
GMatrix.transpose(GMatrix m1)
Places the matrix values of the transpose of matrix m1 into this matrix.
|
Constructor and Description |
---|
GMatrix(GMatrix matrix)
Constructs a new GMatrix and copies the initial values
from the parameter matrix.
|
Copyright © 2016–2022 SciJava. All rights reserved.