Hello
I wrote this program in SAGE online, but i failed to find error,
def gcd_multipliers(x, alpha, i):
fac=factor(alpha)
projections=[]
for p,v in fac:
l=[0]*len(x);
if gcd(x[i],p)!= 1: l[i]=1;
for j in range(1, len(x))
if gcd(x[j],p) == 1:
l[j]=1; break
projections.append(l)
return CRT_vect
On Sun, Jul 20, 2008 at 5:05 PM, William Stein <[EMAIL PROTECTED]> wrote:
> There is a very cool firefox extension that makes it so you can edit
> *any* textarea in your web browser using emacs. I've never used it,
> but saw a lot of people using it at the last Sage workshop.
> Unfortunately I c
On Mon, Jul 21, 2008 at 12:49 AM, Donu Arapura <[EMAIL PROTECTED]> wrote:
>
>
>>
>> Betti numbers for moduli spaces of vector bundles doesn't sound
>> at all esoteric to my ears. Sage's original reason for existnce
>> is research mathematics after all, and that's what most Sage
>> developers do.
>
> Betti numbers for moduli spaces of vector bundles doesn't sound
> at all esoteric to my ears. Sage's original reason for existnce
> is research mathematics after all, and that's what most Sage
> developers do.
>
> -- William
>
OK. When I'm ready to submit it, what's the best way?
- Donu
On Sun, Jul 20, 2008 at 10:24 PM, Shing Hing Man <[EMAIL PROTECTED]> wrote:
>
> If I submit a command that takes a long time to run,
>
> eg
> (1)
> http://localhost:8000/simple/compute?session=(session)&code=factor(2^1000
> -1)
>
> then the immediately returned JSON will have status equals comp
On Mon, Jul 21, 2008 at 12:14 AM, Donu Arapura <[EMAIL PROTECTED]> wrote:
>
>
>>
>>> Incidentally, the script in question computes Betti numbers for
>>> moduli spaces
>>> of vector bundles using standard formulas. I'm happy to say that it
>>> seems to
>>> be working correctly under Sage. I've che
>
>> Incidentally, the script in question computes Betti numbers for
>> moduli spaces
>> of vector bundles using standard formulas. I'm happy to say that it
>> seems to
>> be working correctly under Sage. I've checked it against values
>> generated by
>> my original Maple script and published va
On Sun, Jul 20, 2008 at 11:38 PM, Alejandro Jakubi <[EMAIL PROTECTED]> wrote:
>
>> in the notebook one has the rule: "If any line starts with a prompt,
>> then *only* the lines that start with prompts are evaluated, and all
>> others are ignored."
>
> Thank you for this explanation. Apparently I h
If I submit a command that takes a long time to run,
eg
(1) http://localhost:8000/simple/compute?session=(session)&code=factor(2^1000
-1)
then the immediately returned JSON will have status equals computing.
I have modified my Java program, so that after (1) is submitted,
I keep querying SAG
Hello
Could someone reproduce this output producing TeX code? Is it well
known issue of the command 'show'?
Alejandro
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PRO
> in the notebook one has the rule: "If any line starts with a prompt,
> then *only* the lines that start with prompts are evaluated, and all
> others are ignored."
Thank you for this explanation. Apparently I have missed where this
rule is stated in the documentation.
Alejandro
--~--~-~
On Tue, Jul 15, 2008 at 11:46 PM, Alejandro Jakubi <[EMAIL PROTECTED]> wrote:
>
> May be a bug or expected behavior, I do not know.
>
> I have pasted the example of "Tachyon 3D plotting" here:
> http://www.sagemath.org/doc/html/const/node19.html
> to a notebook input region in this way:
>
> ===
>
Hello
Could someone tell me whether this is the expected behavior or a bug?
Alejandro
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit t
On Sun, Jul 20, 2008 at 9:04 PM, Donu Arapura <[EMAIL PROTECTED]> wrote:
>
> I apologize in advance for my somewhat rambling post. I don't have
> any really urgent
> questions; just a few small ones, along with some comments. I'm an
> algebraic
> geometer, so I use Macaulay 2 for certain things, b
Sorry about the formatting. I have to remember that what you see is
not what you get.
- DA
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options,
I apologize in advance for my somewhat rambling post. I don't have
any really urgent
questions; just a few small ones, along with some comments. I'm an
algebraic
geometer, so I use Macaulay 2 for certain things, but often I prefer
Maple
which has a lot more flexibility. Although I have free
On Sat, Jul 19, 2008 at 11:49 PM, Simon King
<[EMAIL PROTECTED]> wrote:
>
> Dear Sage team,
>
> I don't know whether this post should better go to sage-devel or sage-
> support.
>
> I understood that recently the implementation of matrices over GF(2)
> was considerably improved. Therefore i am ver
They may have sync'd up by now. The mirror in Utah,
http://www.opensourcemath.org/sage/win/
seems to have it.
On Fri, Jul 18, 2008 at 11:22 PM, murray <[EMAIL PROTECTED]> wrote:
>
> I wanted to download the current VMWare virtual version from a local
> mirror, but neither of the closest two mirro
Hi,
I have tried the standalone Python/Script at
http://www.sagemath.org/doc/html/tut/node55.html
to factorize a number.
#!/usr/bin/env sage
import sys
from sage.all import *
if len(sys.argv) != 2:
print "Usage: %s "%sys.argv[0]
print "Outputs the prime factorization of n."
sys.
Thanks for the sample code! I have managed to convert it to Java and
successfully
execute factor(2006) in sage from Java.
Shing
public class SageSession {
public String getSession(String hostname, String port, String
password) {
String session = null;
20 matches
Mail list logo