Re: [sage-support] 3d graphics crash (on Mac)

2022-07-15 Thread harald....@gmail.com
Le vendredi 15 juillet 2022 à 09:17:08 UTC+2, dim...@gmail.com a écrit : > > > On Fri, 15 Jul 2022, 05:59 harald@gmail.com, > wrote: > >> No, I meant that I get this sort of behavior (crash after starting to >> execute successfully) in Chrome. In Safari

Re: [sage-support] 3d graphics crash (on Mac)

2022-07-14 Thread harald....@gmail.com
e. What can I do about that? Best Harald Le vendredi 15 juillet 2022 à 00:04:44 UTC+2, dim...@gmail.com a écrit : > > > On Thu, 14 Jul 2022, 22:07 harald@gmail.com, > wrote: > >> >> >> Le mercredi 13 juillet 2022 à 19:35:48 UTC+2, dim...@gmail.com a écrit :

Re: [sage-support] 3d graphics crash (on Mac)

2022-07-14 Thread harald....@gmail.com
Le mercredi 13 juillet 2022 à 19:35:48 UTC+2, dim...@gmail.com a écrit : > > > On Wed, 13 Jul 2022, 16:02 harald@gmail.com, > wrote: > >> Hi, >> >> I am running Sagemath on a Mac Mini (2018; Intel). >> >> I used to have no problems when asking

Re: [sage-support] 3d graphics crash (on Mac)

2022-07-14 Thread harald....@gmail.com
gt; On Wed, 13 Jul 2022, 16:02 harald@gmail.com, >> wrote: >> >>> Hi, >>> >>> I am running Sagemath on a Mac Mini (2018; Intel). >>> >>> I used to have no problems when asking Sagemath to display 3d objects >>> (polygons), which I

[sage-support] 3d graphics crash (on Mac)

2022-07-13 Thread harald....@gmail.com
math 9.5 to 9.6 hasn't solved the problem. Best Harald -- 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 v

Re: [sage-support] tachyon not found (SageMath 9.5, running on an Intel-based Mac)

2022-05-09 Thread harald....@gmail.com
conda activate sage-build works nicely. Thanks! Le lundi 9 mai 2022 à 13:20:36 UTC+2, isu...@gmail.com a écrit : > conda activate sage-build should do the trick. > > Isuru > > On Mon, May 9, 2022 at 6:03 AM Dima Pasechnik wrote: > >> >> >> On Mon, 9

Re: [sage-support] tachyon not found (SageMath 9.5, running on an Intel-based Mac)

2022-05-09 Thread harald....@gmail.com
which tachyon > > > On Sun, May 8, 2022 at 11:56 PM harald@gmail.com > wrote: > > > > Here it is. > > > > Le samedi 7 mai 2022 à 19:21:24 UTC+2, dim...@gmail.com a écrit : > >> > >> Please post the top level config.log. > >>

[sage-support] tachyon not found (SageMath 9.5, running on an Intel-based Mac)

2022-05-07 Thread harald....@gmail.com
FileNotFoundError: [Errno 2] No such file or directory: 'tachyon' What to do? Best Harald -- 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

Re: [sage-support] Re: problem with matrix over finite field

2019-07-12 Thread Harald Schilly
On Fri, Jul 12, 2019 at 3:38 PM Simon King wrote: > > sage: DOT_SAGE > > '/home/user/.sage/' > > Do you literally mean "user", not the specific name of a single user? yes, all cocalc projects run under the same user "user" in their own container. $ echo $USER user $ id uid=2001(user) gid=2001(us

Re: [sage-support] Re: problem with matrix over finite field

2019-07-12 Thread Harald Schilly
Ok... To me, this sounds like we have to uninstall MeatAxe on CoCalc. The CoCalc setup is quite easy to explain, and so far I wasn't aware of any issues. Sage is in a globally shared read-only directory /ext/sage/sage- and permissions are set such that a user "user" can read/exec it. Hence, onl

[sage-support] Re: problem with matrix over finite field

2019-07-12 Thread Harald Schilly
On Friday, July 12, 2019 at 11:48:40 AM UTC+2, Simon King wrote: > > > sage: DOT_SAGE > '/home/king/.sage/' It's sage: DOT_SAGE '/home/user/.sage/' Which I bet is the wrong place to look. (all cocalc projects are essentially linux docker containers, where /home/user is $HOME, though)

[sage-support] Re: problem with matrix over finite field

2019-07-12 Thread Harald Schilly
On Friday, July 12, 2019 at 11:48:40 AM UTC+2, Simon King wrote: > > > sage: DOT_SAGE > '/home/king/.sage/' It's sage: DOT_SAGE '/home/user/.sage/' Which I bet is the wrong place to look. (all cocalc projects are essentially linux docker containers, where /home/user is $HOME, though)

[sage-support] Re: problem with matrix over finite field

2019-07-12 Thread Harald Schilly
I've no idea why this is happening on CoCalc. My first guess is there is an optional package installed, which is causing this. Interestingly, this works: matrix(GF(16), [[1,0], [0, 1]]) while matrix(GF(25), [[1,0], [0, 1]]) fails with the above error. -- You received this message because you

[sage-support] Re: Displaying Sagetex code

2018-04-04 Thread Harald Helfgott
That is not what I meant. I meant that the label would appear above the variable (though I now realize it would be better for it to appear on top of the variable, to avoid confusion with exponents - though of course confusion with subscripts would still be possible). -- You received this mess

[sage-support] Re: Displaying Sagetex code

2018-03-25 Thread Harald Helfgott
(Well, I want to display what that LaTeX code would display, obviously.) Le dimanche 25 mars 2018 08:20:23 UTC-5, Harald Helfgott a écrit : > > > (b) make variable names appear as footnotes to their values, when > displayed via \sage (as opposed to \sageblock)? Again, the purp

[sage-support] Re: Displaying Sagetex code

2018-03-25 Thread Harald Helfgott
(b) make variable names appear as footnotes to their values, when displayed via \sage (as opposed to \sageblock)? Again, the purpose would be debugging/refereeing. > > ??? Could you give us an example of what you want to do ? I have trouble > visualizing it... > > \begin{sageblock} a

[sage-support] Displaying Sagetex code

2018-03-18 Thread Harald Helfgott
it is possible to (a) display Sagetex code within TeX in a relatively "clean" fashion (one that can be sent to referees, say, rather than just to one's friends), (b) make variable names appear as footnotes to their values, when displayed via \sage (as opposed to \sageblock)? Again, the purpose

[sage-support] \sage inside \[\text{ $ $}\]

2018-03-18 Thread Harald Helfgott
At some point I was getting inexplicable results while using SageTex- my variables were all being shifted by one (variable b taking the value of variable a, variable c taking the value of variable b, and worse). Then I realized that the problem was that I had some code of the following form: \[

[sage-support] Re: Sage Jupyter Kernel?

2017-08-30 Thread Harald Schilly
more than a year old release of Sage. Please get the newest 8.0! -- harald -- 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...@goo

Re: [sage-support] csdp installed in 7.6?

2017-07-11 Thread Harald Schilly
sually via pip/cran, but maybe even directly from a repository) [1] link to main repo: http://files.sagemath.org/spkg/upstream/csdp/index.html -- harald -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group an

[sage-support] Re: sagews2html

2017-07-09 Thread Harald Schilly
to ask in the cocalc group or email us at the cocalc support h...@sagemath.com -- harald -- 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+unsu

[sage-support] Re: [CoCalc] Re: LattE

2017-07-02 Thread Harald Schilly
Thank's for forwarding, LattE is installed. -- harald -- 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.

Re: [sage-support] Using SageCloud for the production of interactive materials

2017-06-04 Thread Harald Schilly
imath was never really on our radar. That's why I can only give you the unsatisfactory answer that in theory it should work in "%html" cells :-) -- harald -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe

[sage-support] Re: [CoCalc] Re: [sage-combinat-devel] Re: Crystals not displaying

2017-06-01 Thread Harald Schilly
ase don't ask me about any details, I'm just pretty sure that this is what's going on here :-) -- harald -- 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

[sage-support] Re: [CoCalc] Re: [sage-combinat-devel] Re: Crystals not displaying

2017-06-01 Thread Harald Schilly
t; files, they have nothing to do with "sagemath", except that they use it as a back-end. -- harald -- 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,

[sage-support] Re: [CoCalc] Re: Crystals not displaying

2017-05-31 Thread Harald Schilly
On Wed, May 31, 2017 at 12:02 PM, Dima Pasechnik wrote: > oops, it does work after I install dot2tex by doing > > sage -i dot2tex Well, I can only confirm, that dot2tex is installed on CoCalc... Better error messages and sanity checks FTW :-) -- harald -- You received this messag

Re: [sage-support] Sage Crash Report

2017-03-27 Thread Harald Schilly
up? > No, but the existing "docker-images" could be renamed to just "docker". Then it would redirect and move the repo's extras, see https://help.github.com/articles/renaming-a-repository/ -- harald -- You received this message because you are subscribed to the Google

[sage-support] Re: trouble signing in

2017-03-17 Thread Harald Schilly
On Friday, March 17, 2017 at 8:57:50 PM UTC+1, Shannon Negaard wrote: > > I can't remember the last time I was asked to log in. I can't remember my > username > You have to help us here. Do you work on your local machine or a remote service? What's the exact URL where you try to login? -- h

[sage-support] Re: Advices in "Git the Hard Way" don't work for me

2017-02-23 Thread Harald Schilly
On Thursday, February 23, 2017 at 4:50:50 PM UTC+1, Simon King wrote: > > git clone git://github.com/sagemath/sage.git when you clone from github via the ssh protocol, you need to be part of the repository. click on the "https" link or button there where you got the link in github, then yo

[sage-support] Re: [sage-cloud] Re: Czech language(pack) in SageTex

2017-01-29 Thread Harald Schilly
Hi, also, the only linux ubuntu package I know of related to this is texlive-lang-czechslovak You can check all the files it installs via running the following command in a terminal: dpkg -L texlive-lang-czechslovak -- harald -- You received this message because you are subscribed to the

[sage-support] Re: Sage always crashes

2016-09-07 Thread Harald Schilly
Dima Pasechnik wrote: > I'd try the following: > > * get a copy of the website locally > > * make all the symlinks relative (is it OK?) > > * check in all the non-binaries and symlinks > > Are there any symlinks to binaries? > > > On Wed, Sep 7, 2016 at 3:32 PM, Ha

[sage-support] Re: Sage always crashes

2016-09-07 Thread Harald Schilly
ssh key vs. github. Maybe with a little bit more nerves I am able to do this. (unless I really need to bind-mount directories as root, that might then be impossible for me) -- h On Sun, Sep 4, 2016 at 12:28 PM, Dima Pasechnik wrote: > Well, I already complained to Harald about another README t

[sage-support] Sage Crash Report

2016-08-31 Thread Harald Andres Helfgott
-- 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 to this group, send email to sage-support@googlegroups.com. V

[sage-support] Re: [sage-cloud] Re: How do i remove overtype?

2016-08-20 Thread Harald Schilly
did you accidentally press the insert key? press "ins" again, or however it is called (maybe near your del key) -- h On Sat, Aug 20, 2016 at 7:50 AM, Dima Pasechnik wrote: > it is not clear what kind of Sagemath interface you were using; e.g., if you > used a "usual" text editor then it's a que

Re: [sage-support] Re: Lambda functions vs. defining functions

2016-08-11 Thread Harald Schilly
ivial: def builder(v1, n): ex = 1 + v1 for i in range(n): ex = (i + v1) * ex^2 return ex x = var('x') builder(x, 5) gives (x + 4)*(x + 3)^2*(x + 2)^4*(x + 1)^40*x^16 -- harald -- You received this message because you are subscribed to the Google Groups "sage-

Re: [sage-support] Re: Lambda functions vs. defining functions

2016-08-10 Thread Harald Schilly
On Wed, Aug 10, 2016 at 10:46 PM, Todd Zimmerman wrote: > You can integrate and differentiate both types of functions in SageMath as > well as use them for solving differential equations. So, can you copy/paste us an example? It does work, if that small python-function is evaluated and returns a

[sage-support] Re: Lambda functions vs. defining functions

2016-08-10 Thread Harald Schilly
which is a Sage-specific object! Under the hood, f(x) = x is constructed like: x = var("x") f = symbolic_expression(x).function(x) -- harald -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and sto

[sage-support] Re: Problem with precision in large sum?

2016-05-12 Thread Harald Schilly
The important question is, over which ring you are doing your arithmetics. In your case, you might have an underflow or overflow, that causes numerical instabilities, and then it fails. With more precision, you can get closer to the actual value. Look at "interval arithmetic" if you want to kno

Re: [sage-support] Re: Parallel Process/Engine in Sage.

2016-04-29 Thread Harald Schilly
ky part might be to setup the ipcluster in such a way, that the correct python executable is used and the python path is allowing the workers to properly import SageMath as a library. -- harald -- You received this message because you are subscribed to the Google Groups "sage-support"

Re: [sage-support] Re: Parallel Process/Engine in Sage.

2016-04-29 Thread Harald Schilly
ity between the engines invoked and the sage terminal.How do > you connect the engines and sage? > > Please let me know if there is any method to resolve this issue.Thank you. > > With Best Regards/ Mit Besten Grüßen / Sincères Salutations > Hemanth Gaekwad > > > > On Fri,

[sage-support] Re: Parallel Process/Engine in Sage.

2016-04-29 Thread Harald Schilly
On Thursday, April 28, 2016 at 8:12:16 PM UTC+2, HEMS wrote: > > ...like the way we invoke parallel process/engine on IPython. > I haven't tried myself, but have you tried using ipython's engine for sagemath? Ipython is in sagemath and you can install additional packages via "sage -pip ...".

[sage-support] Re: Solving a function with a lower floor

2016-04-23 Thread Harald Schilly
On Saturday, April 23, 2016 at 11:29:07 AM UTC+2, Massimo D'Antoni wrote: > > I need to define a function like the following (the function cannot assume > negative values): > > y = 5 - 2x if f(x)>0 > 0 otherwise > > Hi, you cannot mix python syntax with building a symbolic exp

[sage-support] Re: Sage or Mathemathica. Which one is correct?

2016-04-21 Thread Harald Schilly
In your mathematica version, is "log10" a parameter with values from -8 to 8, while in sagemath you use it as a logarithm with basis 10. Is that how I read it or do I miss something obvious? -- h -- You received this message because you are subscribed to the Google Groups "sage-support" grou

[sage-support] Re: is_prime() error

2016-04-05 Thread Harald Schilly
the division changes the type to a rational number. I.e. type(q) and is_prime(Integer(q)) True fixes this. Not sure if that's a bug. It's certainly not obvious why this happens. -- harald -- You received this message because you are subscribed to the Google Groups "sage

[sage-support] Re: Eulers method for non-linear ODEs

2016-04-01 Thread Harald Schilly
On Friday, April 1, 2016 at 9:40:13 AM UTC+2, Jesse Hulse wrote: > > eulers_method(y(1-y)-0.2*(1-0.7*cos(2*pi*x)),0,1,1/2,1) > I have the feeling ,that your y(1-y) should be y*(1-y) A variable with parenthesis next to it is a function call, i.e. like y(7) → something, whereas you seem to mean

Re: [sage-support] Re: SMC vpython/ivisual

2016-03-07 Thread Harald Schilly
vpython, or if it is even possible to run it on SMC. Do vpython and ivisual depend on each other? -- harald ​ > ​ > > So forget about my asking... > Best regards > Henri > > Le samedi 5 mars 2016 09:52:09 UTC+1, HG a écrit : >> >> Hi, >> In an imput jupy

[sage-support] Re: SMC vpython/ivisual

2016-03-07 Thread Harald Schilly
Hello, what does "connect out" mean? No connection? You have to upgrade the "internet access" quota in order to have access to the internet from within your project. Besides that, please email us at h...@sagemath.com this question and the full URL link to your project. --

[sage-support] Re: SageMathCloud: init.sage ignored for .sagews files

2016-02-24 Thread Harald Schilly
...@sagemath.com with a link to exactly this worksheet you are talking about ... then we can have a look and see what's really going on. -- harald -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this gro

Re: [sage-support] Re: graphic conversion from maxima to sage

2016-02-18 Thread Harald Schilly
hank's to Samuel, that you were asking here. All of this is installed via the package "texlive-pictures". Besides that, I fear I've no clear picture what you actually want to do -- or maybe I've overlooked a message here? Best wishes, Harald -- You received this mes

[sage-support] Re: Either Sage is doing something wacky or I am.

2016-02-15 Thread Harald Schilly
That's your problem, using "range". On Monday, February 15, 2016 at 4:03:25 PM UTC+1, Jeremy Martin wrote: > > for p in range(3,4): > > That produces python integers while srange produces SageMath Integers. -- h -- You received this message because you are subscribed to the Google Groups

Re: [sage-support] How to install sagemathcloud on local computer?

2016-02-08 Thread Harald Schilly
some descriptions for the dependencies to run SMC in src/smc-build. Besides that I'm not aware of anything. -- harald -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving email

[sage-support] Re: Using Sage on a Local Web Server

2016-02-04 Thread Harald Schilly
other included tools are started up). The source code is here: https://github.com/LMFDB/lmfdb I have no idea what you are talking about with a VirtualBox though. I don't think you can run a webservice from there??? -- harald -- You received this message because you are subscribed to the G

