[sage-support] Citing Sage properly in a paper

2022-09-04 Thread Georg Ehlers
" My question is: which component am I using? I am doing the following: x, y, z = var('x, y, z') factor(x^6+y^6) factor(x^6-y^6) expand((3*x^2+y^2)*(x^2+3*y^2)) and similar. Platform: macOS 12.5.1 SageMath version 9.4, Release Date: 2021-08-22 Thank you Georg -- You received

[sage-support] Re: factorize quadratic functions

2015-06-02 Thread georg
Thanks a lot, Simon! Georg On Wednesday, June 3, 2015 at 4:33:48 AM UTC+2, Simon King wrote: > > Hi Georg, > > On 2015-06-02, ggrafendorfer > > wrote: > > sage: g(x) = x^2 - 26*x -9 > > sage: g.factor() > > x^2 - 26*x - 9 > > First of all,

Re: [sage-support] Re: modul for educational purposes

2010-05-31 Thread Dr. Georg Damm
> > not import the commands automatically into Sage. > > +1 > > There should be a directory "edu" here: > > SAGE_ROOT/devel/sage/sage > > Right now, there isn't. What can i do to put e.g. a function "showsteps_det()" in the directory SAGE_RO

[sage-support] modul for educational purposes

2010-05-30 Thread Georg Damm
in a modul for educational purposes. Wolfram alpha does that e.g. for derivatives ("More steps"). What do you think about this? Georg -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googl

Re: [sage-support] Re: converting strings to latex

2010-05-07 Thread Georg Damm
rt LatexExpr > return LatexExpr(res) > > and when you call \sage{sarrus(A)}, you must put in between > dollar signs. Feel free to ask further if it doesn't solve your > problem ! Thanks, that is exactly what i was looking for. Georg > On 6 mai, 10:29, "Georg Dam

Re: [sage-support] Re: converting strings to latex

2010-05-06 Thread Georg Damm
doesn't work too, because the problem is that sagetex is putting the string in some kind of (typewriter-)enviroment. After some experimentation i found a possible solution is to replace "\cdot" with "$\cdot$". It doesn't look nice, but better than before. Georg &g

[sage-support] converting strings to latex

2010-05-05 Thread Dr. Georg Damm
Hi all, i've written a function to explain the rule of sarrus. Is there a possibility to return latex code insted of a text? I'd like to use something like $\sage{sarrus(A)}$ in sagetex. Thanks a lot, Georg P.S.: I expirimented with JSMathExpr from sage.misc.latex, but i couldn

Re: [sage-support] Re: sageplot and includegraphics<3->... SOLVED

2010-03-31 Thread Dr. Georg Damm
>> * Does \visible help? >No. I was wrong. Tried it again in a new tex-file and it solved my problem. Sorry for the noise. Georg -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroup

Re: [sage-support] Re: sageplot and includegraphics<3->...

2010-03-31 Thread Dr. Georg Damm
; * Does \visible help? No. \visible is ignored. > * Do you have any reason to insert png graphics? Vector graphics > would produce much better result. Thanks for the hint. (It' a relict of the 3d-plots in this chapter). [...] Georg -- To post to this group, send email to sage-support@goo

[sage-support] Re: sageplot and includegraphics<3->...

2010-03-31 Thread Dr. Georg Damm
Am Dienstag, 30. März 2010 19:09:32 schrieb Harald Schilly: > On Mar 30, 6:51 pm, "Dr. Georg Damm" wrote: > > is there a way to use beamer overlays ( includegraphics<3->... > > ) with sageplot? > > Hi, could you please elaborate a bit more what you try to

Re: [sage-support] Re: sageplot and includegraphics<3->...

2010-03-31 Thread Dr. Georg Damm
Am Dienstag, 30. März 2010 19:09:32 schrieb Harald Schilly: > On Mar 30, 6:51 pm, "Dr. Georg Damm" wrote: > > is there a way to use beamer overlays ( includegraphics<3->... > > ) with sageplot? > > Hi, could you please elaborate a bit more what you try to

[sage-support] sageplot and includegraphics<3->...

2010-03-30 Thread Dr. Georg Damm
Hi, is there a way to use beamer overlays ( includegraphics<3->... ) with sageplot? Georg -- 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

[sage-support] save-Method

2010-03-29 Thread Dr. Georg Damm
Hi! a sage (4.3.3) notebook shows the correct picture of plot(x^2-5,(x,0,5),ymin=0) The save method ignores the ymin parameter: plot(x^2-5,(x,0,5),ymin=0).save("/tmp/test.png") Is this a bug or a feature? Georg -- To post to this group, send email to sage-support@googlegro

Re: [sage-support] sagetex and stereographic plots

2010-03-14 Thread Dr. Georg Damm
images that look like static > > unless you cross your eyes just right? > > Sage (via Jmol) can do both. Right click on the applet for a > menu. You can then save the image via the "get image" (or > something like that) button. Yes, but i wondered if this could be

[sage-support] Re: import

2009-10-13 Thread georg grafendorfer
responding environment variable is then PYTHONPATH, Georg --~--~-~--~~~---~--~~ 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] Re: sage-python PYTHONPATH

