On 12/23/10 1:02 AM, KvS wrote:
In addition to the previous post, if I change the contents of the
first cell to
f=BetaLP1.getkthMomentAt(1,1)
g=symbolic_expression(str(f(x))).function(x)
print g(0)
it does yield 1 as well. Any hints?
Can you post the code for BetaLP1.getkthMomentAt(1,1) so w
In addition to the previous post, if I change the contents of the
first cell to
f=BetaLP1.getkthMomentAt(1,1)
g=symbolic_expression(str(f(x))).function(x)
print g(0)
it does yield 1 as well. Any hints?
Thanks, Kees
--
To post to this group, send email to sage-support@googlegroups.com
To unsubs
Hi all,
I didn't know how to make the title any clearer, I'm sorry. The
problem is as follows (on Sage v 4.6). Running the following piece of
code (BetaLP1 is some class):
f=BetaLP1.getkthMomentAt(1,1)
print 'f:',f
print f(0)
yields the following error:
f: x |--> e^(9/200*x^2 + 4/3*sqrt(pi)*gam
On Wed, Dec 22, 2010 at 9:15 PM, Santanu Sarkar
wrote:
> How one can find 10-th root of a real number in Sage?
You can use the nth_root() method on real numbers:
sage: f = 3.1415; f
3.141500
sage: f.nth_root(10)
1.12127904623998
--Mike
--
To post to this group, send email to sage-supp
How one can find 10-th root of a real number in Sage?
--
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://groups.google.com/group/sage-support
U
Victor, eclib provides some (at least) of what you need, and is partly
wrapped in Sage. Chris Wuthrich and I have been working on this
recently. For example, eclib contains a program which does the
following (this is just a simple interface to underlying
functionality):
Enter curve: [0,-1,1,0,0]
Victor,
First of all I invite you to join sage-nt, the sage number theory
group!
Secondly...
On Dec 21, 5:37 pm, victor wrote:
> Let m be a modular symbol for the congruence subgroup G=Gamma0(N) for
> some N.
>
> If one assumes m is cuspidal, there exist elements g in G such that m
> is equival
Hi all!!
I'm using Sage 4.6 compiled from source on a 4 CPU (Intel Xeon) server
with Ubuntu 10.04 and on a 114 CPU (Intel Xeon) cluster with Rocks
(now I'm use only one node with 16 CPU).
I'm trying to run my python scripts that include mpi4py.
On the server I get this error
sage: import mpi4py.