[sage-support] Re: Can I run sagemathcloud on my own institutional cloud / cloud host?

2015-11-24 Thread Harald Schilly
e in maintaining a Linux system, some Python/node.js/database knowledge and general site ops experience, it might amount to 20h/week. -- harald -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop re

[sage-support] Re: https://sage.mat.uam.es/upload_worksheet

2015-11-24 Thread Harald Schilly
On Tuesday, November 24, 2015 at 12:12:13 PM UTC+1, Carlos Gómez wrote: > Help me please! I cannot upload this worksheet. Hello Carlos, we do not manage sage.mat.uam.es. Please contact whoever is responsible for this SageMath installation. -- Harald -- You received this message beca

[sage-support] Re: Is it ok to delete src/ directory?

2015-08-25 Thread Harald Schilly
Well, there is code in src which is executed, because python is a scripting language. I guess there are some files which you could get rid of, but I'm not sure. Besides that, a lot should already be stripped when building the binary. What you could get rid of is the documentation. Those are just

[sage-support] Re: when trying to open sagemath in oracle vm virtual box in windows 8.1 64 bit machine Blue screen of d

2015-06-07 Thread Harald Schilly
Which OS are you using? Searching the internet for that violation error and virtualbox brings up issues with windows 8.1. On Sunday, June 7, 2015 at 6:26:34 PM UTC+2, Amritendu Mukhopadhyay wrote: > > Installation of Oracle VM Virtual Box and importing the sage ova file in > it was not a problem

