Thanks! I'll give it a try.
-- David
--~--~-~--~~~---~--~~
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, visit this group at
http://gro
Great, thanks to both of you. No wonder I didn't see it in the
documentation for lists! Luckily my lists are probably very short
(len<5) so don't have to worry about algorithms for now, just a
bugfix.
- kcrisman
On Oct 26, 5:02 pm, Jason Grout wrote:
> Dag Sverre Seljebotn wrote:
>
> > a) for
Dag Sverre Seljebotn wrote:
>
> a) for x in L[:]: ... # makes a copy
> b) remove from the end of the list...
c) use list comprehensions to construct a new list, then del the old list.
Jason
--~--~-~--~~~---~--~~
To post to this group, send email to sage-suppo
kcrisman wrote:
> Dear support,
>
> I'm trying to resolve #7315 and have discovered something that
> disturbs me, but probably is reasonable to someone who really
> understands Python lists. Namely:
>
> {{{
L=[1,2,3,4]
for x in L:
> ... L.remove(x)
> ... x
> ... L
> ...
>
kcrisman wrote:
> Dear support,
>
> I'm trying to resolve #7315 and have discovered something that
> disturbs me, but probably is reasonable to someone who really
> understands Python lists. Namely:
>
> {{{
L=[1,2,3,4]
for x in L:
> L.remove(x)
> x
> L
> ...
Dear support,
I'm trying to resolve #7315 and have discovered something that
disturbs me, but probably is reasonable to someone who really
understands Python lists. Namely:
{{{
>>> L=[1,2,3,4]
>>> for x in L:
... L.remove(x)
... x
... L
...
1
[2, 3, 4]
3
[2, 4]
>>> L
[2, 4]
}}}
Som
Does anyone have a Sage hold frunction? Look at the code below
-
def LikeSimplify1a(ex1,ex2,ex3,ex4):
eq1=str(ex1)+"+"+"("+str(ex2)+")"+"+"+"("+str(ex3)+")"+"+"+"("+str
(ex4)+")"
n1=SR(ex1);n2=SR(ex2);n3=SR(ex3);n4=SR(ex4)
eq2=maxima.ratsimp(n1+n2+n3
Hello,
I just obtained a new mac and an trying to install sage on it. I have
copied the dmg to the applications folder, clicked on it and gone
through the installation process. I was asked to enter a password,
but I did not enter my password for my account, but rather one for
sage usage (a stup
Hi All,
I would like to know if the search for the nearest vector using LLL in a
lattice over a number field is implemented in Sage. The documentation does
not say anything about that, unfortunately. Thanks.
Regards,
--
adam
--~--~-~--~~~---~--~~
To post
mpad a écrit :
> Hello everyone,
>
> I am new to sage (thanks for it ! it looks excellent !) and have been
> trying to re-factor some long expressions.
> As an example :
>
> sage: var('x,y,a,b,c,d')
> (x, y, a, b, c, d)
> sage: T=expand((x^2+y^2)*(a*b+a^2-2*d*c+c^2-3*b^2));T
> a^2*x^2 + a^2*y^2 +
brandon holmes wrote:
> Thank you! i am very surprised anyone had any sort of answer! I will
> play around with the links and see what i can come up with!
>
Also, you can duplicate exactly what Mathematica did (get data from COM)
using python. Search for "python COM" in google. Except, of c
Windows installation instructions on this page are obsolete:
http://www.sagemath.org/doc/installation/binary.html
Also the link to readme.txt is broken.
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from thi
Hello everyone,
I am new to sage (thanks for it ! it looks excellent !) and have been
trying to re-factor some long expressions.
As an example :
sage: var('x,y,a,b,c,d')
(x, y, a, b, c, d)
sage: T=expand((x^2+y^2)*(a*b+a^2-2*d*c+c^2-3*b^2));T
a^2*x^2 + a^2*y^2 + a*b*x^2 + a*b*y^2 - 3*b^2*x^2 - 3
Hi,
On Sun, 25 Oct 2009 19:44:21 -0700 (PDT)
John H Palmieri wrote:
>
> On Oct 25, 7:37 pm, Marshall Hampton wrote:
> > Latex doesn't actually support \sech, so this can't really be
> > considered an error on Sage's part.
> >
> > Note that
> >
> > sage: latex('sech(x)')
> >
> > gives
> >
> >
14 matches
Mail list logo