oh thanks. The mpmath is even capable of the complex branches.
--~--~-~--~~~---~--~~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel-unsubscr...@googlegroups.com
For more options, vis
On Fri, Aug 28, 2009 at 2:35 PM, William Stein wrote:
>
> 2009/8/28 Henryk Trappmann :
>>
>> has Sage the Lambert W function implemented?
>> I can not find it.
>
> It does, but via mpmath:
>
> sage: mpmath.lambertw(10)
> mpf('1.7455280027406994')
> sage: import mpmath
> sage: mpmath.lambertw(compl
2009/8/28 William Stein :
> 2009/8/28 Henryk Trappmann :
>>
>> has Sage the Lambert W function implemented?
>> I can not find it.
>
> It does, but via mpmath:
By the way, do
sage: import mpmath
first.
>
> sage: mpmath.lambertw(10)
> mpf('1.7455280027406994')
> sage: import mpmath
> sage: mpma
2009/8/28 Henryk Trappmann :
>
> has Sage the Lambert W function implemented?
> I can not find it.
It does, but via mpmath:
sage: mpmath.lambertw(10)
mpf('1.7455280027406994')
sage: import mpmath
sage: mpmath.lambertw(complex(2,3))
mpc(real='1.0900765344857908', imag='0.53013972077483884')
sage: