I installed this binary:
sage-4.0-linux-Debian_GNU_Linux_4.0_etch-sse2-i686-Linux
on my ubuntu 8.04 machine. It appears to work.
-Bruce
On Jun 6, 5:55 am, Hobus wrote:
> Sage 4.0 can be installed on ubuntu 8.04?
>
> I had this error:
> /home/jluxtux/sage-4.0-linux-Ubuntu_9.04-sse2-i686-Linux/l
On Sun, 07 Jun 2009 at 11:12AM -0700, paramaniac wrote:
> Is there a possibility/workaround in Sage to compute the element-wise
> multiplication of two matrices? In Matlab there's the .* operator, but
> Matlab is useless in my case since I need a symbolic result.
There's no operator that I know of
Dear Sage community,
Is there a possibility/workaround in Sage to compute the element-wise
multiplication of two matrices? In Matlab there's the .* operator, but
Matlab is useless in my case since I need a symbolic result.
Thanks in advance for every help
Regards,
Lukas
EXAMPLE:
sigma, tau, be
I am running into problems using the gcd function in sage. (version
3.4.2)
Specifically, I am iterating over a set of integers [a,b,c,r,s,t]
which I want to be coprime. I check this using gcd([a,b,c,r,s,t]). The
problem is that it returns 1 for tuples that should not have gcd = 1.
For example, fo
On Jun 7, 2009, at 15:53 , amps wrote:
>
> When I say that n is not predetermined, I mean that I want my script
> to work for any n. So before I define the polynomial ring, n is
> determined, but I want this to work for all n. So my question is how
> do I do the following.
>
> n=6
> R=Polynomi
This works:
sage: n=6
sage: R=PolynomialRing(QQ,n,'z')
sage: z=R.gens()
sage: g=sum(z[i] for i in range(n))
sage: g.subs(dict((z[i], i) for i in range(n)))
15
--Mike
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsub
On Jun 7, 2009, at 15:23 , amps wrote:
>
> sorry, i meant
>
> g.subs({z[1]:value1...})
>
> I am not sure why you call this intriguing syntax, but it is what
> works.
My turn to say sorry. I just mentally wiped out the '.subs' part.
> My problem is that I don't know how to do this if the numbe
When I say that n is not predetermined, I mean that I want my script
to work for any n. So before I define the polynomial ring, n is
determined, but I want this to work for all n. So my question is how
do I do the following.
n=6
R=PolynomialRing(QQ,n,'z')
z=R.gens()
g=sum(z[i] for i in range(n)
sorry, i meant
g.subs({z[1]:value1...})
I am not sure why you call this intriguing syntax, but it is what
works.
Example:
g=x+y
g.subs({x:2,y:4})
6
My problem is that I don't know how to do this if the number of
variables is not predetermined.
I tried to make a list with
a=list()
for i in rang
On Jun 7, 2009, at 13:03 , amps wrote:
>
> I want to substitute n values into polynomial with n variables.
>
> I guess the syntax to do this is (if g is my polynomial with
> indeterminates z[1], ..., z[n]).
>
> f.subs({z[1]:value1, z[2]:value2, ..., z[n]:valuen})
>
> but how do I actually do thi
I want to substitute n values into polynomial with n variables.
I guess the syntax to do this is (if g is my polynomial with
indeterminates z[1], ..., z[n]).
f.subs({z[1]:value1, z[2]:value2, ..., z[n]:valuen})
but how do I actually do this? n is not set, so I just can't type
this out.
--~--~-
Hi Alex,
On Sun, 7 Jun 2009 11:31:26 -0700 (PDT)
Alex Raichev wrote:
>
> Hi all:
>
> Upon upgrading to Sage 4.0, i can no longer make a dictionary with
> derivatives as keys (see below). Can someone please fix this?
> --
>
Hi all:
Upon upgrading to Sage 4.0, i can no longer make a dictionary with
derivatives as keys (see below). Can someone please fix this?
Alex
--
| Sage Version 4.0, Release Date: 2009-05-29 |
| Type not
13 matches
Mail list logo