Skip to content

Latest commit

 

History

History
85 lines (60 loc) · 1.36 KB

powers.rst

File metadata and controls

85 lines (60 loc) · 1.36 KB

Powers and logarithms

Nth roots

sqrt

mpmath.sqrt(x, **kwargs)

hypot

mpmath.hypot(x, y)

cbrt

mpmath.cbrt(x, **kwargs)

root

mpmath.root(z, n, k=0)

unitroots

mpmath.unitroots(n, primitive=False)

Exponentiation

exp

mpmath.exp(x, **kwargs)

power

mpmath.power(x, y)

expj

mpmath.expj(x, **kwargs)

expjpi

mpmath.expjpi(x, **kwargs)

expm1

mpmath.expm1(x)

powm1

mpmath.powm1(x, y)

Logarithms

log

mpmath.log(x, b=None)

ln

mpmath.ln(x, **kwargs)

log10

mpmath.log10(x)

Lambert W function

lambertw

mpmath.lambertw(z, k=0)

Arithmetic-geometric mean

agm

mpmath.agm(a, b=1)