Its a pretty heterogeneous package for bioinformatics; there are lots
of modules that do lots of different things, written by different
people. Because of that, as with sage, there is some redundancy in
function that is slowly being weeded out. There are only about 5-10
very active developers at
On Dec 14, 2007 12:19 PM, mekaj <[EMAIL PROTECTED]> wrote:
> Now I would expect that when I call print_partitions(x), where 'x' is
> an Integer that SAGE would print all possible partitions of 'x'. The
> first time I call the function it works as expected. However, for
> each call after that, it
Hi David. Thanks for the quick reply :)
> def get_partitions(x, y=None):
> if y is None:
> y = []
> [... other stuff ...]
It works! I guess I'm still learning the intricacies of Python. All
I had to do was the changes you suggested and then make sure to change
On Dec 13, 2007, at 9:19 PM, mekaj wrote:
> def get_partitions(x,y=[]):
The problem might be your default argument above. This is really a
python issue. Every time your function is called, it's getting the
*same* list object. The standard python idiom to get around this is:
def get_partiti
I wrote a couple methods that relied on Partition(x).next() where 'x'
is a list of Integers. Essentially I wanted to print out all the
possible partitions of an Integer so I wrote the following functions:
def get_partitions(x,y=[]):
"""
Gets the list of the input argument and all the
On Dec 13, 2007 5:28 PM, didier deshommes <[EMAIL PROTECTED]> wrote:
>
> William,
> Would you mind making this a blog post? This is a great reference of
> how interfaces work in Sage.
Great idea! Done:
http://sagemath.blogspot.com/
>
> didier
>
> 2007/12/13, William Stein <[EMAIL PROTECTE
William,
Would you mind making this a blog post? This is a great reference of
how interfaces work in Sage.
didier
2007/12/13, William Stein <[EMAIL PROTECTED]>:
> I figured out a clean way to have this sort of notation work in
> Mathematica etc. rom Sage when
> I was hiking with my wife in Sedon
On Dec 13, 2007 4:27 PM, Marshall Hampton <[EMAIL PROTECTED]> wrote:
>
> Excellent! Thank you!
>
The only problem you might run into is if the optional biopython package
is somehow "not relocatable", which would be a bug you should report
here.
By the way, could you describe from a sage point of
On Dec 13, 2007 11:47 AM, pgdoyle <[EMAIL PROTECTED]> wrote:
>
>
> > def math_bessel_K(nu,x):
> >return mathematica(nu).BesselK(x).N(20).sage()
> >
> > Use it:
> >
> > sage: math_bessel_K(2,I)
> > 0.180489972066962*I - 2.592886175491197
>
> This is incredibly cool! I can't believe I misse
Excellent! Thank you!
On Dec 13, 5:30 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Dec 13, 2007 2:10 PM, Marshall Hampton <[EMAIL PROTECTED]> wrote:
>
>
>
> > The problem is that I am not the real administrator of the machines,
> > this is a one time thing.
>
> > The binaries appear to wor
On Dec 14, 12:30 am, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Dec 13, 2007 2:10 PM, Marshall Hampton <[EMAIL PROTECTED]> wrote:
>
>
>
> > The problem is that I am not the real administrator of the machines,
> > this is a one time thing.
>
> > The binaries appear to work, but now I need to
On Dec 13, 2007 2:10 PM, Marshall Hampton <[EMAIL PROTECTED]> wrote:
>
> The problem is that I am not the real administrator of the machines,
> this is a one time thing.
>
> The binaries appear to work, but now I need to install the biopython
> package, which for some reason needs gcc. So I plan
On Dec 13, 2007 8:46 AM, Stephen W. Soliday <[EMAIL PROTECTED]> wrote:
> Dev,
> I have a debian etch build on a 4 processor AMD Athlon(tm) 64 FX-74
> Processor
>
> I experienced numerous errors during "make test". I have attached the
> test.log bzip2 compressed. Below is some info on my system and
On Dec 13, 2007 12:12 PM, William Stein <[EMAIL PROTECTED]> wrote:
>
> On Dec 13, 2007 11:46 AM, alex clemesha <[EMAIL PROTECTED]> wrote:
> > > > > > Trash. Along with my own worksheets, there were some others',
> > perhaps
> > > > > > leaved by developers.
> > > > >
> > > > > When you interactive
The problem is that I am not the real administrator of the machines,
this is a one time thing.
The binaries appear to work, but now I need to install the biopython
package, which for some reason needs gcc. So I plan on installing the
xcode tools on one machine, and then copying the entire instal
Hello,
Sage has an faq at
http://wiki.sagemath.org/faq
It is a rather young wiki page (first real content 2 weeks ago), but
it has been growing rapidly due to the influx of more users because of
all the recent publicity. I have been trying to add every interesting
question that I see on sage-
> def math_bessel_K(nu,x):
>return mathematica(nu).BesselK(x).N(20).sage()
>
> Use it:
>
> sage: math_bessel_K(2,I)
> 0.180489972066962*I - 2.592886175491197
This is incredibly cool! I can't believe I missed this in the Sage
reference manual, but there it is. In wonder how it works?
C
On Dec 13, 9:05 pm, "G. Edgar" <[EMAIL PROTECTED]> wrote:
> On Dec 13, 9:50 am, "Šarūnas Burdulis" <[EMAIL PROTECTED]>
> wrote:
>
> > Hello,
>
Hello Šarūnas,
> > Is anybody running sage in notebook() mode as an automatically started
> > service/daemon? Any hints on doing this?
a daemon mode f
On Dec 13, 9:50 am, "Šarūnas Burdulis" <[EMAIL PROTECTED]>
wrote:
> Hello,
>
> Is anybody running sage in notebook() mode as an automatically started
> service/daemon? Any hints on doing this?
>
> Thanks,
> Šarūnas
> Math Dept., Dartmouth
I haven't tried it. Do you mean like
sage -notebook &
On Dec 13, 2007 11:54 AM, Timothy Clemans <[EMAIL PROTECTED]> wrote:
>
> I'm getting
>
> {{{id=2|
> def math_bessel_K(nu,x):
>return mathematica(nu).BesselK(x).N(20).sage()
> math_bessel_K(2,I)
> ///
> Traceback (most recent call last):
> File "", line 1, in
> File "/home/tclemans/.sa
On Dec 13, 2007 11:46 AM, alex clemesha <[EMAIL PROTECTED]> wrote:
> > > > > Trash. Along with my own worksheets, there were some others',
> perhaps
> > > > > leaved by developers.
> > > >
> > > > When you interactively browse the help through the sage notebook
> > > > maybe it creates those works
William Stein wrote:
> On Dec 13, 2007 11:13 AM, Jason Grout <[EMAIL PROTECTED]> wrote:
>> Timothy Clemans wrote:
>>> So it is illegal to ssh to a machine with Mathematica and use it
>>> because it is being used over the web without webmathematica?
>> Well, technically SSH is not http, but on the
> input block started with %html can contain only ascii chars. non-
> english gets replaced by %u as described above.
G, it inserts:
inserted text
IMHO, very bad practice and should not be recommended.
I'd suggest to use html _ourside_of_{{}}_ whenever possible.
--~--~-~--~
Last addition (just tried to read help :-)
input block started with %html can contain only ascii chars. non-
english gets replaced by %u as described above.
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe
I'm getting
{{{id=2|
def math_bessel_K(nu,x):
return mathematica(nu).BesselK(x).N(20).sage()
math_bessel_K(2,I)
///
Traceback (most recent call last):
File "", line 1, in
File "/home/tclemans/.sage/sage_notebook/worksheets/admin/5/code/
9.py", line 6, in
exec compile(ur'math_bess
On Dec 13, 2007 11:19 AM, William Stein <[EMAIL PROTECTED]> wrote:
>
> On Dec 13, 2007 11:07 AM, greg2k4 <[EMAIL PROTECTED]> wrote:
> >
> > > > Trash. Along with my own worksheets, there were some others',
> perhaps
> > > > leaved by developers.
> > >
> > > When you interactively browse the help t
On Dec 13, 2007 11:13 AM, Jason Grout <[EMAIL PROTECTED]> wrote:
>
> Timothy Clemans wrote:
> > So it is illegal to ssh to a machine with Mathematica and use it
> > because it is being used over the web without webmathematica?
>
> Well, technically SSH is not http, but on the other hand, the compu
On Dec 13, 8:04 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Dec 13, 2007 10:48 AM, Marshall Hampton <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
>
> > I would like to install sage on a bunch (30-60) of computers (intel OS
> > X machines) which don't have the developer tools included (like
>
On Dec 13, 2007 11:08 AM, pgdoyle <[EMAIL PROTECTED]> wrote:
>
> Let me simplify the question.
>
> Is there a better way to get Mathematica to go off and compute a
> Bessel function for me than this:
>
> def math_bessel_K(nu,x):
> m=mathematica('N[BesselK['+str(mathematica(nu))
> +','+str(mathem
On Dec 13, 2007 11:07 AM, greg2k4 <[EMAIL PROTECTED]> wrote:
>
> > > Trash. Along with my own worksheets, there were some others', perhaps
> > > leaved by developers.
> >
> > When you interactively browse the help through the sage notebook
> > maybe it creates those worksheets
>
> Don't think
Correct data:
name: Copy of 2.8 elliptic curves
owner: admin
last edited: 122 days ago by admin
same for 1 "Untitled"
(related to sage-vmware 2.8.13 ZIP)
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from t
Timothy Clemans wrote:
> So it is illegal to ssh to a machine with Mathematica and use it
> because it is being used over the web without webmathematica?
Well, technically SSH is not http, but on the other hand, the computer
probably is still a webserver.
[snip]
>>> "h. allowing access to th
> Don't think so. They had a "created" date "122 hours again"
must be "ago" instead of "again", of course ;-)
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
Fo
Let me simplify the question.
Is there a better way to get Mathematica to go off and compute a
Bessel function for me than this:
def math_bessel_K(nu,x):
m=mathematica('N[BesselK['+str(mathematica(nu))
+','+str(mathematica(x))+'],20]')
return m.sage()
Cheers,
Peter
--~--~-~--~~
> > Trash. Along with my own worksheets, there were some others', perhaps
> > leaved by developers.
>
> When you interactively browse the help through the sage notebook
> maybe it creates those worksheets
Don't think so. They had a "created" date "122 hours again", while my
docs were all "30
So it is illegal to ssh to a machine with Mathematica and use it
because it is being used over the web without webmathematica?
On Dec 13, 10:55 am, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Dec 13, 2007 10:35 AM, Jason Grout <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > William Stein wrote:
> >
On Dec 13, 2007 10:48 AM, Marshall Hampton <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I would like to install sage on a bunch (30-60) of computers (intel OS
> X machines) which don't have the developer tools included (like
> make). Is there a way of remotely installing the OS binaries? Has
> anyone
On Dec 13, 2007 10:35 AM, Jason Grout <[EMAIL PROTECTED]> wrote:
>
> William Stein wrote:
> > On Dec 12, 2007 10:00 PM, pgdoyle <> wrote:
> >> Hi William,
> >>
> >> If we set up a sage notebook server on a machine with mathematica
> >> installed, and let the general public sign up for accounts,
>
> Could you summarize the situation with rendering problems? Is it as follows:
> (1) When you try to put them in input cells, they get corrupted on load/save.
To be correct, they're replaced by "non-browser" unicode codes (like
%u0440 instead of р )
> (2) Using edit mode, unicode not in {{{}}}
William Stein wrote:
> On Dec 12, 2007 10:00 PM, pgdoyle <> wrote:
>> Hi William,
>>
>> If we set up a sage notebook server on a machine with mathematica
>> installed, and let the general public sign up for accounts,
>> then the general public will be able to run mathematica through the
>> sage br
Hi,
I would like to install sage on a bunch (30-60) of computers (intel OS
X machines) which don't have the developer tools included (like
make). Is there a way of remotely installing the OS binaries? Has
anyone done something like this on a large scale?
I will attempt to figure this out on my
On Dec 13, 2007 10:41 AM, greg2k4 <[EMAIL PROTECTED]> wrote:
>
> Browsing my sage/notebook folders, I found a lot of documents in
> Trash. Along with my own worksheets, there were some others', perhaps
> leaved by developers.
When you interactively browse the help through the sage notebook
maybe
Browsing my sage/notebook folders, I found a lot of documents in
Trash. Along with my own worksheets, there were some others', perhaps
leaved by developers.
While it was a luck to found a tutorial chapter there (which lead me
to very important knowledge), I tried to empty the trash.
BTW, there's
On Dec 13, 2007 10:32 AM, greg2k4 <[EMAIL PROTECTED]> wrote:
> However, it's not a problem any more, as now I know how to set pure
> html sections that are rendered w/o problem with any characters.
> Thanks, William!
Could you summarize the situation with rendering problems? Is it as follows:
Not possible to use html+js wrapper.
While it works ok with static file (saved as html), with *live*
worksheet an error occures:
===
uncaught exception: Permission denied to get property
HTMLDocument.body
===
However, it's not a problem any more, as now I know how to set pure
html sections that a
On Dec 13, 2007 9:39 AM, pgdoyle <[EMAIL PROTECTED]> wrote:
>
> The vector v2 doesn't display properly in the attached Sage output.
> Or rather, the free module element v2.
> (Should I be worried that I got a free module element when I expected
> a vector, or will everything work out for the best?
The vector v2 doesn't display properly in the attached Sage output.
Or rather, the free module element v2.
(Should I be worried that I got a free module element when I expected
a vector, or will everything work out for the best?)
Cheers,
Peter
---
sage: v1=vector(
Hi:
Just wondering why the first page in the reference manual on
group theory has the url
http://www.sagemath.org/doc/html/ref/module-sage.ext.dense-matrix-pyx.html
as opposed to
http://www.sagemath.org/doc/html/ref/module-sage-something-with-group-theory-in-it.html?
Not a big deal, just thought I
Hello,
Is anybody running sage in notebook() mode as an automatically started
service/daemon? Any hints on doing this?
Thanks,
Šarūnas
Math Dept., Dartmouth
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe fr
Besides, I don't think the 1st one (meta tag) will work, because
"%u" is not standard html representation for unicode char...
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [
Alex,
Excuse me for asking, but if I'm not mistaken, I (end-user) can't do
any of these 2 things, right?
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For mor
On Dec 12, 2007 8:36 AM, William Stein <[EMAIL PROTECTED]> wrote:
>
> On Dec 12, 2007 7:48 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > Hi all,
> >
> > I need to use non-english characters (in comments) in Notebook
> > worksheet.
> > While working, they're shown w/o problem, but if I s
Well, no luck with "direct" workaround.
If I change "%u0441" to "с", it shows correct char *for this
only session*, but on save+load, it gets replaced by even more non-
english char (like euro sign :-)
You're right, this seems caused by how worksheet is saved/loaded.
The only way of "indirect" w
William, thanks for reply.
For now, I'll try to add encoding instructions to the html in "Edit"
mode...
As for me, I'm university professor (in electrical engineering field)
trying to find non-proprietary tools for my students :-)
> By the way, did you see
> http://rnd.cnews.ru/math/news/...s
54 matches
Mail list logo