igeo
Class IMatrix3
java.lang.Object
igeo.IMatrix
igeo.IMatrix3
- All Implemented Interfaces:
- IMatrix3I, IMatrix3Op, IMatrixI, IMatrixOp, IParameter
public class IMatrix3
- extends IMatrix
- implements IMatrix3I
Class of 3x3 numerical matrix.
- Version:
- 0.7.0.0;
- Author:
- Satoru Sugihara
Constructor Summary |
IMatrix3()
|
IMatrix3(double v11,
double v12,
double v13,
double v21,
double v22,
double v23,
double v31,
double v32,
double v33)
|
IMatrix3(IMatrix3 m)
|
Method Summary |
double |
determinant()
|
IMatrix3 |
dup()
|
IMatrix3 |
get()
|
static IMatrix3 |
getRotation(IVec axis,
double angle)
|
static IMatrix3 |
getXRotation(double angle)
|
static IMatrix3 |
getYRotation(double angle)
|
static IMatrix3 |
getZRotation(double angle)
|
IMatrix3 |
invert()
|
IMatrix3 |
mul(IMatrix3 m)
m is applied from right side and update the content of this without
creating new instance. |
IMatrix3 |
mul(IMatrix3I m)
|
IVec |
mul(IVecI v)
vector is treated as vertical vector |
IMatrix3 |
set(double v11,
double v12,
double v13,
double v21,
double v22,
double v23,
double v31,
double v32,
double v33)
|
IMatrix3 |
set(IDoubleI v11,
IDoubleI v12,
IDoubleI v13,
IDoubleI v21,
IDoubleI v22,
IDoubleI v23,
IDoubleI v31,
IDoubleI v32,
IDoubleI v33)
|
Methods inherited from class igeo.IMatrix |
add, add, columnNum, columnNum, columnNum, det, determinant, determinant, div, div, get, get, get, mul, mul, mul, mul, rowNum, rowNum, rowNum, set, set, set, set, set, set, setId, setRange, setZero, sub, sub, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface igeo.IMatrixI |
add, columnNum, columnNum, columnNum, determinant, determinant, div, div, get, get, get, mul, mul, mul, rowNum, rowNum, rowNum, set, set, set, set, set, setId, setZero, sub |
IMatrix3
public IMatrix3()
IMatrix3
public IMatrix3(double v11,
double v12,
double v13,
double v21,
double v22,
double v23,
double v31,
double v32,
double v33)
IMatrix3
public IMatrix3(IMatrix3 m)
get
public IMatrix3 get()
- Specified by:
get
in interface IMatrix3I
- Specified by:
get
in interface IMatrix3Op
- Specified by:
get
in interface IMatrixOp
- Specified by:
get
in interface IParameter
- Overrides:
get
in class IMatrix
set
public IMatrix3 set(double v11,
double v12,
double v13,
double v21,
double v22,
double v23,
double v31,
double v32,
double v33)
- Specified by:
set
in interface IMatrix3I
set
public IMatrix3 set(IDoubleI v11,
IDoubleI v12,
IDoubleI v13,
IDoubleI v21,
IDoubleI v22,
IDoubleI v23,
IDoubleI v31,
IDoubleI v32,
IDoubleI v33)
- Specified by:
set
in interface IMatrix3I
dup
public IMatrix3 dup()
- Specified by:
dup
in interface IMatrix3I
- Specified by:
dup
in interface IMatrixI
- Overrides:
dup
in class IMatrix
determinant
public double determinant()
- Specified by:
determinant
in interface IMatrixI
- Overrides:
determinant
in class IMatrix
invert
public IMatrix3 invert()
- Specified by:
invert
in interface IMatrixI
- Overrides:
invert
in class IMatrix
mul
public IMatrix3 mul(IMatrix3 m)
- m is applied from right side and update the content of this without
creating new instance. it returns itself.
mul
public IMatrix3 mul(IMatrix3I m)
- Specified by:
mul
in interface IMatrix3I
mul
public IVec mul(IVecI v)
- vector is treated as vertical vector
- Specified by:
mul
in interface IMatrix3I
getXRotation
public static IMatrix3 getXRotation(double angle)
getYRotation
public static IMatrix3 getYRotation(double angle)
getZRotation
public static IMatrix3 getZRotation(double angle)
getRotation
public static IMatrix3 getRotation(IVec axis,
double angle)