[sage-support] Re: Decompressing sage version

2015-06-07 Thread Harald Schilly
The download page itself tells you to 1. install lrzip: $ sudo apt-get install lrzip (or via synaptic) 2. $ lrzuntar *.tar.lrz Hope this helps, Harald On Saturday, June 6, 2015 at 9:55:59 PM UTC+2, avi kaur wrote: > > hello > > > I am facing problem while installing sagemath.

[sage-support] Re: problem with sagemath.org

2015-06-06 Thread Harald Schilly
ves a 404 error. > The 404 error means that this page does not exist. To see the packages, go to download packages and select a mirror here: http://www.sagemath.org/download-packages.html -- harald -- You received this message because you are subscribed to the Google Groups "sage-suppo

[sage-support] Re: Approximate decimal answers

2015-03-26 Thread Harald Schilly
On Tuesday, March 24, 2015 at 11:44:21 PM UTC+1, A. Jorge Garcia wrote: > > Monte Carlo simulations and quadrature calculations... > mpmath is also what I would recommend to look into, it also has quadrature functions. I still have to warn you, that monte carlo simulations might give you bias

[sage-support] Re: Filling a matrix with functions

2015-03-24 Thread Harald Schilly
#x27;s zero-based indexed, as everything else in Python, but you can fix it easily. Hope this helps. -- Harald -- 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,

