when I try to take logarithms of a complex number sage version 3.5
doesn't like it. How do I find/use a multiplication preserving
embedding to make it work?
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from
Perhaps working in the symbolic ring is causing something you don't
like. In David's example above, you might want to convert things to
CDF, which gives:
sage: a = CDF(1 + 3*I)
sage: z = log(a)
sage: z
1.1512925465 + 1.2490457724*I
...instead of
sage: a = 1 + 3*I
sage: z = log(a)
sage: z
Ahmed,
Looks good, but I am creating a function in python that is called.
And 1r, .56r ,etc. does not pass. I am taking these parameters from a
form and then using the function.
Is there a work-a-round?
Thanks
On Jul 3, 6:19 pm, Ahmed Fasih wuzzyv...@gmail.com wrote:
This is also an
On Mon, Jul 6, 2009 at 7:28 PM, Ethan Van Andelevlu...@gmail.com wrote:
When I show() a graphics object such as plot(x,-1,1), it plots it in
the desired range, but also adds a sort buffer around the image, the
axes extend beyond the region I told it to show, in the case of plot
(x) instead
Kevin,
It worked.
Thanks, a lot.
On Jul 6, 3:33 pm, Kevin Horton khorto...@rogers.com wrote:
Maybe you can use:
sage: RealNumber=float; Integer=int
or, explicitly define the number type when calling the scipy function.
Good luck,
Kevin Horton
On 6 Jul 2009, at 15:57, Mikie wrote:
If you're calling Scipy functions from a standard Python environment,
you won't have the pre-processor issues, so I may be misunderstanding
what your underlying problem is.
Assuming you are in Sage (since this is a Sage mailing list) and
calling Scipy, other options that achieve the same effect
Maybe you can use:
sage: RealNumber=float; Integer=int
or, explicitly define the number type when calling the scipy function.
Good luck,
Kevin Horton
On 6 Jul 2009, at 15:57, Mikie wrote:
Ahmed,
Looks good, but I am creating a function in python that is called.
And 1r, .56r ,etc. does
Let me give some more details about my question: i have a number field
K, and a ring of polynomials over it, R1. I also have a ring
homomorphism from K to QQbar (which actually makes all sense from a
mathematical point of view), and a ring of polynomials R2 over QQbar.
All this should give a map
Yes, I am calling Scipy functions from a standard Python, thus no
preparser. It does not recognize 1r, 10r, etc.
Is there anyway to get it to work? I have also tried R, but r.binom
does not work.
On Jul 6, 3:16 pm, Ahmed Fasih wuzzyv...@gmail.com wrote:
If you're calling Scipy functions from
On Mon, Jul 6, 2009 at 11:31 PM, mmarcomma...@unizar.es wrote:
Let me give some more details about my question: i have a number field
K, and a ring of polynomials over it, R1. I also have a ring
homomorphism from K to QQbar (which actually makes all sense from a
mathematical point of view),
Hi folks,
In IRC, there was a report about the SSSE3 and PNI flags for the
following Ubuntu binary:
sage-4.0.2-linux-Ubuntu_9.04-i686-Linux.tar.gz
Here's the IRC log:
15:39 nifgraup Hi,I would like to report a packaging/build bug in sage
4.0.2, can someone guide me?
15:45
On Tue, Jul 7, 2009 at 4:57 AM, Minh Nguyennguyenmi...@gmail.com wrote:
Hi folks,
In IRC, there was a report about the SSSE3 and PNI flags for the
following Ubuntu binary:
sage-4.0.2-linux-Ubuntu_9.04-i686-Linux.tar.gz
Here's the IRC log:
15:39 nifgraup Hi,I would like to report a
12 matches
Mail list logo