Function
Static Public Summary | ||
public |
$(kernel: *) |
|
public |
$0(): * |
|
public |
$0($0: *) |
|
public |
$1($0: *, $1: *) |
|
public |
$1(): * |
|
public |
Complex(a: *, b: *) |
|
public |
Complex(a: *, b: *) |
|
public |
abs(sqrt: *, pow2: *, add: *) Computes the absolute value (or modulus or magnitude) of the complex number a + bi. |
|
public |
add(first: *, second: *): * |
|
public |
add(add: *) Addition algorithm. |
|
public |
arg(atan2: *) Computes the argument of the complex number a + bi. |
|
public |
binary(kernel: *) |
|
public |
binary(kernel: *) |
|
public |
binary(kernel: *) |
|
public |
binary(kernel: *) |
|
public |
compile(objectPattern: {"add": *, "sub": *, "mul": *, "div": *, "neg": *, "cos": *, "sin": *}, symbol: *): {"mul": *, "div": *, "real": *, "img": *, "con": *} |
|
public |
compile(objectPattern: {"add": *, "sub": *, "mul": *, "div": *, "div2": *, "div2n": *, "neg": *, "sqrt": *, "pow2": *, "exp": *, "loge": *, "PI": *, "cos": *, "sin": *, "atan2": *, "parse": *, "stringify": *, "$0": *, "$1": *, "$_1": *, "eq0": *, "eq1": *, "eq_1": *, "gt0": *}, symbol: *): {"$0": *, "$1": *, "root2n": *, "iroot2n": *, "add": *, "sub": *, "mul": *, "imul": *, "div": *, "div2": *, "abs": *, "arg": *, "con": *, "parse": *, "stringify": *, "exp": *, "pow": *} |
|
public |
compile(objectPattern: {"mul": *, "div": *, "real": *, "img": *, "con": *}, symbol: *): {"complex": *, "mul": *, "div": *, "real": *, "img": *, "con": *} |
|
public |
compile(objectPattern: {"$0": *, "$1": *, "root2n": *, "iroot2n": *, "add": *, "sub": *, "mul": *, "div": *, "imul": *, "div2": *, "abs": *, "arg": *, "con": *, "parse": *, "stringify": *, "exp": *, "pow": *}, symbol: *): {"complex": *, "$0": *, "$1": *, "root2n": *, "iroot2n": *, "add": *, "sub": *, "mul": *, "imul": *, "div": *, "div2": *, "abs": *, "arg": *, "con": *, "parse": *, "stringify": *, "exp": *, "pow": *} |
|
public |
compile(objectPattern: {"$0": *, "$1": *, "root2n": *, "iroot2n": *, "add": *, "sub": *, "mul": *, "div": *, "imul": *, "div2": *, "abs": *, "arg": *, "con": *, "parse": *, "stringify": *, "exp": *, "pow": *}, symbol: *): {"complex": *, "$0": *, "$1": *, "root2n": *, "iroot2n": *, "add": *, "sub": *, "mul": *, "imul": *, "div": *, "div2": *, "abs": *, "arg": *, "con": *, "parse": *, "stringify": *, "exp": *, "pow": *} |
|
public |
compile(objectPattern: {"mul": *, "div": *, "real": *, "img": *, "con": *}, symbol: *): {"complex": *, "mul": *, "div": *, "real": *, "img": *, "con": *} |
|
public |
complex(a: *, b: *) |
|
public |
complex(a: *, b: *) |
|
public |
complex(a: *, b: *) |
|
public |
complex(a: *, b: *) |
|
public |
con(neg: *) Conjugate for polar representation |
|
public |
con(neg: *) Conjugate for cartesian representation |
|
public |
div(div: *, sub: *) |
|
public |
div(first: *, second: *): * |
|
public |
Division algorithm |
|
public |
div2(div2: *) |
|
public |
exp(exp: *, cos: *, sin: *, mul: *) |
|
public |
fromarray(arrayPattern: *[]) |
|
public |
fromarray(arrayPattern: *[]) |
|
public |
iadd(first: *, second: *): * |
|
public |
idiv(first: *, second: *): * |
|
public |
img(kernel: *) |
|
public |
img(mul: *, sin: *) |
|
public |
img(kernel: *) |
|
public |
imod(first: *, second: *): * |
|
public |
imul(first: *, second: *): * |
|
public |
ipow(first: *, second: *): * |
|
public |
iroot2n(cos: *, sin: *, pi: *, div2n: *, neg: *) |
|
public |
isub(first: *, second: *): * |
|
public |
mod(first: *, second: *): * |
|
public |
mul(mul: *, add: *, sub: *) Multiplication algorithm |
|
public |
mul(mul: *, add: *) |
|
public |
mul(first: *, second: *): * |
|
public |
parse(object: *, representation: *): * |
|
public |
parse(parse: *, $0: *, $1: *, $_1: *, symbol: *): * Parse |
|
public |
parse(kernel: *) |
|
public |
pow(first: *, second: *): * |
|
public |
pow(exp: *, abs: *, arg: *, loge: *, mul: *, sub: *, add: *): * |
|
public |
real(kernel: *) |
|
public |
real(mul: *, cos: *) |
|
public |
real(kernel: *) |
|
public |
root2n(kernel: *) |
|
public |
root2n(cos: *, sin: *, pi: *, div2n: *) |
|
public |
stringify(kernel: *) |
|
public |
stringify(complex: *, representation: *): * |
|
public |
stringify(stringify: *, eq0: *, eq1: *, eq_1: *, gt0: *, symbol: *): * Stringify |
|
public |
sub(first: *, second: *): * |
|
public |
unary(kernel: *) |
|
public |
unary(kernel: *) |
|
public |
unary(kernel: *) |
|
public |
unary(kernel: *) |
Static Public
public $(kernel: *) source
import $ from '@aureooms/js-complex/src/cartesian/object/core/$.js'
Params:
Name | Type | Attribute | Description |
kernel | * |
public $0($0: *) source
import $0 from '@aureooms/js-complex/src/cartesian/kernel/core/$0.js'
Params:
Name | Type | Attribute | Description |
$0 | * |
public $1($0: *, $1: *) source
import $1 from '@aureooms/js-complex/src/cartesian/kernel/core/$1.js'
Params:
Name | Type | Attribute | Description |
$0 | * | ||
$1 | * |
public Complex(a: *, b: *) source
import Complex from '@aureooms/js-complex/src/cartesian/object/core/Complex.js'
Params:
Name | Type | Attribute | Description |
a | * | ||
b | * |
public Complex(a: *, b: *) source
import Complex from '@aureooms/js-complex/src/polar/object/core/Complex.js'
Params:
Name | Type | Attribute | Description |
a | * | ||
b | * |
public abs(sqrt: *, pow2: *, add: *) source
import abs from '@aureooms/js-complex/src/cartesian/kernel/core/abs.js'
Computes the absolute value (or modulus or magnitude) of the complex number a + bi.
Params:
Name | Type | Attribute | Description |
sqrt | * | ||
pow2 | * | ||
add | * |
public add(first: *, second: *): * source
import {add} from '@aureooms/js-complex/src/complex.js'
Params:
Name | Type | Attribute | Description |
first | * | ||
second | * |
Return:
* |
public add(add: *) source
import add from '@aureooms/js-complex/src/cartesian/kernel/core/add.js'
Addition algorithm.
Returns the result of (a + bi) + (c + di).
Params:
Name | Type | Attribute | Description |
add | * |
public arg(atan2: *) source
import arg from '@aureooms/js-complex/src/cartesian/kernel/core/arg.js'
Computes the argument of the complex number a + bi.
Params:
Name | Type | Attribute | Description |
atan2 | * |
public binary(kernel: *) source
import binary from '@aureooms/js-complex/src/cartesian/array/core/binary.js'
Params:
Name | Type | Attribute | Description |
kernel | * |
public binary(kernel: *) source
import binary from '@aureooms/js-complex/src/cartesian/object/core/binary.js'
Params:
Name | Type | Attribute | Description |
kernel | * |
public binary(kernel: *) source
import binary from '@aureooms/js-complex/src/polar/object/core/binary.js'
Params:
Name | Type | Attribute | Description |
kernel | * |
public binary(kernel: *) source
import binary from '@aureooms/js-complex/src/polar/array/core/binary.js'
Params:
Name | Type | Attribute | Description |
kernel | * |
public compile(objectPattern: {"add": *, "sub": *, "mul": *, "div": *, "neg": *, "cos": *, "sin": *}, symbol: *): {"mul": *, "div": *, "real": *, "img": *, "con": *} source
import compile from '@aureooms/js-complex/src/polar/kernel/compile.js'
Params:
Name | Type | Attribute | Description |
objectPattern | {"add": *, "sub": *, "mul": *, "div": *, "neg": *, "cos": *, "sin": *} |
|
|
symbol | * |
Return:
{"mul": *, "div": *, "real": *, "img": *, "con": *} |
public compile(objectPattern: {"add": *, "sub": *, "mul": *, "div": *, "div2": *, "div2n": *, "neg": *, "sqrt": *, "pow2": *, "exp": *, "loge": *, "PI": *, "cos": *, "sin": *, "atan2": *, "parse": *, "stringify": *, "$0": *, "$1": *, "$_1": *, "eq0": *, "eq1": *, "eq_1": *, "gt0": *}, symbol: *): {"$0": *, "$1": *, "root2n": *, "iroot2n": *, "add": *, "sub": *, "mul": *, "imul": *, "div": *, "div2": *, "abs": *, "arg": *, "con": *, "parse": *, "stringify": *, "exp": *, "pow": *} source
import compile from '@aureooms/js-complex/src/cartesian/kernel/compile.js'
Params:
Name | Type | Attribute | Description |
objectPattern | {"add": *, "sub": *, "mul": *, "div": *, "div2": *, "div2n": *, "neg": *, "sqrt": *, "pow2": *, "exp": *, "loge": *, "PI": *, "cos": *, "sin": *, "atan2": *, "parse": *, "stringify": *, "$0": *, "$1": *, "$_1": *, "eq0": *, "eq1": *, "eq_1": *, "gt0": *} |
|
|
symbol | * |
Return:
{"$0": *, "$1": *, "root2n": *, "iroot2n": *, "add": *, "sub": *, "mul": *, "imul": *, "div": *, "div2": *, "abs": *, "arg": *, "con": *, "parse": *, "stringify": *, "exp": *, "pow": *} |
public compile(objectPattern: {"mul": *, "div": *, "real": *, "img": *, "con": *}, symbol: *): {"complex": *, "mul": *, "div": *, "real": *, "img": *, "con": *} source
import compile from '@aureooms/js-complex/src/polar/array/compile.js'
Params:
Name | Type | Attribute | Description |
objectPattern | {"mul": *, "div": *, "real": *, "img": *, "con": *} |
|
|
symbol | * |
Return:
{"complex": *, "mul": *, "div": *, "real": *, "img": *, "con": *} |
public compile(objectPattern: {"$0": *, "$1": *, "root2n": *, "iroot2n": *, "add": *, "sub": *, "mul": *, "div": *, "imul": *, "div2": *, "abs": *, "arg": *, "con": *, "parse": *, "stringify": *, "exp": *, "pow": *}, symbol: *): {"complex": *, "$0": *, "$1": *, "root2n": *, "iroot2n": *, "add": *, "sub": *, "mul": *, "imul": *, "div": *, "div2": *, "abs": *, "arg": *, "con": *, "parse": *, "stringify": *, "exp": *, "pow": *} source
import compile from '@aureooms/js-complex/src/cartesian/object/compile.js'
Params:
Name | Type | Attribute | Description |
objectPattern | {"$0": *, "$1": *, "root2n": *, "iroot2n": *, "add": *, "sub": *, "mul": *, "div": *, "imul": *, "div2": *, "abs": *, "arg": *, "con": *, "parse": *, "stringify": *, "exp": *, "pow": *} |
|
|
symbol | * |
Return:
{"complex": *, "$0": *, "$1": *, "root2n": *, "iroot2n": *, "add": *, "sub": *, "mul": *, "imul": *, "div": *, "div2": *, "abs": *, "arg": *, "con": *, "parse": *, "stringify": *, "exp": *, "pow": *} |
public compile(objectPattern: {"$0": *, "$1": *, "root2n": *, "iroot2n": *, "add": *, "sub": *, "mul": *, "div": *, "imul": *, "div2": *, "abs": *, "arg": *, "con": *, "parse": *, "stringify": *, "exp": *, "pow": *}, symbol: *): {"complex": *, "$0": *, "$1": *, "root2n": *, "iroot2n": *, "add": *, "sub": *, "mul": *, "imul": *, "div": *, "div2": *, "abs": *, "arg": *, "con": *, "parse": *, "stringify": *, "exp": *, "pow": *} source
import compile from '@aureooms/js-complex/src/cartesian/array/compile.js'
Params:
Name | Type | Attribute | Description |
objectPattern | {"$0": *, "$1": *, "root2n": *, "iroot2n": *, "add": *, "sub": *, "mul": *, "div": *, "imul": *, "div2": *, "abs": *, "arg": *, "con": *, "parse": *, "stringify": *, "exp": *, "pow": *} |
|
|
symbol | * |
Return:
{"complex": *, "$0": *, "$1": *, "root2n": *, "iroot2n": *, "add": *, "sub": *, "mul": *, "imul": *, "div": *, "div2": *, "abs": *, "arg": *, "con": *, "parse": *, "stringify": *, "exp": *, "pow": *} |
public compile(objectPattern: {"mul": *, "div": *, "real": *, "img": *, "con": *}, symbol: *): {"complex": *, "mul": *, "div": *, "real": *, "img": *, "con": *} source
import compile from '@aureooms/js-complex/src/polar/object/compile.js'
Params:
Name | Type | Attribute | Description |
objectPattern | {"mul": *, "div": *, "real": *, "img": *, "con": *} |
|
|
symbol | * |
Return:
{"complex": *, "mul": *, "div": *, "real": *, "img": *, "con": *} |
public complex(a: *, b: *) source
import complex from '@aureooms/js-complex/src/polar/object/core/complex.js'
Params:
Name | Type | Attribute | Description |
a | * | ||
b | * |
public complex(a: *, b: *) source
import complex from '@aureooms/js-complex/src/cartesian/array/core/complex.js'
Params:
Name | Type | Attribute | Description |
a | * | ||
b | * |
public complex(a: *, b: *) source
import complex from '@aureooms/js-complex/src/polar/array/core/complex.js'
Params:
Name | Type | Attribute | Description |
a | * | ||
b | * |
public complex(a: *, b: *) source
import complex from '@aureooms/js-complex/src/cartesian/object/core/complex.js'
Params:
Name | Type | Attribute | Description |
a | * | ||
b | * |
public con(neg: *) source
import con from '@aureooms/js-complex/src/polar/kernel/core/con.js'
Conjugate for polar representation
Params:
Name | Type | Attribute | Description |
neg | * |
public con(neg: *) source
import con from '@aureooms/js-complex/src/cartesian/kernel/core/con.js'
Conjugate for cartesian representation
Params:
Name | Type | Attribute | Description |
neg | * |
public div(div: *, sub: *) source
import div from '@aureooms/js-complex/src/polar/kernel/core/div.js'
Params:
Name | Type | Attribute | Description |
div | * | ||
sub | * |
public div(first: *, second: *): * source
import {div} from '@aureooms/js-complex/src/complex.js'
Params:
Name | Type | Attribute | Description |
first | * | ||
second | * |
Return:
* |
public div(div: *, pow2: *, mul: *, add: *, sub: *): undefined[] source
import div from '@aureooms/js-complex/src/cartesian/kernel/core/div.js'
Division algorithm
Params:
Name | Type | Attribute | Description |
div | * | ||
pow2 | * | ||
mul | * | ||
add | * | ||
sub | * |
public div2(div2: *) source
import div2 from '@aureooms/js-complex/src/cartesian/kernel/core/div2.js'
Params:
Name | Type | Attribute | Description |
div2 | * |
public exp(exp: *, cos: *, sin: *, mul: *) source
import exp from '@aureooms/js-complex/src/cartesian/kernel/core/exp.js'
Params:
Name | Type | Attribute | Description |
exp | * | ||
cos | * | ||
sin | * | ||
mul | * |
public fromarray(arrayPattern: *[]) source
import fromarray from '@aureooms/js-complex/src/polar/object/core/fromarray.js'
Params:
Name | Type | Attribute | Description |
arrayPattern | *[] |
|
public fromarray(arrayPattern: *[]) source
import fromarray from '@aureooms/js-complex/src/cartesian/object/core/fromarray.js'
Params:
Name | Type | Attribute | Description |
arrayPattern | *[] |
|
public iadd(first: *, second: *): * source
import {iadd} from '@aureooms/js-complex/src/complex.js'
Params:
Name | Type | Attribute | Description |
first | * | ||
second | * |
Return:
* |
public idiv(first: *, second: *): * source
import {idiv} from '@aureooms/js-complex/src/complex.js'
Params:
Name | Type | Attribute | Description |
first | * | ||
second | * |
Return:
* |
public img(kernel: *) source
import img from '@aureooms/js-complex/src/polar/array/core/img.js'
Params:
Name | Type | Attribute | Description |
kernel | * |
public img(mul: *, sin: *) source
import img from '@aureooms/js-complex/src/polar/kernel/core/img.js'
Params:
Name | Type | Attribute | Description |
mul | * | ||
sin | * |
public img(kernel: *) source
import img from '@aureooms/js-complex/src/polar/object/core/img.js'
Params:
Name | Type | Attribute | Description |
kernel | * |
public imod(first: *, second: *): * source
import {imod} from '@aureooms/js-complex/src/complex.js'
Params:
Name | Type | Attribute | Description |
first | * | ||
second | * |
Return:
* |
public imul(first: *, second: *): * source
import {imul} from '@aureooms/js-complex/src/complex.js'
Params:
Name | Type | Attribute | Description |
first | * | ||
second | * |
Return:
* |
public ipow(first: *, second: *): * source
import {ipow} from '@aureooms/js-complex/src/complex.js'
Params:
Name | Type | Attribute | Description |
first | * | ||
second | * |
Return:
* |
public iroot2n(cos: *, sin: *, pi: *, div2n: *, neg: *) source
import iroot2n from '@aureooms/js-complex/src/cartesian/kernel/core/iroot2n.js'
Params:
Name | Type | Attribute | Description |
cos | * | ||
sin | * | ||
pi | * | ||
div2n | * | ||
neg | * |
public isub(first: *, second: *): * source
import {isub} from '@aureooms/js-complex/src/complex.js'
Params:
Name | Type | Attribute | Description |
first | * | ||
second | * |
Return:
* |
public mod(first: *, second: *): * source
import {mod} from '@aureooms/js-complex/src/complex.js'
Params:
Name | Type | Attribute | Description |
first | * | ||
second | * |
Return:
* |
public mul(mul: *, add: *, sub: *) source
import mul from '@aureooms/js-complex/src/cartesian/kernel/core/mul.js'
Multiplication algorithm
Params:
Name | Type | Attribute | Description |
mul | * | ||
add | * | ||
sub | * |
public mul(mul: *, add: *) source
import mul from '@aureooms/js-complex/src/polar/kernel/core/mul.js'
Params:
Name | Type | Attribute | Description |
mul | * | ||
add | * |
public mul(first: *, second: *): * source
import {mul} from '@aureooms/js-complex/src/complex.js'
Params:
Name | Type | Attribute | Description |
first | * | ||
second | * |
Return:
* |
public parse(object: *, representation: *): * source
import {parse} from '@aureooms/js-complex/src/complex.js'
Params:
Name | Type | Attribute | Description |
object | * | ||
representation | * |
|
Return:
* |
public parse(parse: *, $0: *, $1: *, $_1: *, symbol: *): * source
import parse from '@aureooms/js-complex/src/cartesian/kernel/core/parse.js'
Parse
/!\ DOES NOT CURRENTLY KNOW WHAT WOULD BE THE BEST IMPLEMENTATION
Params:
Name | Type | Attribute | Description |
parse | * | ||
$0 | * | ||
$1 | * | ||
$_1 | * | ||
symbol | * |
Return:
* |
public parse(kernel: *) source
import parse from '@aureooms/js-complex/src/cartesian/object/core/parse.js'
Params:
Name | Type | Attribute | Description |
kernel | * |
public pow(first: *, second: *): * source
import {pow} from '@aureooms/js-complex/src/complex.js'
Params:
Name | Type | Attribute | Description |
first | * | ||
second | * |
Return:
* |
public pow(exp: *, abs: *, arg: *, loge: *, mul: *, sub: *, add: *): * source
import pow from '@aureooms/js-complex/src/cartesian/kernel/core/pow.js'
Params:
Name | Type | Attribute | Description |
exp | * | ||
abs | * | ||
arg | * | ||
loge | * | ||
mul | * | ||
sub | * | ||
add | * |
Return:
* |
public real(kernel: *) source
import real from '@aureooms/js-complex/src/polar/array/core/real.js'
Params:
Name | Type | Attribute | Description |
kernel | * |
public real(mul: *, cos: *) source
import real from '@aureooms/js-complex/src/polar/kernel/core/real.js'
Params:
Name | Type | Attribute | Description |
mul | * | ||
cos | * |
public real(kernel: *) source
import real from '@aureooms/js-complex/src/polar/object/core/real.js'
Params:
Name | Type | Attribute | Description |
kernel | * |
public root2n(kernel: *) source
import root2n from '@aureooms/js-complex/src/cartesian/object/core/root2n.js'
Params:
Name | Type | Attribute | Description |
kernel | * |
public root2n(cos: *, sin: *, pi: *, div2n: *) source
import root2n from '@aureooms/js-complex/src/cartesian/kernel/core/root2n.js'
Params:
Name | Type | Attribute | Description |
cos | * | ||
sin | * | ||
pi | * | ||
div2n | * |
public stringify(kernel: *) source
import stringify from '@aureooms/js-complex/src/cartesian/object/core/stringify.js'
Params:
Name | Type | Attribute | Description |
kernel | * |
public stringify(complex: *, representation: *): * source
import {stringify} from '@aureooms/js-complex/src/complex.js'
Params:
Name | Type | Attribute | Description |
complex | * | ||
representation | * |
|
Return:
* |
public stringify(stringify: *, eq0: *, eq1: *, eq_1: *, gt0: *, symbol: *): * source
import stringify from '@aureooms/js-complex/src/cartesian/kernel/core/stringify.js'
Stringify
Params:
Name | Type | Attribute | Description |
stringify | * | ||
eq0 | * | ||
eq1 | * | ||
eq_1 | * | ||
gt0 | * | ||
symbol | * |
Return:
* |
public sub(first: *, second: *): * source
import {sub} from '@aureooms/js-complex/src/complex.js'
Params:
Name | Type | Attribute | Description |
first | * | ||
second | * |
Return:
* |
public unary(kernel: *) source
import unary from '@aureooms/js-complex/src/polar/array/core/unary.js'
Params:
Name | Type | Attribute | Description |
kernel | * |
public unary(kernel: *) source
import unary from '@aureooms/js-complex/src/cartesian/object/core/unary.js'
Params:
Name | Type | Attribute | Description |
kernel | * |
public unary(kernel: *) source
import unary from '@aureooms/js-complex/src/cartesian/array/core/unary.js'
Params:
Name | Type | Attribute | Description |
kernel | * |
public unary(kernel: *) source
import unary from '@aureooms/js-complex/src/polar/object/core/unary.js'
Params:
Name | Type | Attribute | Description |
kernel | * |