Hi,
to do a overview of a rather different set of `SAGE` methods, I would
like to not only track the time used to run a command, but also the
memory usage of the commands.
Is there a recommended way to do this?
Context:
I want to run the `nearestneighbordecoder`, the `syndromedecoder` and
the `i
On 19-09-02 10:35:18, Simon King wrote:
> Hi J,
>
> On 2019-08-24, J wrote:
> > to do a overview of a rather different set of `SAGE` methods, I would
> > like to not only track the time used to run a command, but also the
> > memory usage of the commands.
> >
>
On 19-09-03 09:43:23, Jori Mäntysalo (TAU) wrote:
> On Mon, 2 Sep 2019, J wrote:
>
> > Thanks get_memory_usage sounds good; I want to run several decoders from
> > the coding theory module to see better show there ups and downs;
>
> There is also at least %mprun magic. Goo
On 19-09-03 11:31:32, Nils Bruin wrote:
>
>
> On Tuesday, September 3, 2019 at 2:43:27 AM UTC-7, Jori Mäntysalo (TAU)
> wrote:
> >
> > There is also at least %mprun magic. Googling that will give you some
> > examples.
> >
> > Looking at the memory footprint of the entire process (as a function of
On 19-09-03 09:43:23, Jori Mäntysalo (TAU) wrote:
> On Mon, 2 Sep 2019, J wrote:
>
> > Thanks get_memory_usage sounds good; I want to run several decoders from
> > the coding theory module to see better show there ups and downs;
>
> There is also at least %mprun magic. Goo
The most problematic part for me is:
I would like to script it
On 19-09-18 10:20:12, Jori Mäntysalo (TAU) wrote:
> On Tue, 17 Sep 2019, J wrote:
>
> > TBH I can't get it to work
> > and
> > "sagemath %mprun"
> > gives to pages of search results incl
decoder
On 19-09-19 08:22:29, Jori Mäntysalo (TAU) wrote:
> On Wed, 18 Sep 2019, J wrote:
>
> > The most problematic part for me is:
> >
> > I would like to script it
>
> I'm not sure what you mean. You have some list L of objects, and want to
> know how much mem
I am having an odd issue with solve in Sage. I am using Sage 6.3 in Ubuntu
14.04.
Entering the following commands:
forget()
var('m k c x t')
m=3
assume(4*k*m-c^2==0)
x=function('x',t)
de = m*diff(x,t,2)+c*diff(x,t)+k*x==0
x=desolve(de,x,ivar=t)
x=x.subs(_K1=0)
x=x.subs(_K2=15)
solve(x(t=(6
I downloaded the dmg file, moved the sagemath directory to Applications, then
double clicked on sage.
I also tried it through home-brew and also got an error (below). Has anyone
done a fresh install with an apple running the latest version of OS X?
The easiest thing for me to do was download li
I moved python2 ahead in my $PATH, I found he relocate script, it seemed to
run, but then errors running sage:
Traceback (most recent call last):
File "/Users/joshua/sage/SageMath/src/bin/sage-ipython", line 7, in
from sage.repl.interpreter import SageTerminalApp
File
"/Users/joshua/sag
.
> On Apr 2, 2017, at 8:33 PM, J. Friedman wrote:
>
> I moved python2 ahead in my $PATH, I found he relocate script, it seemed to
> run, but then errors running sage:
>
> Traceback (most recent call last):
> File "/Users/joshua/sage/SageMath/src/bin/sage-ipytho
If anyone else comes across this problem and installing gs and
imagemagick does not solve it, I also had to install tetex-extra.
I realized when I was getting the error: fullpage.sty could not be
found.
Thanks,
-Matthew J
--~--~-~--~~~---~--~~
To post to this
but as an
example, perhaps being able to do something like
X ~ BIN(n, p) and then get the expected value, variance, or PDF of X?
Assume that n and p are given.
Thanks,
-Matthew J
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegro
Excellent, thank you, exactly what I was looking for.
On Dec 9, 2:07 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Tue, Dec 9, 2008 at 2:04 PM, Jason Bandlow <[EMAIL PROTECTED]> wrote:
>
> > Hi Matthew,
>
> > Matthew J wrote:
> >> Sage is
> > > I'm not sure exactly what you mean here. factorial(n) counts the number
> > > of permutations of 'n' elements very efficiently. Perhaps you mean
>
> > > sage: permutations([1,2,2])
> > > [[1, 2, 2], [2, 1, 2], [2, 2, 1]]
>
> > > Type permutations? for more information on this command. You
Thanks Jason, that will certainly save myself and others some time
trying to figure out what's going on.
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For mor
ch of the cells.
I am still playing around and experimenting with the notebook but
there have to be some shortcuts to learning all this, and I'd
appreciate any pointers to websites, archives, and so on.
Thanks,
J
--~--~-~--~~~---~--~~
To post to this
age was that it needed
another commercial package along side it, but now it looks like
Sage will have all of the other capabilities natively.
Thanks again,
J
On Mar 23, 10:26 am, Jose Guzman wrote:
> Hi J Elaych,
>
> I am the author of the mentioned worksheet
> (http://sagenb.com/ho
uch of the docs and help and googled for 'an error
occured' and 'error latexing slide' but I still don't see a
resolution.
Thanks for any suggestions.
J
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To
n turn installed tons of latex packages, including ../
preprint/fullpage.sty.
I see that you have helped other people find fullpage.sty before, but
the real
help for me was the pointer to the sage.misc.latex.Latex().eval()
command.
Thanks again,
J
--~--~-~--~~~---~
;Request error: ..." which is what prints when
the browser dies. I searched sage-support for that error message but
didn't find it, so here it is for the next person who searches.
Of course, thanks in advance and all.
J
--~--~-~--~~~---~--~~
To post t
Thanks for that link. In fact, the jmol website crashes my Firefox
3.0.8 with all tabs
just like sage did (or jmol did in a sage notebook).
I suspect it may have to do with which/what/how java(s) are installed
on my Ubuntu.
J
On Apr 9, 8:04 am, Jason Grout wrote:
> William Stein wr
r at the bottom. Mine
is up to 366 seconds, but no applet.
So the issue probably is one for the Jmol people, since
cacao/icedtea has worked for me in the past for
everything except Jmol.
J
On Apr 9, 8:44 pm, Rob Beezer wrote:
> J,
>
> Try reading through this thread
>
> http://groups
ow we just need Adobe to get Acroread into 64bits and I can
remove ia32-libs completely, and good riddance it will be.
J
On Apr 10, 1:20 am, Alec wrote:
> I had the same problem, which I fixed by adding one of the Jaunty
> multiverse repositories to the software sources, then reloadi
just use like def f(N): return
N^2 and so on.
Thanks for any pointers to docs or examples that might help me use
this decorator.
Thanks,
J
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email
Hi
Is there a function that will tell you the characteristic of a field?
Thanks.
--~--~-~--~~~---~--~~
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
Thank you both very much. (I had been trying to find it without the R.
part at the front!)
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support-unsubscr...@googlegroups
Firstly, sorry if my questions are stupid; I only started using sage 3
weeks ago.
Okay, I have written a bit of code in my clone in the module
ell_curve_isogeny.py, then I saved and rebuilt my clone to try and
test it in sage. Sage didn't find my function. I went back and saw
that in ell_field.py
Thanks for your response. What and where is the Sage shell?
Cheers.
--~--~-~--~~~---~--~~
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,
Ah, okay! So I needed to type `from
sage.schemes.elliptic_curves.ell_curve_isogeny import `
into the sage command line. That seems to have worked. Thank you both
very much.
Jenny
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.c
I would like to use PyWavelets (http://www.pybytes.com/pywavelets/) in
Sage.
I am running Sage 4.3.4 on Ubuntu 9.10.
I have installed python-pywt using Synaptic File Manager, but I am not
sure what to do beyond this. I have refreshed the libraries, and
tried
import scipy
from scipy import pywt
Hello,
I am attempting to create a .wav file from an array in sage using the
package wavfile. I am importing a .wav file using the package
wavfile, and then using the python wavelets package 'pywt' to create
the array. Here are the commands:
import pywt, scipy, numpy
from scipy.io import wavfil
### Environment
```markdown
- **OS**:Ubuntu 22.04.4 LTS
- **Sage Version**: sage-10.3
```
### Steps To Reproduce
1. I'm trying to install sage in an anaconda environment in Ubuntu 22.04
2. I have run the commands './bootstrap', './configure'
3. Then I installed some packages
4. Then I ran 'mak
### Steps To Reproduce
1. I installed Sage-Math 10.3 for my Mac M2 from
[https://github.com/3-manifolds/Sage_macOS/releases/](link)
2. I tried running a program containing QEPCAD
3. Sage outputs `Qepcad crashed -- automatically restarting`
4. Previously asked about this, but the response was that
### Steps To Reproduce
1. I installed Sage-Math 10.3 for my Mac M2 from
[https://github.com/3-manifolds/Sage_macOS/releases/](https://github.com/sagemath/sage/issues/link)
2. I tried running a program containing QEPCAD. The link for the program:
[tmp_sage_ani_git_issue.txt](https://github.com/us
*Steps To Reproduce*
1. My machine is Mac M2 with the OS Ventura 13.4
2. I already have installed sage with version 10.3 [I believe the same
issue exists with 10.4 as well]
The following program times-out:
*var('x')*
*var('a')*
*var('y')*
*var('b')*
*var('r')*
*qf = qepcad
*Also filed this issue on git here: *
https://github.com/sagemath/sage/issues/38779#issue-2568964546
*Steps To Reproduce*
1. My machine is Mac M2 with the OS Ventura 13.4
2. I already have anaconda installed: conda --version prints conda
23.10.0
3. I used the command conda creat
sage: R. = ZZ[]
sage: b = binomial(q,2)
sage: b
1/2*(q - 1)*q
sage: b.parent()
Symbolic Ring
especially when compared with
sage: binomial(q,1).parent()
Univariate Polynomial Ring in q over Integer Ring
John
--
Prof J E Cremona
Warwick Mathematics Institute
University of Warwick
http://www2
notebooks on my local machine's browser I use ssh-tunnelling
and like to have the port numbers fixed in my ~/.ssh/config file. This is
awkward if I do not know in advance which port will be used.
John Cremona
--
Prof J E Cremona
Warwick Mathematics Institute
University of Warwick
http:/
At least on my machine opening a new terminal window and starting a new
sage session then pressing "up" gives me the previous command (still
running) from the old session.
(I'm on 9.2.beta8 in case that's relevant)
On Thursday, August 20, 2020 at 1:32:20 PM UTC-4 David Lowry-Duda wrote:
> > I
I am trying to install Sage 9.2 in Mac book pro, with Catalina. I
downloaded the sage.app, and when i try to open it, Catalina tells me that
it can not open it, because it can not verify that it does not have
malicious code inside.
I am really not good wtih computers, so i would ask for your he
lation/conda.html
>
>
> On Thu, Dec 10, 2020 at 12:02 PM Jorge J. Urroz wrote:
> >
> > I am trying to install Sage 9.2 in Mac book pro, with Catalina. I
> downloaded the sage.app, and when i try to open it, Catalina tells me that
> it can not open it, because it can
rom-an-unidentified-developer-mh40616/mac
>
> Best,
> Lluís
>
> On 10/12/2020 12:47, Jorge J. Urroz wrote:
> > I am trying to install Sage 9.2 in Mac book pro, with Catalina. I
> > downloaded the sage.app, and when i try to open it, Catalina tells me
> > that it can
I am sending this forward on behalf of Matt Foster...
Be sure to look into pysmell (for completion) as well.
>>
Hi All,
A similar mail has already been on the (ipython) users mailing list, so my
apologies if you've seen most of this before.
I've started working on a TextMat
Hello all,
I apologize if I am repeating someone, but I figure this question is a big one
worth bringing up again. If I want sage to see some publicly available python
libraries, it seems that I can't just drag and drop them into my
"site-packages" folder as eggs as I thought I might. I am o
A fellow named Gael Varoquaux uses the topographic map of France as a common
example for showing off mayavi (a 3D vtk-based viz tool) so this may be more of
an Enthought Python Distribution question (vs. sage). Mayavi may be found
here: http://mayavi.sourceforge.net/ and perhaps elsewhere. I
I wish to plot I = I0*(exp(q*V/n/k/T)-1) as a function of V for
several different values of n.
I realize I can do something like this:
I1 = I0*(exp(q*V/n[0]/k/T)-1)
I2 = I0*(exp(q*V/n[1]/k/T)-1)
I3 = I0*(exp(q*V/n[2]/k/T)-1)
plot((I1, I2, I3, ...), (V, 0, 1))
But that feels wrong. I'm wondering
On Aug 31, 12:17 pm, Jason Grout wrote:
>[...]
> Ifuncs=[I0*(exp(q*V/n/k/T)-1) for n in [0,1,2,3,4,5]]
> plot(Ifuncs, (V,0,1))
> [...]
That, sir, is a thing of beauty. Exactly what I wanted. Thanks!
--~--~-~--~~~---~--~~
To post to this group, send email to s
I'm trying to plot I = I0*(exp(q*V/n/k/T)-1) as a function of V for
several different values of n. I have:
I = [I0*(exp(q*V/n/k/T)-1) for n in [1, 1.5, 2]] (thanks, Jason)
If I then say plot(I), it shows one of the lines shooting up to huge
values, and the other two are very small (laying on th
I haven't gotten notebook running just yet, but I prefer command line
anyway so far. The thing is, my computational eyes are larger than my
processing ability's stomach, so I end up finding out it's going to
take longer than I want to complete a command. How do I stop it from
the command line? I tr
On Dec 13, 1:54 am, Robert Bradshaw
wrote:
> On Dec 13, 2009, at 1:46 AM, Charles J. Daniels wrote:
>
> > I tried ctrl-c but no help.
>
> This should work. If it doesn't, it usually means we didn't wrap some
> c call with the appropriate signal handlers, so plea
On Dec 14, 10:01 pm, Timothy Paysen wrote:
> The VirtuaBox incarnation doesn't seem to be able to get to a Sage notebook.
> It will bring you to the Sage web sit--but nothing more. So--can't even
> say whether it works well or not--it just doesn't seem to work.
If you are running VirtualBox ver
On Dec 18, 11:30 am, William Stein wrote:
> Hi,
>
> So the main issue is that often some of the hard drives aren't
> appearing after import, due to bugs in VirtualBox on various
> platforms?
>
> [...]
>
> William
To be fair to your efforts William, I'm not sure they have the new
appliance you e
I am interested in contributing to the sage cell server and am going through
the steps outlined in the readme in the
https://github.com/sagemath/sagecell#id1";>github page. When I get to step #5, I
get the following error message that is detailed below. I am running this on a
kubuntu virtual ma
Installing using the binary download version of sage does not work, gives a
"cannot find such and such file" message. Am trying it with the source
version now.
On Sunday, May 19, 2013 6:03:12 PM UTC-4, Aaron E-J wrote:
>
> I am interested in contributing to the sage cell ser
sage/spkg/build/sagecell-2013-05-20' &&
'/home/aaronej/sage/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
On Sunday, May 19, 2013 6:03:12 PM UTC-4,
Oh, and I have git and uuid-dev so it must be something else
>
--
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 pos
As a test, I attempted to install a standalone version of ZeroMQ but got
the following message:
...
CXXLD test_timeo
make[1]: Leaving directory `/home/aaronej/Downloads/zeromq-3.2.3/tests'
make[1]: Entering directory `/home/aaronej/Downloads/zeromq-3.2.3'
make[1]: Nothing to be done for `all-am
This seems to have done the trick! Thanks a lot, I can now go enjoy the
nice Memorial Day weather without it nagging me :-)
On Monday, May 27, 2013 2:36:47 PM UTC-4, Jason Grout wrote:
>
> On 5/27/13 11:36 AM, Aaron E-J wrote:
> > So I've finally had a change to get back to
error propagate
ImportError: No module named _ssl
On Monday, May 27, 2013 3:32:56 PM UTC-4, Aaron E-J wrote:
>
> This seems to have done the trick! Thanks a lot, I can now go enjoy the
> nice Memorial Day weather without it nagging me :-)
>
> On Monday, May 27, 2013 2:36:47 PM UTC
ll
not sure if I have the correct values.
My thinking is that it has to do with what I'm putting for the username in
the config.py file. What should I put? I've tried "aaronej@localhost",
localhost and simply "" to no success. Leaving it as None does not
_default_config = {"host": "localhost",
"username": "aaronej@localhost",
"python": sage + " -python",
"location": os.path.dirname(os.path.abspath(__file__)),
--
You received this message because you are subscribed to the Google Groups
"sage-s
I'm trying to view the "dynamic" (not static) version of the Sage tutorial from
my locally started instance of Sage. I'm running version 5.13 on Windows 7
(through VirtualBox), and whenever I click "Help", I can view the static
version, but the link for the interactive tutorial only returns a de
I am attempting to build SAGE 6.2 from source on a cluster running
Scientific Linux (a Red Hat derivative; kernel 2.6.32-431.1.2.el6.x86_64).
The CPU was (I'm fairly sure) an AMD Opteron 2218 HE. My build effort
failed while trying to build setuptools, giving a somewhat taciturn error
message
Thanks for the replies!
I had already had some file system troubles when I tried building on the
cluster's nfs store. The problem there had to do with "cp -p" not
preserving permissions. So I was building on the cluster's other network
file storage, which uses lustre (which I know next to nothi
On Friday, 16 January 2015 22:06:03 UTC-5, Jason Grout wrote:
>
> On 1/14/15, 3:21, Dvir Arad wrote:
> > Hello,
> > I'm a student at Ariel University.
> > Ressantly I start learning "SAGE" for my Final Project.
> > When I try to create An Opened account at "sage maa" I require to answer
> th
Thank you for looking into this.
-stephen
On Tue, Jan 19, 2010 at 6:04 PM, Jason Grout wrote:
> stevejb wrote:
>
>> Hello,
>>
>> I am trying to plot 2 distinct sets on the same region_plot. My code
>> is as follow
>>
>> var('x1 x2')
>> (region_plot( [
>> ( (x2 >= exp(-x1)) or (x2 <= -exp(-x1) )),
Dear Sage Gurus,
I was playing with Sage and discovered what appears to be a
really weird bug with Sage's checking of inequalities.
In the attached code, I generate some random 2x2 linear equations
with integer coefficients, and I try to find the minimum and maximum
coordinates of the res
Indeed that should fix it, in the meantime you can run something like
sage: from sage.typeset.ascii_art import AsciiArt
sage: AsciiArt._terminal_width = lambda x: 80
Before running other commands to fix the problem in a given notebook
On Friday, July 1, 2022 at 3:40:58 AM UTC+2 John H Palmieri
69 matches
Mail list logo