default
tkmath
tkmath
tkmath.Matrix2d
add(Matrix2d 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) : Vector2d
- Get column c values
getD() : Double
- Get value of d element
getRow(int r) : Vector2d
- Get row r values
getString() : String
- Get string representation of matrix ((a, b), (c, d))
init(Doubla va, Double vb, vc, vd)
- Initialise matrix
initCol(int c, Double va, vb)
- Initialise column c of matrix
initColV(int c, Vector2d v)
- Initialise column c of matrix
initf(float va, vb, vc, vd)
- Initialise matrix
initIdentity()
- Initialize with identity matrix.
initRow(int r, Double va, vb)
- Initialise row r of matrix
initRowV(int r, Vector2d v)
- Initialise row r of matrix
invert()
- Calculate inversion of matrix, so that A*A-1=U
mul(Matrix2d m)
- Multiply this instance with matrix m
muld(Double v)
- Multiply this instance with scalar value v
mulv(Vector2d v) : Vector2d
- Multiply this instance with a 2dim vector
New(Double va, vb, vc, vd) : Matrix2d
- Initialise and return new instance of Matrix2d
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, Vector2d v)
- Set column c with values from v
setD(Double v)
- Set d element to v
setRow(int r, Vector2d v)
- Set row r with values from v
sub(Matrix2d 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)) | |||||
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 2dim vector | ||||
Signature | ||||
Arguments | ||||
| ||||
Returns | ||||
|
Method New | |||
Initialise and return new instance of Matrix2d | |||
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