[sage-support] Re: Filling a matrix with functions

2015-03-24 Thread Harald Schilly
On Tuesday, March 24, 2015 at 11:05:21 AM UTC+1, Oscar Alberto Castillo Felisola wrote: > > but for "huge" matrices it is boring and make no sense. > Can you describe a rule or pattern how this matrix should be filled? -- You received this message because you are subscribed to the Google Gr

[sage-support] Re: adding 4 numbers

2015-02-18 Thread Harald Schilly
A leading zero is in Python (and hence Sage) an octal number. I also stumbled about this. Many others probably as well. Just get rid of the leading zero ;-) -- Harald On Wednesday, February 18, 2015 at 9:21:47 PM UTC+1, kuno wrote: > > Hi, code below > > sage: version() > 

[sage-support] Re: Update the benchmarks on the sagemath website?

2015-02-14 Thread Harald Schilly
agemath/website/blob/master/src/tour-benchmarks.html I'm not sure if I have time to work on this soon, contributions are welcome! -- harald -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop

[sage-support] Re: Sage maa - magic word

2015-01-14 Thread Harald Schilly
Duplicate email, I have no idea what MAA is doing there. You can run Sage online at various locations and also download it to run it locally. On Wednesday, January 14, 2015 at 9:21:40 AM UTC+1, Dvir Arad wrote: > > Hello, > I'm a student at Ariel University. > Ressantly I start learning "SAGE"

