default
tkmath
tkmathtkmath.Complexfadd(Complexf v) - add complex number v to this instance
div(Complexf v) - Divide this instance by complex v
getA() : float - Get a property of reia
getAbs() : float - Returns length of complex number
getAbsSqr() : float - Returns squared length of complex number (faster than abs)
getPolarString() : String - Get string representation of complex number (reia)
getR() : float - Get r property of reia
getString() : String - Get string representation of complex number (x+iy)
getX() : float - Get x property of x+iy
getY() : float - Get y property of x+iy
init(float a, b) - Set value of instance to x=a and y=b (x+iy)
initPolar(float a, b) - Set value of instance to r=_a and a=_b (reia)
invert() - Invert this instance (v=1/v)
mul(Complexf v) - Multiply this instance with complex v
mulConj(Complexf v) : float - Multiply this instance with complex conjugated v, ((x1+iy1)*(x2-iy2))
mulf(float v) - Multiply this instance with scalar v
New(float a, b) : Complexf - Returns new instance with values x=a and y=b of (x+iy)
NewPolar(float va, vb) : Complexf - Returns new instance with values r=va and a=vb of (reia)
setA(float a) - Set a property of reia
setR(float r) - Set r property of reia
setX(float x) - Set x property of x+iy
setY(float x) - Set y property of x+iy
sub(Complexf v) - substract complex number v from this instance
unit() - Set length of instance to 1
unitScale(float s) - Set length of instance to sMethod add | |||||
add complex number v to this instance | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method div | |||||
Divide this instance by complex v | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method getA | |||||
Get a property of reia | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getAbs | |||||
Returns length of complex number | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getAbsSqr | |||||
Returns squared length of complex number (faster than abs) | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getPolarString | |||||
Get string representation of complex number (reia) | |||||
Signature | |||||
| |||||
Returns | |||||
Method getR | |||||
Get r property of reia | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getString | |||||
Get string representation of complex number (x+iy) | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getX | |||||
Get x property of x+iy | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getY | |||||
Get y property of x+iy | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method init | |||||||||||||||
Set value of instance to x=a and y=b (x+iy) | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method initPolar | |||||||||||||||
Set value of instance to r=_a and a=_b (reia) | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method invert | |||
Invert this instance (v=1/v) | |||
Signature | |||
|
Method mul | |||||
Multiply this instance with complex v | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method mulConj | ||||||||||
Multiply this instance with complex conjugated v, ((x1+iy1)*(x2-iy2)) | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
| ||||||||||
Method mulf | |||||
Multiply this instance with scalar v | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method New | ||||||||||||||||||||
Returns new instance with values x=a and y=b of (x+iy) | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
| ||||||||||||||||||||
Returns | ||||||||||||||||||||
| ||||||||||||||||||||
Method NewPolar | ||||||||||||||||||||
Returns new instance with values r=va and a=vb of (reia) | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
| ||||||||||||||||||||
Returns | ||||||||||||||||||||
| ||||||||||||||||||||
Method setA | |||||
Set a property of reia | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setR | |||||
Set r property of reia | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setX | |||||
Set x property of x+iy | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setY | |||||
Set y property of x+iy | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method sub | |||||
substract complex number v from this instance | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method unit | |||
Set length of instance to 1 | |||
Signature | |||
|
Method unitScale | |||||
Set length of instance to s | |||||
Signature | |||||
| |||||
Arguments | |||||
|
auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 13:15:54