Complex
Constructor Summary
Public Constructor | ||
public |
constructor(representation: *, real: *, img: *) |
Method Summary
Public Methods | ||
public |
abs(): * |
|
public |
add(other: *): * |
|
public |
cmp(other: *): * |
|
public |
conjugate(): * |
|
public |
copy(): * |
|
public |
div(other: *): * |
|
public |
divide_knowing_divisible_by(other: *): * |
|
public |
divide_knowing_model_contains(other: *): * |
|
public |
divides(other: *): * |
|
public |
divmod(other: *) |
|
public |
eq(other: *): * |
|
public |
ge(other: *): * |
|
public |
gt(other: *): * |
|
public |
iadd(other: *): * |
|
public |
idiv(other: *): * |
|
public |
imod(other: *) |
|
public |
imul(other: *): * |
|
public |
ipow(other: *): * |
|
public |
isone(): * |
|
public |
isquare(): * |
|
public |
isub(other: *): * |
|
public |
iszero(): * |
|
public |
le(other: *): * |
|
public |
lt(other: *): * |
|
public |
mod(other: *) |
|
public |
move(other: *): * |
|
public |
mul(other: *): * |
|
public |
ne(other: *): * |
|
public |
negate(): * |
|
public |
nonzero(): * |
|
public |
opposite(): * |
|
public |
Computes |
|
public |
signum(): * |
|
public |
square(): * |
|
public |
sub(other: *): * |
|
public |
toString(representation: *): * |
Private Methods | ||
private |
__floordiv__(other: *) |
|
private |
__truediv__(other: *): * |
Public Constructors
public constructor(representation: *, real: *, img: *) source
Params:
Name | Type | Attribute | Description |
representation | * | ||
real | * | ||
img | * |
Public Methods
public divide_knowing_divisible_by(other: *): * source
Params:
Name | Type | Attribute | Description |
other | * |
Return:
* |
public divide_knowing_model_contains(other: *): * source
Params:
Name | Type | Attribute | Description |
other | * |
Return:
* |
public divmod(other: *) source
Params:
Name | Type | Attribute | Description |
other | * |
public imod(other: *) source
Params:
Name | Type | Attribute | Description |
other | * |
public mod(other: *) source
Params:
Name | Type | Attribute | Description |
other | * |
public pow(other: Complex): Complex source
Computes this
raised to the other
th power.
Params:
Name | Type | Attribute | Description |
other | Complex | The power to raise |
public toString(representation: *): * source
Params:
Name | Type | Attribute | Description |
representation | * |
|
Return:
* |
Private Methods
private __floordiv__(other: *) source
Params:
Name | Type | Attribute | Description |
other | * |