2009-09-30 Thread georg grafendorfer
Thanks Burcin, Adding the path to SAGE_PATH works fine, that's the solution I was looking for, Georg On 30 Sep., 20:22, Burcin Erocal wrote: > Hi Georg, > > On Wed, 30 Sep 2009 11:07:11 -0700 (PDT) > > ggrafendorfer wrote: > > I would like to import my own

[sage-support] Re: Assigning

2008-12-22 Thread Georg Muntingh
Thanks a lot, both for the explanation and the solution! globals() did the trick for me. Georg. On Dec 22, 4:19 pm, "Mike Hansen" wrote: > On Mon, Dec 22, 2008 at 6:12 AM, Timothy Clemans > > wrote: > > > sage: sage0("var('a b c')") > > (

[sage-support] Assigning

2008-12-22 Thread Georg Muntingh
A quick question: If one is given a variable name as a string s, how can one assign a symbolic expression to it? Here is what I try that doesn't work: var('a b c') s = "a" eval(s + " = b/c") Traceback (most recent call last): ... a = b/c ^ SyntaxError: invalid syntax --~--~--

[sage-support] Re: time bug?

2008-11-04 Thread Georg
> That definitely looks like a bug in the preparser. Do report > it to trac. > > William Do you mean that I should report it to trac? If yes, no problem, I just never did it, no experience, what priority? what milestone? shall I ch

[sage-support] time bug?

2008-11-04 Thread Georg
time.sage File "/home/georg/.sage/temp/HILBERT/30804/ _home_georg_Daten_Sync_Software_Sage_Experimente_time_time_sage_6.py", line 7 __time__=misc.cputime(); __wall__=misc.walltime(); = RDF(time); print "Time: CPU %.2f s, Wall: %.2f

[sage-support] Re: datatype inconsistensity bug or feature?

2008-10-29 Thread Georg
the latter obviously can't be avoided since fixed precision reals do not form a field ... thanks, Georg --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more

[sage-support] Re: datatype inconsistensity bug or feature?

2008-10-29 Thread Georg
mpfr', so if I write for example 'sqrt(5. + RDF(5))' and 'sqrt(RDF(5) + 5.)', does sage rely on the correctnes of both implementations of sqrt (one from gsl, one from mpfr) to be comutative? thanks, Georg --~--~-~--~~~---~--~~ To pos

[sage-support] datatype inconsistensity bug or feature?

2008-10-29 Thread Georg
prec=53) * RDF(pi)) sage: type(5.n(prec=54) * RDF(pi)) especially the last one, should'nt that be coerced to a mpfr type of 53 Bit precision or is there a rule like coerce to the type with lower precision and if both are of same precision

[sage-support] Re: Project Euler

