[sage-support] element in submodule

2017-04-18 Thread Peng
I encountered the following problem: s is the trivial submodule of quo, where quo is a quotient module of modular symbol subspace. The zero element b of quo should be an element of s, but sage says no when I do the following process: # create modular symbol subspace sage: S = ModularSymbols(Ga

[sage-support] element of submodule

2017-04-18 Thread Peng
I encountered the following problem: s is the trivial submodule of quo, where quo is a quotient module of modular symbol space. The zero element b of quo should be an element of s, but sage says no when I do the following process: S = ModularSymbols(Gamma1(13),2).cuspidal_subspace() ker = S.mo

[sage-support] Re: how to obtain an element modulo in a quotient space and how to get the lift of elements of quotient

2017-04-10 Thread Peng
nce lift(U.0) ) attempts to do a > coordinate-wise lift, which is not what you want. It's perhaps a bug that > does that. > > On Monday, April 10, 2017 at 12:28:12 AM UTC-7, Peng wrote: >> >> I compute a freemodule U=V/M, where V and M are vector space, as follows. >> &

[sage-support] how to obtain an element modulo in a quotient space and how to get the lift of elements of quotient

2017-04-10 Thread Peng
I compute a freemodule U=V/M, where V and M are vector space, as follows. I'm wondering that how I can get the image in U of v /in V, that is v modulo W. On the other hand, how can I get the lift in V of u /in U? For this, I tried the command lift(), but it seems not to work, since I input lif

[sage-support] What sage does not give the same results at different run?

2015-08-09 Thread Peng Yu
=[1/2, 1/2] tau=-1/(200+1/2) print n(llikdmnDtauDtau(x, p, tau), digits=22) x=[3, 5] p=[1/2, 1/2] tau=-(2+1/2) print n(llikdmnDtauDtau(x, p, tau), digits=22) -- Regards, Peng -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubs

[sage-support] Is horner available in sage?

2015-07-28 Thread Peng Yu
Hi, horner is available in matlab. I don't find it in sage. Is horner available in sage? Thanks. http://www.mathworks.com/help/symbolic/horner.html -- Regards, Peng -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubs

[sage-support] How to simply the inverse of a symbolic matrix like this?

2015-06-03 Thread Peng Yu
s the best way of doing it in sage? -- Regards, Peng -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post

[sage-support] Error Building sage-6.2: Error installing package mpir-2.6.0.p4

2014-06-17 Thread Yun Peng Lin
I'm trying to build Sage 6.2 (latest version from http://www.sagemath.org/) from the source distribution. After running "make", it built for an hour before failing when trying to build package: mpir-2.6.0.p4. A section of the mpir-2.6.0.p4 log file containing the error is below. I'm trying to

[sage-support] RuntimeError when computing Heilbronn Matries

2012-12-11 Thread Peng
The following error comes out when I try to compute Heilbronn-Merel matries with n=5 in sage: - sage: H=H

[sage-support] How to integrate a piecewise function?

2012-10-09 Thread Peng Yu
age/symbolic/integration/integral/definite_integral$ ./main1.sage 32/35 0 -- Regards, Peng -- You received this message because you are subscribed to the Google Groups "sage-support" group. To post to this group, send email to sage-support@googlegroups.com. To unsubscribe from this group,

[sage-support] vim support

2012-08-21 Thread Peng Yu
.sage files, put the following in $VIM/filetype.vim: augroup filetypedetect au! BufRead,BufNewFile *.sage,*.spyx,*.pyx setfiletype python augroup END -- Regards, Peng -- -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

Re: [sage-support] Re: element wise product of vectors

2012-07-05 Thread Peng Yu
On Thu, Jul 5, 2012 at 1:57 PM, John H Palmieri wrote: > > > On Thursday, July 5, 2012 11:48:27 AM UTC-7, Peng Yu wrote: >> >> I don't find a convenient way for doing element wise product of vectors. >> Is there an operator for it? (or less cumbersome way) > &

Re: [sage-support] element wise product of vectors

2012-07-05 Thread Peng Yu
w vector? -- Regards, Peng -- 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.sagemath.org

[sage-support] element wise product of vectors

2012-07-05 Thread Peng Yu
I don't find a convenient way for doing element wise product of vectors. Is there an operator for it? (or less cumbersome way) ~/linux/test/sage/vector/*$ ./main.sage 5 ~/linux/test/sage/vector/*$ cat main.sage #!/usr/bin/env sage x=vector([1,2]) print x*x Regards, Peng -- To post to

[sage-support] Horner form polynomial

2012-06-28 Thread Peng Yu
I only find the following places have horner. So I think that there is not a direct export of Horner form. Could the developer add the horner form just like the one from Mathematica? Thanks! http://reference.wolfram.com/mathematica/ref/HornerForm.html devel/sage/calculus/wester.py 615:sage:

[sage-support] sage repository address

2012-06-28 Thread Peng Yu
https://github.com/sagemath/sage.git It is not easy for me to find the repository of sage. I found the above on github. Is this the official one? Should this info be added to a more obvious place on the sage website? -- To post to this group, send email to sage-support@googlegroups.com To unsu

[sage-support] "See also" field in the document

2012-06-28 Thread Peng Yu
Hi, In Mathematica, I can "SEE ALSO" section in each help page. But this is not available in Sage's document, which makes harder to find a function. Could sage developer add "SEE ALSO" for each function. Regards, Peng -- To post to this group, send email to sage-su

[sage-support] Faster sage command line startup?

2012-06-28 Thread Peng Yu
/test/sage/print$ ll main.sage -rwxr-xr-x 1 pengy staff 52 2012-06-28 01:24:54 main.sage Regards, Peng -- 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 grou

[sage-support] How to simplify equation like x^5-5*x^4/2+5*x^3/3-x/6 to x*(x*x*(x*(x-5/2)+5/3)-1/6)?

2012-06-28 Thread Peng Yu
x=QQ['x'].0 print bernoulli_polynomial(x, 5) The above code gives me x^5-5*x^4/2+5*x^3/3-x/6. I want to simplify it to x*(x*x*(x*(x-5/2)+5/3)-1/6). Is there a way to do so? -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-