default
tkmath
tkmath
tkmath.Matrix3d
add(Matrix3d m)
- Add another matrix m to this instance
det() : Double
- Calculate determinant of matrix
getA() : Double
- Get value of a element
getAbs() : Double
- Calculate the Hilbert-Schmidt norm of the matrix
getAbsSqr() : Double
- Calculate the squared Hilbert-Schmidt norm of the matrix
getB() : Double
- Get value of b element
getC() : Double
- Get value of c element
getCol(int c) : Vector3d
- Get column c values
getD() : Double
- Get value of d element
getE() : Double
- Get value of e element
getF() : Double
- Get value of f element
getG() : Double
- Get value of g element
getH() : Double
- Get value of h element
getI() : Double
- Get value of i element
getRow(int r) : Vector3d
- Get row r values
getString() : String
- Get string representation of matrix ((a, b, c), (d, e, f), (g, h, i))
init(Double va, vb, vc, vd, ve, vf, vg, vh, vi)
- Initialise matrix
initCol(int c, Double va, vb, vc)
- Initialise column c of matrix
initColV(int c, Vector3d v)
- Initialise column c of matrix
initf(float va, vb, vc, vd, ve, vf, vg, vh, vi)
- Initialise matrix
initIdentity()
- Initialize with identity matrix.
initRow(int r, Double va, vb, vc)
- Initialise row r of matrix
initRowV(int r, Vector3d v)
- Initialise row r of matrix
invert()
- Calculate inversion of matrix, so that A*A-1=U
mul(Matrix3d m)
- Multiply this instance with matrix m
muld(Double v)
- Multiply this instance with scalar value v
mulv(Vector3d v) : Vector3d
- Multiply this instance with a 3dim vector
New(Double va, vb, vc, vd, ve, vf, vg, vh, vi) : Matrix3d
- Initialise and return new instance of Matrix3d
setA(Double v)
- Set a element to v
setB(Double v)
- Set b element to v
setC(Double v)
- Set c element to v
setCol(int c, Vector3d v)
- Set column c with values from v
setD(Double v)
- Set d element to v
setE(Double v)
- Set e element to v
setF(Double v)
- Set f element to v
setG(Double v)
- Set g element to v
setH(Double v)
- Set h element to v
setI(Double v)
- Set i element to v
setRow(int r, Vector3d v)
- Set row r with values from v
sub(Matrix3d m)
- Substract another matrix m from this instance
transpose()
- Transpose matrix
unit()
- Normalise matrix with Hilbert-Schmidt norm
unitScale(Double v)
- Normalise matrix with Hilbert-Schmidt norm and multiply with v afterwardsMethod add | |||||
Add another matrix m to this instance | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method det | |||||
Calculate determinant of matrix | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getAbs | |||||
Calculate the Hilbert-Schmidt norm of the matrix | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getAbsSqr | |||||
Calculate the squared Hilbert-Schmidt norm of the matrix | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getCol | ||||||||||
Get column c values | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
|
Method getRow | ||||||||||
Get row r values | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
|
Method getString | |||||
Get string representation of matrix ((a, b, c), (d, e, f), (g, h, i)) | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method init | |
Initialise matrix | |
Signature | |
Arguments | |
Method initCol | |
Initialise column c of matrix | |
Signature | |
Arguments | |
Method initColV | |||||||||||||||
Initialise column c of matrix | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method initf | ||||||||||||||||||||||||||||||||||||||||||||||||||
Initialise matrix | ||||||||||||||||||||||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Method initIdentity | |||
Initialize with identity matrix. | |||
Signature | |||
|
Method initRow | |
Initialise row r of matrix | |
Signature | |
Arguments | |
Method initRowV | |||||||||||||||
Initialise row r of matrix | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method invert | |||
Calculate inversion of matrix, so that A*A-1=U | |||
Signature | |||
|
Method mul | |||||
Multiply this instance with matrix m | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method muld | |||||
Multiply this instance with scalar value v | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method mulv | ||||
Multiply this instance with a 3dim vector | ||||
Signature | ||||
Arguments | ||||
| ||||
Returns | ||||
|
Method New | |||
Initialise and return new instance of Matrix3d | |||
Signature | |||
Arguments | |||
Returns | |||
|
Method setCol | |||||||||||||||
Set column c with values from v | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method setRow | |||||||||||||||
Set row r with values from v | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method sub | |||||
Substract another matrix m from this instance | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method transpose | |||
Transpose matrix | |||
Signature | |||
|
Method unit | |||
Normalise matrix with Hilbert-Schmidt norm | |||
Signature | |||
|
Method unitScale | |||||
Normalise matrix with Hilbert-Schmidt norm and multiply with v afterwards | |||||
Signature | |||||
| |||||
Arguments | |||||
|
auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 13:15:54