[sage-support] Re: sage Maa create acoount

2015-01-14 Thread Harald Schilly
I don't know anything about that sage MAA site, it's also really outdated. If you want to run Sage online, go to https://cloud.sagemath.com … all free. -- Harald -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubsc

[sage-support] Re: left right subtrees

2014-11-25 Thread Harald Schilly
On Tuesday, November 25, 2014 2:33:39 PM UTC+1, kcrisman wrote: > > > Hi! I don't think this is necessarily a notebook question, so I'm > forwarding this to sage-support where it is morel likely to get some > responses. Good luck! > I did the reverse, and invited Nathann to help Dominique. ;

[sage-support] Re: How to paste code for quick rather than type code in terminal in sage cloud

2014-09-26 Thread Harald Schilly
On Friday, September 26, 2014 1:45:57 PM UTC+2, Martin Chan wrote: > > How to paste code for quick rather than type code in terminal in sage cloud > Have you tried Ctrl-v? Press the 5th "clipboard" button above the terminal window to see more information. -- harald --

[sage-support] Grey scale network graph colorings

2014-09-24 Thread Harald Schilly
Is there a better way to do this? http://vincent-knight.com/unpeudemath/code/2014/09/24/greyscale-graphs-in-sage/ -- 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

Re: [sage-support] Re: [sage-devel] How to input a large system of equations?

2014-09-18 Thread Harald Schilly
On Thursday, September 18, 2014 7:30:09 PM UTC+2, Dan Drake wrote: > > I guess I was holding a hammer and it made his problem look like a nail... > Second even larger hammer to the rescue: from sage.misc.cachefunc import cached_function @cached_function def f(x): return x^2+1 ;-) -- Yo

Re: [sage-support] Re: [sage-devel] How to input a large system of equations?

2014-09-18 Thread Harald Schilly
On Thursday, September 18, 2014 3:59:47 PM UTC+2, Dan Drake wrote: > > So the above list is > > [applyntimes(f, x, n) for n in range(whatever)] > ... it works, but doesn't it call f way too often? Personally, I think the for-loop with list appending is the easiest. The yield/list approach is

Re: [sage-support] Re: Share piece of Sage code

2014-09-16 Thread Harald Schilly
On Tuesday, September 16, 2014 12:33:21 PM UTC+2, projetmbc wrote: > > The website I used allow external user to play with the code like in > http://sagecell.sagemath.org/ . > You can evaluate some code and click on share. That should do it, right? Public parts of sagenb.org are turned off and

[sage-support] Re: Using an Undefined Function?

2014-09-13 Thread Harald Schilly
On Saturday, September 13, 2014 11:40:26 PM UTC+2, Harald Schilly wrote: > > On Saturday, September 13, 2014 11:18:49 PM UTC+2, Chris Maness wrote: >> >> Is it possible for sage to use an undefined function such that: >> >> diff(f(x(t),y(t)),t) yields the defi

[sage-support] Re: Using an Undefined Function?

2014-09-13 Thread Harald Schilly
On Saturday, September 13, 2014 11:18:49 PM UTC+2, Chris Maness wrote: > > Is it possible for sage to use an undefined function such that: > > diff(f(x(t),y(t)),t) yields the definition of the total derivative? > > I'm not sure about Sage itself, but since SymPy is technically part of Sage, this s

Re: [sage-support] Re: apparent numerical integration bug in sage

2014-08-30 Thread Harald Schilly
On Sat, Aug 30, 2014 at 12:35 AM, Robert Dodier wrote: >> Harald, thanks. I think now we have six or seven ways to do quadrature in >> Sage! > > Yes, but most of them are QUADPACK, right? The whole idea of mpmath is to be standalone, right? https://github.com/fredrik-joh

[sage-support] Re: apparent numerical integration bug in sage

2014-08-29 Thread Harald Schilly
On Friday, August 29, 2014 7:15:27 PM UTC+2, Robert Dodier wrote: > > QUADPACK ... > I've tried this in mpmath's quad. I think it works there, but maybe I've overlooked the actual problem. sage: import mpmath as mp sage: f1 = lambda _ : 1. / mp.sqrt(_^3 + 2) sage: f2 = lambda _ : 1. / mp.sqrt

[sage-support] Re: Solving system of nonlinear equations

