public final class Matrix33 extends AMatrix implements ISpecialisedTransform
| Modifier and Type | Field and Description |
|---|---|
double |
m00 |
double |
m01 |
double |
m02 |
double |
m10 |
double |
m11 |
double |
m12 |
double |
m20 |
double |
m21 |
double |
m22 |
| Constructor and Description |
|---|
Matrix33()
Create a new (zero-initialised) 3x3 Matrix
|
Matrix33(AMatrix m) |
Matrix33(double m00,
double m01,
double m02,
double m10,
double m11,
double m12,
double m20,
double m21,
double m22) |
Matrix33(Matrix33 source) |
| Modifier and Type | Method and Description |
|---|---|
Matrix33 |
clone()
Clones the transform, performing a deep copy where needed
|
Vector3 |
cloneRow(int row)
Returns a row of the matrix as a cloned vector
|
int |
columnCount()
Returns the number of columns in the matrix
|
static Matrix33 |
createIdentityMatrix() |
static Matrix33 |
createScaleMatrix(double d) |
double |
determinant()
Calculates the determinant of the matrix.
|
boolean |
equals(Matrix33 m) |
boolean |
equals(Object o) |
Matrix33 |
exactClone()
Returns an exact deep clone of an array (i.e.
|
double |
get(int row,
int column)
Returns a specified element in the matrix
|
Matrix33 |
getTranspose()
Returns a transposed version of this matrix.
|
AMatrix |
innerProduct(AMatrix a) |
AVector |
innerProduct(AVector a) |
Matrix33 |
innerProduct(Matrix33 a) |
Vector3 |
innerProduct(Vector3 a) |
Matrix33 |
inverse()
Return the inverse of this transformation if possible
|
boolean |
isSquare()
Returns true if the transform is square (same number of input and output dimensions)
|
void |
multiply(double factor)
Multiplies all elements of the array by a given double value
|
int |
rowCount()
Returns the number of rows in the matrix
|
void |
set(int row,
int column,
double value)
Sets a specified element in the matrix
|
Affine34 |
toAffineTransform() |
double |
trace() |
void |
transform(AVector source,
AVector dest)
Transforms the source vector, storing the result in the given destination vector
|
Vector3 |
transform(Vector3 source) |
void |
transform(Vector3 source,
AVector dest) |
void |
transform(Vector3 source,
Vector3 dest) |
void |
transformInPlace(AVector dest)
Transforms a vector destructively.
|
void |
transformInPlace(Vector3 dest) |
void |
transformNormal(AVector source,
AVector dest) |
void |
transformNormal(Vector3 source,
Vector3 dest) |
abs, add, add, add, add, add, addAt, addMultiple, addRowMultiple, applyOp, applyOp, asDoubleArray, asElementList, asVector, bandIndex, bandLength, bandLength, bandPosition, broadcast, broadcastCloneLike, broadcastLike, broadcastLike, calculateElement, calculateElement, clamp, compose, compose, composeWith, composeWith, copyColumnTo, copyOfMatrix, copyOfTranslationVector, copyRowTo, copyTo, dimensionality, divide, divide, elementCount, elementDiv, elementIterator, elementMul, elementSquaredSum, elementSum, ensureMutable, epsilonEquals, epsilonEquals, epsilonEquals, equals, equals, equals, exp, fill, get, get, get, getBand, getBandWrapped, getColumn, getElements, getLeadingDiagonal, getLongShape, getMatrixComponent, getRow, getShape, getShape, getSlices, getSliceViews, getTransposeCopy, getTransposeView, hashCode, hasOrthonormalColumns, hassOrthonormalRows, innerProduct, innerProduct, innerProduct, innerProduct, inputDimensions, isBoolean, isDiagonal, isElementConstrained, isFullyMutable, isHermitian, isIdentity, isInvertible, isLowerTriangular, isMutable, isOrthogonal, isPositiveDefinite, isRectangularDiagonal, isSameShape, isSameShape, isSymmetric, isUpperTriangular, isView, isZero, iterator, log, lowerBandwidth, lowerBandwidthLimit, mul, multiply, multiplyRow, negate, nonZeroCount, outerProduct, outputDimensions, pow, reciprocal, reshape, reshape, scale, scaleAdd, set, set, set, set, set, set, setColumn, setElements, setElements, setRow, signum, slice, slice, sliceCount, sqrt, square, sub, sub, sub, sub, sub, subMatrix, swapColumns, swapRows, toArray, toDoubleArray, toDoubleBuffer, toMatrix, toMatrixTranspose, toMutableMatrix, toString, toVector, transform, transform, transform, transformInPlace, transposeInnerProduct, transposeInnerProduct, transposeInPlace, unsafeGet, unsafeSet, upperBandwidth, upperBandwidthLimit, validategetTranslationComponent, isLinearcomposetakeComponents, takeComponents, takeComponentspublic double m00
public double m01
public double m02
public double m10
public double m11
public double m12
public double m20
public double m21
public double m22
public Matrix33()
public Matrix33(Matrix33 source)
public Matrix33(double m00,
double m01,
double m02,
double m10,
double m11,
double m12,
double m20,
double m21,
double m22)
public Matrix33(AMatrix m)
public double determinant()
AMatrixdeterminant in class AMatrixpublic void multiply(double factor)
INDArraypublic int rowCount()
AMatrixpublic int columnCount()
AMatrixcolumnCount in interface IMatrixcolumnCount in class AMatrixpublic double get(int row,
int column)
AMatrixpublic void set(int row,
int column,
double value)
AMatrixpublic AMatrix innerProduct(AMatrix a)
innerProduct in class AMatrixpublic AVector innerProduct(AVector a)
innerProduct in class AMatrixpublic void transform(AVector source, AVector dest)
ATransformtransform in interface ITransformtransform in class AMatrixpublic void transformNormal(AVector source, AVector dest)
transformNormal in class AAffineTransformpublic void transformInPlace(AVector dest)
ATransformtransformInPlace in class AMatrixpublic void transformInPlace(Vector3 dest)
public boolean isSquare()
ATransformpublic Affine34 toAffineTransform()
toAffineTransform in class AMatrixpublic Matrix33 getTranspose()
AMatrixgetTranspose in interface INDArraygetTranspose in class AMatrixpublic Vector3 cloneRow(int row)
public Matrix33 inverse()
ATransformpublic Matrix33 clone()
ATransformpublic Matrix33 exactClone()
INDArrayexactClone in interface INDArrayexactClone in class AMatrixpublic boolean equals(Matrix33 m)
public static Matrix33 createIdentityMatrix()
public static Matrix33 createScaleMatrix(double d)
Copyright © 2013. All Rights Reserved.