On Mon, 6 Sep 2010 20:42:43 -0700 (PDT), Cary Cherng wrote:
> Given p_i and q in Q[x_1,...,x_n] I want to see if q is in the ideal
> (p1,...,pm). Does sage have easy support for this?
Is this what you're looking for:
sage: R. = QQ[]
sage: I = R.ideal(x^2, y)
sage: x^2*y+y^2 in I
True
sage: x in
Given p_i and q in Q[x_1,...,x_n] I want to see if q is in the ideal
(p1,...,pm). Does sage have easy support for this?
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more options,
In the first case I'd return:
u = 3
v = 4
(one line for each variable) and in the second case
u = 4
v = 3
I wasn't aware about Magma, as I've never used it! All of Maple,
Mathematica, MuPAD, Maxima and Axiom autoprint.
-Alasdair
On Sep 7, 12:32 pm, Jason Grout wrote:
> On 9/6/10 9:27 PM, W
On 9/6/10 9:27 PM, William Stein wrote:
On Monday, September 6, 2010, Jason Grout wrote:
On 9/6/10 6:02 PM, Alasdair wrote:
As you know, when you define a new variable:
sage: a = 2
the value is not automatically displayed. So you have to:
sage: a = a+3; a
to display it. This is different
The doco at:
http://combinat.sagemath.org/doc/reference/sage/plot/polygon.html?highlight=polygon2d#sage.plot.polygon.polygon2d
has lots of example of various polgons but what if I want to do some
tiling and build up a scene of lots of polygons? Do I have to use
show(p1+p2+p3+...)? What if there are
On Monday, September 6, 2010, Jason Grout wrote:
> On 9/6/10 6:02 PM, Alasdair wrote:
>
> As you know, when you define a new variable:
>
> sage: a = 2
>
> the value is not automatically displayed. So you have to:
>
> sage: a = a+3; a
>
> to display it. This is different to all other CAS's (at le
I assumed it was a python thing, but I was wondering if there was some
way of putting a Sage wrapper over the assignment operator to return
the result.
-Alasdair
On Sep 7, 11:24 am, Jason Grout wrote:
> On 9/6/10 6:02 PM, Alasdair wrote:
>
> > As you know, when you define a new variable:
>
> > s
On 9/6/10 6:02 PM, Alasdair wrote:
As you know, when you define a new variable:
sage: a = 2
the value is not automatically displayed. So you have to:
sage: a = a+3; a
to display it. This is different to all other CAS's (at least to my
knowledge), where a variable assignment automatically re
As you know, when you define a new variable:
sage: a = 2
the value is not automatically displayed. So you have to:
sage: a = a+3; a
to display it. This is different to all other CAS's (at least to my
knowledge), where a variable assignment automatically returns the
result unless you ask it no
On 9/6/10 1:58 PM, Michael Beeson wrote:
I want to create a vector space of dimension three, over the field
whose elements are symbolic expressions. (The reason is that then I
can do vector calculus on such objects, which represent surfaces in 3-
space if the expressions depend on 2 parameters
On Mon, Sep 6, 2010 at 11:58 AM, Michael Beeson wrote:
> I want to create a vector space of dimension three, over the field
> whose elements are symbolic expressions. (The reason is that then I
> can do vector calculus on such objects, which represent surfaces in 3-
> space if the expressions d
I want to create a vector space of dimension three, over the field
whose elements are symbolic expressions. (The reason is that then I
can do vector calculus on such objects, which represent surfaces in 3-
space if the expressions depend on 2 parameters.) How can I do
this? The following, for
thanks for a propmt reply, Minh !
--- I needed it quickly, so I even contemplated reading it in GAP
instead of Sage :-)
On Sep 6, 9:44 pm, Minh Nguyen wrote:
> Hi Dima,
>
> On Mon, Sep 6, 2010 at 11:26 PM, Dima Pasechnik wrote:
> > What is going on? This is with
> > Sage Version 4.5.3.rc0, Rele
On 09/ 6/10 11:12 AM, Minh Nguyen wrote:
Hi,
On Fri, Sep 3, 2010 at 8:03 PM, samrat wrote:
When i recompile netcdf-4.1.1 with CFLAGS=-fPIC i no longer get this
error. It this a bug in sage or what i have done is correct?
Many standard packages that are shipped by default with Sage are
usuall
Hi Dima,
On Mon, Sep 6, 2010 at 11:26 PM, Dima Pasechnik wrote:
> What is going on? This is with
> Sage Version 4.5.3.rc0, Release Date: 2010-08-30
The problem lies with typing in Python. Any file with the extension
".py" is interpreted by Sage as a Python module and is loaded in/read
as such w
I have a list, with some entries integer vectors, and some rational.
Say, in a file a.py I have the following:
dat=[[6,3,3,4,1,3/2], [6,3,3,4,1,1]]
print dat
If in Sage session I do
load('a.py') I get
sage: load('a.py')
[[6, 3, 3, 4, 1, 1], [6, 3, 3, 4, 1, 1]]
sage: dat
[[6, 3, 3, 4, 1, 1], [6,
I want to patch sagenb (to add ldap identification). I did it some time
ago by modifying notebook.py, avatars.py in in a cloned verion of Sage.
Now that we have a separate package sagenb, what is the best way to
proceed ? I can download sagenb, untar it, make my modifications and then???
Or i
Hi!
On Sep 6, 10:03 am, Dan Drake wrote:
> ...
> Googling "sh: undefined symbol: rl_filename_rewrite_hook" immediately
> led me to this thread:
>
> http://www.mail-archive.com/sage-support@googlegroups.com/msg16822.html
>
> There, the problem seemed related to different compiler versions,
> altho
Hi,
On Fri, Sep 3, 2010 at 8:03 PM, samrat wrote:
> When i recompile netcdf-4.1.1 with CFLAGS=-fPIC i no longer get this
> error. It this a bug in sage or what i have done is correct?
Many standard packages that are shipped by default with Sage are
usually compiled with CFLAGS=-fPIC. So what you
Thank you for your reply. It is indeed 4.5.2 (for OSX). The online
version has it too.
On Sep 6, 12:58 pm, Minh Nguyen wrote:
> Hi,
>
> On Mon, Sep 6, 2010 at 7:16 PM, adriatikus wrote:
> > Shouldn't it be instead
> > \frac{-(l + r)}{l - r}
>
> Thank you for your bug report. I can confirm this p
Hi,
On Mon, Sep 6, 2010 at 7:16 PM, adriatikus wrote:
> Shouldn't it be instead
> \frac{-(l + r)}{l - r}
Thank you for your bug report. I can confirm this problem with Sage 4.5.2:
sage: version()
'Sage Version 4.5.2, Release Date: 2010-08-05'
sage: var('l'); var('r');
sage: x = (r+l)/(r-l)
sage
Hello,
I would like to know how to do the convolution of two 3-D functions
represented as 3-D arrays of complex numbers with sage. The arrays are
supposed to be imported data from another output.
Thank you in advance for any help.
Leonard
--
To post to this group, send email to sage-support@go
Hi.
I have the following Sage code:
var('l')
var('r')
x = (r+l)/(r-l)
latex(x)
And the output is:
\frac{-l + r}{l - r}
Shouldn't it be instead
\frac{-(l + r)}{l - r}
Thank you.
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email
On Mon, 06 Sep 2010 at 01:11AM -0700, Michael wrote:
> I just tried it once more with he same result. This is the output I
> get: (For me it's kind of cryptic, but maybe one of you can help me.)
> Thanks a lot!
> --
> | Sage Versio
I just tried it once more with he same result. This is the output I
get: (For me it's kind of cryptic, but maybe one of you can help me.)
Thanks a lot!
--
| Sage Version 4.5.2, Release Date: 2010-08-05 |
| Typ
25 matches
Mail list logo