2014-08-29 Thread Harald Schilly
On Friday, August 29, 2014 6:46:39 PM UTC+2, Chris Corio wrote: > > Can anyone point me at the functions that I can use to solve these > equations or have any suggestions for the solutions? I appreciate the help. > > Sage's "solve" is explicit, I don't know if it gives you a solution. What you

[sage-support] Re: promote Sage on python success stories

2014-08-27 Thread Harald Schilly
> https://www.python.org/about/success/ That's a nice idea, but how to submit something and what exactly? On one hand one can mention that Sage is used by "some peo

[sage-support] Re: sage-6.3-x86_64-Darwin-OSX_10.6_x86_64-app.dmg won't be built?

2014-08-22 Thread Harald Schilly
On Fri, Aug 22, 2014 at 4:16 PM, kcrisman wrote: > Harald, is this easy to do on the mirrors? Easy and tedious. As long as the filename changes, it counts as being removed and a new one is added. -- H -- You received this message because you are subscribed to the Google Groups "sage

[sage-support] Re: numba

2014-07-22 Thread Harald Schilly
ge environment via "$ sage -sh" and then pip-install it ;-) Harald -- 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...@googleg

[sage-support] Re: Importing data from the online L-functions and modular forms database

2014-06-11 Thread Harald Schilly
ction happened, though. Therefore, I assume you have to write your own parser. Harald On Wednesday, June 11, 2014 5:55:54 AM UTC+2, Andreas Holmstrom wrote: > > I would like to import (into my SageMathCloud notebook) files like this: > > http://www.lmfdb.org/L/EllipticCurve/Q/11.a/?d

[sage-support] Re: Simplify code generated by sympy for complex expressions

2014-05-21 Thread Harald Schilly
Hi, I haven't looked into that file, but maybe you should try to solve and simplify the equations directly in sympy? There is also a group for sympy, maybe they can help you streamlining this, too. https://groups.google.com/forum/#!forum/sympy Harald -- You received this message becaus

[sage-support] Re: global name is not defined

2014-05-07 Thread Harald Schilly
inside your for loop, the last two lines, you need to prepend a "self." to both variables on the left ... just like you did with self.rho and the others on the right. harald -- You received this message because you are subscribed to the Google Groups "sage-support" group.

[sage-support] Re: Impressive use cases of Sagemath - examples for a workshop

2014-04-11 Thread Harald Schilly
Hi, there are plenty of benchmarks you can do, if speed is something those are easily impressed by. Here are some interacts, http://wiki.sagemath.org/interact and http://interact.sagemath.org Regarding physics, a simple thing is the part for converting units. There are also more advanced usages

[sage-support] Re: Is SageMathCloud reasonably usable from China?

2014-03-21 Thread Harald Schilly
On Friday, March 21, 2014 1:09:23 AM UTC+1, n.p.str...@sheffield.ac.uk wrote: > > If I understand correctly, all the SageMathCloud servers are in Washington > State. > I don't know, but about the locaion: they are at the campus of the university of washington and google's us-central1-a data

[sage-support] Re: Search function at sagemath.org broken?

2014-01-28 Thread Harald Schilly
Interesting, seems to be a bug in google's javascript. However, at the bottom is a direct link to the CSE, you can use it as a fallback https://www.google.com/cse/home?cx=017384562579735769466:s27byrlaffu Harald On Wednesday, January 22, 2014 11:14:23 AM UTC+1, Stan Schymanski

[sage-support] Re: In sagemath have access from java?

2014-01-17 Thread Harald Schilly
running in the Sage environment, that Jepp interface might help http://jepp.sourceforge.net/ Jython doesn't help you, because most of Sage is a C-extension. Harald -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this gr

Re: [sage-support] Re: Sage+numpy -> complex numbers drop image part in calculations with numpy functions

2014-01-03 Thread Harald Schilly
thing which is Sage related, but I'm not sure if/how this can be fixed. I'll post this on sage-devel and hopefully somebody can make a comment ;-) Harald -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this

[sage-support] Re: Sage+numpy -> complex numbers drop image part in calculations with numpy functions

2014-01-02 Thread Harald Schilly
float64 type) which makes troubles with the part from sage (which is not of type "complex", but "sage.rings.complex_number.ComplexNumber") here is a more isolated example: import numpy as np 1j / np.float64(2) which gives 0. note: type(1j) Harald -- You received this m

[sage-support] Re: numpy.count_nonzero

