ProGAL.math
Class Matrix3x3
java.lang.Object
ProGAL.math.Matrix
ProGAL.math.Matrix3x3
public class Matrix3x3
- extends Matrix
Methods inherited from class ProGAL.math.Matrix |
add, addThis, create4x4ColumnMatrix, createColumnMatrix, createIdentityMatrix, createRandomMatrix, createRotationMatrix, createRowMatrix, equals, equals, expand, extend, get, getCoords, getEigenvalueDecomposition, getM, getN, getSubmatrix, invert, isSquare, minor, multiply_Strassen, multiply, multiply, multiply, multiply, multiply, multiplyIn, multiplyIn, multiplyThis, multiplyThis, orthonormalizeThis, reduce, reduceThis, set, setColumn, setRow, setSubmatrix, subtract, subtractThis, toConsole, toConsole, toString, toString, transpose |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Matrix3x3
public Matrix3x3()
Matrix3x3
public Matrix3x3(double[][] coords)
getColumn
public Vector getColumn(int c)
- Overrides:
getColumn
in class Matrix
getRow
public Vector getRow(int r)
- Overrides:
getRow
in class Matrix
getTranspose
public Matrix3x3 getTranspose()
- Description copied from class:
Matrix
- Get the transpose of this matrix
- Overrides:
getTranspose
in class Matrix
determinant
public double determinant()
- Get the determinant of this matrix.
- Overrides:
determinant
in class Matrix
invertThis
public Matrix invertThis()
- Invert this matrix (overwrites this and returns it).
- Overrides:
invertThis
in class Matrix
getEigenvectors
public Vector[] getEigenvectors()
- Get the eigenvectors of a 3x3 matrix sorted by decreasing eigenvalue. If the
matrix is singular ... TODO: test this.
- Returns:
- an array containing eigenvectors.
clone
public Matrix3x3 clone()
- Description copied from class:
Matrix
- Returns a clone of this matrix.
- Overrides:
clone
in class Matrix