GOffice.Complex

Fields

Name

Type

Access

Description

im

float

r/w

re

float

r/w

Methods

class

addl (dst, a, b)

class

conjl (dst, src)

class

cosl (dst, src)

class

divl (dst, a, b)

class

expl (dst, src)

class

from_stringl (dst, src, imunit)

class

invalid_pl (src)

class

invalidl (dst)

class

lnl (dst, src)

class

mull (dst, a, b)

class

powl (dst, a, b)

class

real_pl (src)

class

sinl (dst, src)

class

sqrtl (dst, src)

class

subl (dst, a, b)

class

tanl (dst, src)

class

to_polar (mod, angle, src)

class

to_stringl (src, reformat, imformat, imunit)

class

zero_pl (src)

add (a, b)

angle ()

angle_pi ()

conj (src)

cos (src)

div (a, b)

exp (src)

from_polar (mod, angle)

from_polar_pi (mod, angle)

from_string (src, imunit)

init (re, im)

invalid ()

invalid_p ()

ln (src)

mod ()

mul (a, b)

pow (a, b)

powx (e, a, b)

real (re)

real_p ()

scale_real (f)

sin (src)

sqrt (src)

sub (a, b)

tan (src)

to_string (reformat, imformat, imunit)

zero_p ()

Details

class GOffice.Complex
classmethod addl(dst, a, b)
Parameters:
classmethod conjl(dst, src)
Parameters:
classmethod cosl(dst, src)
Parameters:
classmethod divl(dst, a, b)
Parameters:
classmethod expl(dst, src)
Parameters:
classmethod from_stringl(dst, src, imunit)
Parameters:
Return type:

int

classmethod invalid_pl(src)
Parameters:

src (GOffice.Complexl) –

Return type:

int

classmethod invalidl(dst)
Parameters:

dst (GOffice.Complexl) –

classmethod lnl(dst, src)
Parameters:
classmethod mull(dst, a, b)
Parameters:
classmethod powl(dst, a, b)
Parameters:
classmethod real_pl(src)
Parameters:

src (GOffice.Complexl) –

Return type:

int

classmethod sinl(dst, src)
Parameters:
classmethod sqrtl(dst, src)
Parameters:
classmethod subl(dst, a, b)
Parameters:
classmethod tanl(dst, src)
Parameters:
classmethod to_polar(mod, angle, src)
Parameters:
classmethod to_stringl(src, reformat, imformat, imunit)
Parameters:
Return type:

str

classmethod zero_pl(src)
Parameters:

src (GOffice.Complexl) –

Return type:

int

add(a, b)
Parameters:
angle()
Return type:

float

angle_pi()
Return type:

float

conj(src)
Parameters:

src (GOffice.Complex) –

cos(src)
Parameters:

src (GOffice.Complex) –

div(a, b)
Parameters:
exp(src)
Parameters:

src (GOffice.Complex) –

from_polar(mod, angle)
Parameters:
from_polar_pi(mod, angle)
Parameters:
from_string(src, imunit)
Parameters:
  • src (str) –

  • imunit (str) –

Return type:

int

init(re, im)
Parameters:
invalid()
invalid_p()
Return type:

int

ln(src)
Parameters:

src (GOffice.Complex) –

mod()
Return type:

float

mul(a, b)
Parameters:
pow(a, b)
Parameters:
powx(e, a, b)
Parameters:
real(re)
Parameters:

re (float) –

real_p()
Return type:

int

scale_real(f)
Parameters:

f (float) –

sin(src)
Parameters:

src (GOffice.Complex) –

sqrt(src)
Parameters:

src (GOffice.Complex) –

sub(a, b)
Parameters:
tan(src)
Parameters:

src (GOffice.Complex) –

to_string(reformat, imformat, imunit)
Parameters:
  • reformat (str) –

  • imformat (str) –

  • imunit (int) –

Return type:

str

zero_p()
Return type:

int