2013-11-30 Thread Harald Schilly
An idea to throw in: >>> mm = matrix(ZZ, 2, 3, [1,0,2,0,0,0]) >>> mm.numpy() != 0 array([[ True, False, True], [False, False, False]], dtype=bool) >>> (mm.numpy() != 0).sum() 2 Harald -- You received this message because you are subscribed to the Google G

[sage-support] Re: Solving linear equation systems in GF(2)

2013-10-15 Thread Harald Schilly
e Field of size 2 Harald -- 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 to this group, send e

[sage-support] Re: Sagemath Cloud

2013-09-27 Thread Harald Schilly
On Friday, September 27, 2013 2:07:37 PM UTC+2, projetmbc wrote: > > Hello, > how can I share my project to other persons ? > In the "wrench" menu, you can add collaborators. They have equal rights and can also edit. Public projects or read-only collaborators are not yet implemented. H -- Y

[sage-support] Re: n-dimensional numerical integration

2013-07-01 Thread Harald Schilly
On Saturday, June 29, 2013 2:21:40 PM UTC+2, Martin Albrecht wrote: > > Hi all, > > do we have n-dimensional numerical integration in Sage? > I got recently a similar question. there is "nsum" in mpmath, which does that. http://mpmath.googlecode.com/svn/trunk/doc/build/calculus/sums_limits.

[sage-support] Re: Completely confused about simple Sage matrix operation error

2013-07-01 Thread Harald Schilly
On Monday, July 1, 2013 10:45:36 AM UTC+2, David Ingerman wrote: > > The following matrix operation produces wrong answer in online Sage: > > M=matrix(RR,[[7,3,10,13],[1,1,2,2],[1,2,3,4],[1,3,5,7]]);det(M);invM=M^(-1);invM*M;det(invM) RR stands for the "real numbers" with the usual 53bits of pr

[sage-support] Re: Solver doesn't find a solution for nonlinear problem

2013-05-23 Thread Harald Schilly
sted in a numerical approximation. http://www.sagemath.org/doc/reference/numerical/sage/numerical/optimize.html#sage.numerical.optimize.minimize and similar, there are even more solvers in numpy/scipy too. Harald -- You received this message because you are subscribed to the Google Groups &qu

[sage-support] Re: Google OpenID account problems for sagenb.org

2013-05-08 Thread Harald Schilly
On Wednesday, May 8, 2013 12:49:39 AM UTC+2, Robert Nendorf wrote: > > I've recently had issues trying to log in to Sage via sagenb.org Which URL did you use exactly? Maybe it's an issue of the OpenID/OAuth2 system, where the exact URL matters. Hence, please try www.sagenb.org or sagenb.og …

[sage-support] Sage part of Google's Summer of Code 2013

2013-04-08 Thread Harald Schilly
gsoc page: http://www.google-melange.com/gsoc/org/google/gsoc2013/sage ideas: http://goo.gl/l0CRl (check back for updates) Harald -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving email

[sage-support] Re: Sage on the Mac

2013-04-03 Thread Harald Schilly
I've removed the version information, since it is redundant from the file listing. also updated the readme. Harald On Tue, Apr 2, 2013 at 6:46 PM, Karl-Dieter Crisman wrote: > > > > On Tue, Apr 2, 2013 at 12:38 PM, Vinayak Vatsal wrote: >> >> Thanks

[sage-support] Re: RESOLVED: Re: "sage -b" fails following install of IBM ILOG CPLEX Optimization Studio V12.5

2013-02-14 Thread Harald Schilly
On Thursday, February 14, 2013 4:22:55 AM UTC+1, Dima Pasechnik wrote: > It might be good to add an extra link to source on > http://www.sagemath.org/download-[your system].html > All you see there at the top is > "Click here for other systems" > which is misleading if you need source. I'm

Re: [sage-support] Re: Sage versus Excel (spreadsheets in general): Are my arguments correct and complete?

2013-01-31 Thread Harald Schilly
On Thu, Jan 31, 2013 at 5:40 PM, LFS wrote: > The second makes the fonts rather small - i used dpi=50 dpi is the size of the raster for the bitmap, and the other size is the number of inches the image should be. fonts are rendered to fit into this, therefore they apparently change size! http://

Re: [sage-support] Re: Sage versus Excel (spreadsheets in general): Are my arguments correct and complete?

2013-01-31 Thread Harald Schilly
you save it, you can also define a dpi value: plt.savefig('Histogram.png', dpi=600) both give you all the flexibility you might want. Harald -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and sto

  1   2   3   4   >