> We would like to know if certain sums of modular symbols span the
> space.
Is this the sort of thing you had in mind?
sage: M=ModularSymbols(11,2);M
Modular Symbols space of dimension 3 for Gamma_0(11) of weight 2 with
sign 0 over Rational Field
sage: b = M.basis()
sage:
sage: s1 = 2*b[1] - b[2
We would like to know if certain sums of modular symbols span the
space. For a simple example, let
sage: M=ModularSymbols(11,2);M
Modular Symbols space of dimension 3 for Gamma_0(11) of weight 2 with
sign 0 over Rational Field
sage: M.basis()
((1,0), (1,8), (1,9))
Now, say we have three sums of
great- thanks, I thought there's an equivalent one in sage since there's
equivalent to functions such as range, xrange, etc. Just want to make sure
that I don't write my own function if one already existed.
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscri
On Jul 31, 2011, at 11:00 , William Stein wrote:
> On Sun, Jul 31, 2011 at 10:54 AM, Justin C. Walker wrote:
>>
>> On Jul 31, 2011, at 02:29 , tvn wrote:
>>
>>> The enumerate function in Python has the index type as 'int' instead of say
>>> sage's Integer. is there an equivalent of enumerat
Whoops, looks like William beat me to it.
On Mon, Aug 1, 2011 at 2:00 AM, Tim Joseph Dumol wrote:
> While I don't think there's one readily available, you can easily define
> one yourself:
>
> def senumerate(seq):
> return ((ZZ(i), x) for (i,x) in enumerate(seq))
>
> Hoep this helps.
>
>
> O
While I don't think there's one readily available, you can easily define one
yourself:
def senumerate(seq):
return ((ZZ(i), x) for (i,x) in enumerate(seq))
Hoep this helps.
On Sun, Jul 31, 2011 at 5:29 PM, tvn wrote:
> The enumerate function in Python has the index type as 'int' instead o
On Sun, Jul 31, 2011 at 10:54 AM, Justin C. Walker wrote:
>
> On Jul 31, 2011, at 02:29 , tvn wrote:
>
>> The enumerate function in Python has the index type as 'int' instead of say
>> sage's Integer. is there an equivalent of enumerate in Sage that returns
>> Integer type ? Thanks
>
> Try sra
On Jul 31, 2011, at 02:29 , tvn wrote:
> The enumerate function in Python has the index type as 'int' instead of say
> sage's Integer. is there an equivalent of enumerate in Sage that returns
> Integer type ? Thanks
Try srange and sxrange/xsrange.
Details with "?"
HTH
Justin
--
Justi
Hi Nikos,
On Sun, Jul 31, 2011 at 9:51 PM, Nikos Tzanakis wrote:
> So, how do I make this permanent? I thought I set the
> permissions correctly,
> everything is readable, writable and executable in the sage directory:
You should never, ever build Sage as root. If you just want to build
Sage fro
Thanks for the reply!
> What happens when you try
>
> tzanakis@turing:/opt/sage4.7$ sudo ./sage
>
> instead?
Works!! So, how do I make this permanent? I thought I set the
permissions correctly,
everything is readable, writable and executable in the sage directory:
tzanakis@turing:/opt/sage4.7$ l
On Sun, Jul 31, 2011 at 5:41 AM, Nikos Tzanakis wrote:
> Dear all,
> I just compiled sage from source (since the binary did not work for me) in
> ubuntu 11.04 (in particular, lubuntu). I followed the instructions and the
> compilation seemed to be successful. Also I set the permissions correctly.
Dear all,
I just compiled sage from source (since the binary did not work for me) in
ubuntu 11.04 (in particular, lubuntu). I followed the instructions and the
compilation seemed to be successful. Also I set the permissions correctly.
However, when I run sage, I get a long message, which I attach
The enumerate function in Python has the index type as 'int' instead of say
sage's Integer. is there an equivalent of enumerate in Sage that returns
Integer type ? Thanks
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
s
Yep, it seems they work now. Great!
--
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
URL: http://www.sag
On Fri, Jul 29, 2011 at 5:00 PM, john_perry_usm wrote:
> Hi
>
> I have a file type1.pyx that defines an extension type Type1, and a
> file type2.pyx that defines an extension type Type2. Some attributes
> of Type2 are of type Type1. If I have the types in one file,
> everything runs fine; I'd like
On 7/30/11 2:40 AM, Juanlu001 wrote:
I have tested multiple interacts of mine and some computations, and
everything seems to work quite well except for the backslash \, which I
tried to use to split lines. It gives a syntax error:
SyntaxErrorTraceback (most recent
On 7/29/11 5:11 PM, Jason Grout wrote:
Hi everyone,
I'd like to announce a trial beta run of a public single cell server:
http://sagemath.org:5467/
The idea is that this is a single cell that can very easily be embedded
in any webpage. This is the start of a comprehensive Sage web service as
w
Hi John,
I don't know if I have a good solution to your question.
At least, let me bring your question back to the first screen (perhaps
someone else has a better solution?) and try to explain my not-so-nice-
and-far-from-being-really-useful solution...
On 30 Jul., 02:00, john_perry_usm wrote:
18 matches
Mail list logo