2008-10-26 Thread Georg
d if you want to stay in pure python do this: Python 2.4.4 (#2, Apr 15 2008, 23:43:20) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> for x in

[sage-support] Physics package

2008-10-06 Thread Georg M.
th kindest regards, Georg. -- Forwarded message -- Hi Georg ! Over the last few years, I have become used to the Physics Package of Maple which enables one to use bras, kets, annihilation operators and other objects for Physics. Is it possible to get equivalent definitions in Sage f

[sage-support] Re: is it possible to show() a variable with "it's name = " in front of it

2008-10-03 Thread Georg
ite return str(key) + '=' + str(args[key]) the following unfortunately does not work as one might expect at the very first sight: >>> def bshow(a): ... ashow(a=a) ... >>> bshow(c) a = 345.45 Georg --~--~-~--~~~---~--~~ To post to

[sage-support] sage download table

2008-08-22 Thread Georg
There is something wrong with the order and release dates of the last three releases of sage on http://sage.math.washington.edu/sage/src/ and of course on all it's mirrors. Georg --~--~-~--~~~---~--~~ To post to this group, send email to sage-su

[sage-support] error in const.pdf (sage constructions manual)

2008-06-28 Thread Georg
On page 3: There is the following line: If you type view(f.diff('x')) another window ... f.diff('x') does not work, it works if f is of type like in the example below, but it does not work if f is of type in this case just f.dif

[sage-support] Re: units

2008-06-02 Thread Georg Muntingh
This is interesting. I guess one way to represent numbers with units is as Laurent monomials with the number as coefficient and the units as symbols. This seems to fit in the framework for symbolic expressions. There will be various predefined relations between these monomials like 1000*m = 1*km.

[sage-support] Re: plot directional field differential equations

2008-06-01 Thread Georg Muntingh
You can use the plot_vector_field command: # Declare your variables: var('x t') # Define you function, for instance: def f(t,x): return t*x # Plot the associated vector field: plot_vector_field((lambda t, x: 1, f(t,x)), (-1, 1), (-2, 2)) There seems to be something awry, however, compare p

[sage-support] Re: Simple continued fractions in Pari

2008-04-30 Thread Georg Muntingh
Actually, I think this would be very nice to have. (Infinite) continued fractions pop up everywhere (I recently saw them in the resolution of toric singularities!). Moreover, they are so easy to understand that they also pop up in popular scientific math questions, like at Project Euler. So yes,

[sage-support] Re: Problems with Sage 2.11

2008-04-03 Thread Georg Muntingh
, 6:23 pm, Georg Muntingh <[EMAIL PROTECTED]> wrote: > > > > > I just installed Sage 2.11 on an old computer that I upgraded to > > Ubuntu Gutsy a couple of hours before. Any idea what's wrong? > > > [EMAIL PROTECTED]:

[sage-support] Re: feature request ...

2008-04-03 Thread Georg
k for 4x4 matrices, try sage: r = matrix(SR, 4, 4, [[21,17,6,8], [-5,-1,-6,-3], [4,4,16,2], [2,3,-4,-1]]) sage: r.exp() . Georg --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email t

[sage-support] Problems with Sage 2.11

2008-04-03 Thread Georg Muntingh
I just installed Sage 2.11 on an old computer that I upgraded to Ubuntu Gutsy a couple of hours before. Any idea what's wrong? [EMAIL PROTECTED]:~/Apps/sage-2.11-ubuntu32-intel-i686-Linux$ ./sage -- | SAGE Version 2.11, Release D

[sage-support] Re: feature request ...

2008-04-02 Thread Georg
rkaround, just x^T A y ..... . Georg --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sag

[sage-support] feature request ...

2008-04-02 Thread Georg
it's planned to implement this function anyway, thank you very much for considering my request, Georg --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For mo

[sage-support] Re: Why does one work and not the other?

2008-02-15 Thread Georg
= srange(-100, 300, 10) sage: y = [cos(a) for a in x] sage: p.plot(x, y, 'go') sage: p.savefig('plot.png') instead of the last two lines you can also use sage's plotting functions and objects, Georg --~--~-~--~~~---~--~~ To post to this group

[sage-support] Re: Bug in compiled functions

2008-02-11 Thread Georg
ike for i in s.srange(Integer(1), k): Is this a desired behaviour of srange?? Btw, i would appreciate a .exp() method for matrixes... Thank you very much, Georg --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe fr

[sage-support] Bug in compiled functions

2008-02-11 Thread Georg
matmulspyx(C) [0.0 0.0] [0.0 0.0] sage: matmulspyx(D) [0.000 0.000] [0.000 0.000] Must be a bug, or? thanks, Georg --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubsc

[sage-support] Re: Another problem with function save..

2008-02-07 Thread Georg
quot;save(M, 'foo') <__main__.BMV instance at 0xb246b92c> --- Traceback (most recent call last) /home/georg/.sage/temp/HILBERT/17008/ _home_georg_Daten_Sync_Software_Experimente_sage_save_savebmv_sage_0.py in () 4 print M 5 > 6 save

[sage-support] Another problem with function save..

2008-02-06 Thread Georg
#x27;) M = BMV() M.write() yields: sage: load "example.sage" --- Traceback (most recent call last) /home/georg/.sage/temp/HILBERT/7199/ _home_georg_Daten_Sync_Software_Experimente_sage_save_example_sage_43.py in () 10 11 M =

[sage-support] Re: Newbie Question

2008-02-05 Thread Georg
Another drawback is as far as I experienced that from a normal script you can't load and compile files with a .spyx ending (tutorial section 5.2 "creating compiled code") by inserting the line load "file.spyx" into your script I hope this helps a bit,... Georg --~--~---

[sage-support] Re: 0^0 in sage-2.10.1 still undefined for Rationals...

2008-02-05 Thread Georg
ep in mind that the limit value of a function at a certain point is completly independent of the function value of this function at this point, there even does not have to exist a function value at all at this certain point, these notions (limit value and function value) at a certain point are compl

[sage-support] 0^0 in sage-2.10.1 still undefined for Rationals...

2008-02-04 Thread Georg
Hi, sage: Rational(0)^Rational(0) --- Traceback (most recent call last) /home/georg/ in () /home/georg/rational.pyx in sage.rings.rational.Rational.__pow__() : 0^0 is undefined. should not be, or? Georg

[sage-support] Bug in function save...

2008-02-04 Thread Georg
- Traceback (most recent call last) /home/georg/ in () /home/georg/sage_object.pyx in sage.structure.sage_object.save() : 'list' object has no attribute 'save' sage: save(5, './foo/foo') sage: b = load('foo/foo') sage: b 5 Looks like a bug

[sage-support] feature request/proposal concerning the method nearby_rational

2008-01-31 Thread Georg
round, at least not for the most obvious one (taking the square root of x and using .nearby_rational with adjusted tolerance...), may this method could be useful for others, too Thanks, Georg --~--~-~--~~~---~--~~ To post to this group, send email to sage-su

[sage-support] Re: find smallest integer to meet certain inequalities...

2008-01-21 Thread Georg
Oh yeah, that's a usefull hint, thank you very much Paul, Georg --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at

[sage-support] Re: find smallest integer to meet certain inequalities...

2008-01-21 Thread Georg
factorial(k) <=1 or, more generally (b, c, d positive constants, c > d) b^k / (factorial(k) * (k + c - d)^d) <= 1 many thanks in advance, Georg --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from th

[sage-support] find smallest integer to meet certain inequalities...

2008-01-21 Thread Georg
Hi, is there an efficient way in sage to find the smallest integer k to meet (b constant) b^(k+1) / (factorial(k) * factorial(k+1)) <= 1 and b^k / factorial(k) <=1 or, more generally (b, c, d positive constants, c > d) b^k / (factorial(k) * (k + c - d)^d) <= 1 many thanks in ad

[sage-support] Re: Problems with standalone python/sage scripts

2008-01-19 Thread Georg
t;#!/usr/bin/env sage" i expect 2^8 to be wrapped to 2**8, or? typing "/usr/bin/env sage" on the shell command line brings me to the sage prompt whereas "/usr/bin/env sage-python" brings me to the python promp, so in OS X both commands bring you to the same prompt? Georg

[sage-support] Re: Problems with standalone python/sage scripts

2008-01-18 Thread Georg Grafendorfer
Michael, OK, i'm already a bit confused, and i don't know any more what your requesting exactly, so i will repeat some things: The file with the name ./example.sage #!/home/georg/Daten/.System/bin/sage/sage -python import sys gives me that strange mouse behaviour where the mouse point

[sage-support] Re: exponentiation bug?

2008-01-18 Thread Georg Grafendorfer
OK, thanks, so sage-python just refers to the "sage-version" of python instead of the systems own python version and nothing else !? Georg --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this g

[sage-support] Re: Problems with standalone python/sage scripts

2008-01-18 Thread Georg Grafendorfer
#!/path/to/sage_root/local/bin/sage -python gives bash: ./exp1.sage: /home/georg/Daten/.System/bin/sage/local/bin/sage: bad interpreter: Datei oder Verzeichnis nicht gefunden Datei oder Verzeichnis nicht gefunden = file or directory not found, i.e the same behauviour as without the "loca

[sage-support] Re: Problems with standalone python/sage scripts

2008-01-18 Thread Georg Grafendorfer
Hi Robert, excuse me for the response delay, i did not notice your question, Does > > #!/path/to/sage_root/local/bin/sage-python > > work? no, the output is in both cases (sage -python as well as sage-python): bash: ./exp1.sage: /home/georg/Daten/.System/bin/sage/local/bin: bad

[sage-support] exponentiation bug?

2008-01-18 Thread Georg
oblem that "#!/usr/bin/env sage -python" as first line (note the space between sage and -python) does not work on my system (Debian Etch)... thanks, Georg --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubsc

[sage-support] Re: Problems with standalone python/sage scripts

2008-01-16 Thread Georg Grafendorfer
bin/sage-python works, i mentioned this in my previous posting, and #!/path/to/sage_root/sage-python does not work, but maybe that's not important, Georg --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe

[sage-support] Re: Problems with standalone python/sage scripts

2008-01-15 Thread Georg Grafendorfer
Hopefully this helps, although I have a feeling this thread isn't > over... Anyway, at least i found a partial solution to carry on with, but it seems as there are still some things to clarify, especially the mouse thing concerning the import sys Thank you very much, Georg --~--~-

[sage-support] Problems with standalone python/sage scripts

2008-01-15 Thread Georg
(left or right) brings back the shell command line prompt, no output at all, and the mouse pointer turns to normal again... runnin the script: #!/path/to/sage/sage -python a = "Hello" outputs ./BMV.sage: line 2: a: command not found the script from the tutorial, literally: #!/

[sage-support] Re: kernel function documentation is misleading

2007-12-30 Thread Georg Graf
rrent documentation i did'nt know that in Australia clocks are ticking the other way around :-) i would like to encourage you to the solution with right and left, just kernel defaulting to right as everyone (except australians) would expect. tha

[sage-support] Re: cannot start notebook

2007-12-03 Thread georg
> Hi Georg, > > thanks for your interest in SAGE. If you want, you can help SAGE > become part of Debian here: > > http://wiki.sagemath.org/DebianSAGE > > it's a lot of work and we always need more people. :) > > Ondrej Hi Ondrej, I'm definitely prepared

[sage-support] Re: cannot start notebook

2007-12-02 Thread georg
no, there was no ssh-keygen installed, after installation (on Debian Etch ssh-keygen is provided by the package ssh-client) it works perfectly now without options, just notebook(), this should be annotated in the installation manual in the list of required packages, and the possibility notebook(s

[sage-support] Re: cannot start notebook

2007-12-02 Thread georg
Thank you very much, for the time being i'm happy with this solutions, no untrusted people around :-) by the way, i first tried the precompiled binary 2.8.13 which did not work: spacemaster:/mnt/data/georg/.System/bin/sage-2.8.13-i686-Linux# .

[sage-support] Re: cannot start notebook

2007-12-02 Thread georg
Thanks for your quick respond, and yes, both works, firefox opens a new tab with a notebook which seems to work, i have to get used to it first... --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this grou

[sage-support] cannot start notebook

2007-12-02 Thread georg
d notebook, you must first run notebook.setup(). Now running notebook.setup() Using dsage certificates. -- Generating public/private key pair for authentication... Your key will be stored in /home/georg/.sage/dsage/dsage_key Just hit enter when promp