|
JEphem site jephem API Build classes |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--tig.maths.Matrix3
Simple representation of a 3 x 3 matrix based on double
s.
Field Summary | |
double |
m00
Term of the matrix |
double |
m01
Term of the matrix |
double |
m02
Term of the matrix |
double |
m10
Term of the matrix |
double |
m11
Term of the matrix |
double |
m12
Term of the matrix |
double |
m20
Term of the matrix |
double |
m21
Term of the matrix |
double |
m22
Term of the matrix |
Constructor Summary | |
Matrix3(double x00,
double x01,
double x02,
double x10,
double x11,
double x12,
double x20,
double x21,
double x22)
Unique constructor. |
Method Summary | |
static Matrix3 |
getIdentityMatrix()
Returns the identity matrix. |
static Matrix3 |
getInverse(Matrix3 M)
Returns the inverse matrix of M. |
static Matrix3 |
getRotX(double alpha)
Returns a matrix that can be used as a rotation matrix around the X axis. |
static Matrix3 |
getRotY(double alpha)
Returns a matrix that can be used as a rotation matrix around the Y axis. |
static Matrix3 |
getRotZ(double alpha)
Returns a matrix that can be used as a rotation matrix around the Z axis. |
static Matrix3 |
mul(Matrix3 M1,
Matrix3 M2)
Returns a matrix M such as M = M1 * M2. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public 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
Constructor Detail |
public Matrix3(double x00, double x01, double x02, double x10, double x11, double x12, double x20, double x21, double x22)
mij
from parameters xij.
Method Detail |
public static Matrix3 getIdentityMatrix()
public static Matrix3 getRotX(double alpha)
alpha
- The rotation angle, in radians.public static Matrix3 getRotY(double alpha)
alpha
- The rotation angle, in radians.public static Matrix3 getRotZ(double alpha)
alpha
- The rotation angle, in radians.public static Matrix3 mul(Matrix3 M1, Matrix3 M2)
public static Matrix3 getInverse(Matrix3 M)
M
- The matrix to invert.
|
JEphem site jephem API Build classes |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |