[sage-support] Re: power series and strings for p-adics

2019-08-15 Thread Dominique Laurain
Hello Fernando, I want just to say that I liked a lot your book "Introduction to p-adic numbers" when I bought and read it some years ago. A very good fun "travel" in number theory. I appreciate the way it process by extending fields. I tried to code something in Sage too (Hensel Lemma) but I

[sage-support] Re: solving equations with parameters

2018-08-14 Thread Dominique Laurain
Hi Simon. You surely know better than me :-) There are many ways for getting help over the internet. Kind regards. Dominique. -- 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

[sage-support] Re: solving equations with parameters

2018-08-13 Thread Dominique Laurain
One line answer : a,b,x,y = var('a,b,x,y') ; solve([ x + y == a, x - 2*y == b ],x,y,dontsolve='a,b') First statement is to declare symbolic vars a,b,x,y and second statement is for solving in symbolics x,y Dominique PS : use asksagemath.org -- You received this message because you are

[sage-support] Re: Animate the car

2017-11-27 Thread Dominique Laurain
I forgot at the beginning of the cell: c1 = 'black' ls = ':' -- 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] Re: Animate the car

2017-11-27 Thread Dominique Laurain
Directory "videos_images" must be created beforehand using the sagemath cloud GUI, inside the directory with your .sagews worksheet. To remove all files, in the ./videos_images you can run next cell...but be careful, removing files !!! Dominique # RUN THIS CELL WITH CARE BECAUSE REMOVING

[sage-support] Re: Animate the car

2017-11-27 Thread Dominique Laurain
Hello, animate() functon is not working anymore in sagemath cloud. Nowadays, to make a "video" you can store a sequence a picture files (.png) and run ffmpeg, like in the following cell, I made for displaying Lindgren's Q-swing of a rectangle. Most important are the last two commented lines :

[sage-support] Re: INSTALLATION SAGE

2017-08-26 Thread Dominique Laurain
About Dima : tar nowadays doesn't need explicit compression type parameters, > "tar xf" would work for any gz-complessed or bz2-compressed file... The old-fashioned way (explicit option or tar command) on Unix/Linux operating system is : tar xzvf filearchive.tgz (for gzip-ped tar archive

[sage-support] Re: How solve simple log equation?

2017-07-17 Thread Dominique Laurain
@Chris : sometimes we will get the career we have not expected at all ... -) Just watched last sunday one video interview with Simon (famous math, philantropic, NY city market and so on .. millionnaire businessman) as guest : he had never predicted that his math work at young age will be

[sage-support] Re: How solve simple log equation?

2017-07-16 Thread Dominique Laurain
Why not adding "x" ? (and of cause declaring x in the same way than y and C) Because var("x y C") solve( log(y) == C + log(x) + log(y-1),x,y) returns ([x == y/(y*e^C - e^C)], [1]) Dominique -- You received this message because you are subscribed to the Google Groups "sage-support" group.

[sage-support] Re: Transforming a complex function f:C->C into a function g:R^2->R^2

2017-05-01 Thread Dominique Laurain
OK Robert : I misunderstood. I cannot help either Dominique -- 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] Re: Transforming a complex function f:C->C into a function g:R^2->R^2

2017-05-01 Thread Dominique Laurain
Hello Robert, I wonder why you want to use the "abs()" function, when the "absolute value" function has no meaning for complex numbers. How you define the 'greater than' (>) operator in complex numbers ? It is hazardous to mix symbolic computing (var, sqrt,..language) and field

[sage-support] Re: https: // localhost: 8000 .

2017-03-29 Thread Dominique Laurain
Well I will help you a little (I was writing a flaming answer but I cancelled). I write again your post in french language, obvious mistakes removed : " Bonjour tout le monde. J'ai installé un hyperviseur de machines virtuelles sur mon ordinateur personnel, téléchargé la machine virtuelle

[sage-support] Re: note exactly a question ! (sorry if it's not the place)

2017-03-08 Thread Dominique Laurain
+1 agree with William : I am living in very populated town in France (not Paris) and use daily SMC over the Internet ... and I have a very good speed (no laps)!! I must add that I am a paying member in SMC cloud, so... I am actually working with a web browser internet client of a not so

[sage-support] Re: crash report

2017-03-05 Thread Dominique Laurain
Hello doctor (gorgon?) zola, ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory message is enough for you to understand that path to your dynamic library is wrong or you have not the lib gfortran installed Dominique -- You received this message

[sage-support] Re: Impossible to launch sage after downloading the .tar.bz

2017-03-04 Thread Dominique Laurain
I see only .tar.bz2 files here : http://www-ftp.lip6.fr/pub/math/sagemath/linux/32bit/index.html and here : http://www-ftp.lip6.fr/pub/math/sagemath/linux/64bit/index.html When running sage, you start two "sage" scripts in your Linux shell environment. I advice you to begin with debugging these

[sage-support] Re: Can sage's palp decompress these polytopes?

2017-02-08 Thread Dominique Laurain
Thanks Andrey for your report about this package. -- 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

[sage-support] Re: Can sage's palp decompress these polytopes?

2017-02-06 Thread Dominique Laurain
Summmary of work done for sagemath ... http://rpm.pbone.net/index.php3/stat/4/idpl/34786687/dir/fedora_other/com/sagemath-data-polytopes_db-7.3-6.fc25.noarch.rpm.html (maybe more recent updates?) I guess pcpa and Jerry James have done great job decompressing databases, and coding Python

[sage-support] Re: Can sage's palp decompress these polytopes?

2017-02-06 Thread Dominique Laurain
Hello, It seems that following code in SMC worksheet cell from sage.geometry.polyhedron.palp_database import PALPreader #db = PALPreader(dim=1) # returns ValueError: Cannot find PALP database: /projects/sage/sage-7.5/local/share/reflexive_polytopes/Full1d/zzdb.info db = PALPreader(dim=2) #

[sage-support] Re: How make Sage eliminate identical terms on both sides of an algebra equation? (simplify not doing it

2016-11-29 Thread Dominique Laurain
Hello Chis, I gave up full_simplify() a long time ago ... and now I use my own "trick" to simplify symbolic equations : using factor(). For example, checking identities : x,y = var('x,y'); f1(x,y) = (x + y)^2 ; f2(x,y) = x^2 + 2*x*y + y^2 ; diff = (f1 - f2 + 1).factor(); print "diff =

[sage-support] Re: How Do I do this with Sets

2016-11-20 Thread Dominique Laurain
> > How do I get a solution similar to the one for flushes? > > I guess you don't hope for the exact same solution, for exercice "hand of four" than for "flush" :-) If your question "How do I get" means "How I can code " and is related to the probability to get hand of four (end of

[sage-support] Re: Plotting 3D polyhedra does not work

2016-10-29 Thread Dominique Laurain
> > > Working for me, just now for cell in worksheet sagemath cloud : I can see the solid (blue color) for the first plot P.projection().render_solid_3d Dominique -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this

[sage-support] Re: Minimum Diameter Spanning Subgraph

2016-08-15 Thread Dominique Laurain
+1 with Dima I cannot help if you don't write the message error and if you have not given points16-txt file content. After copying your code in sageworksheet cell and running cell, I have only the error IOError: [Errno 2] No such file or directory: 'points-16.txt' Post too your computer

[sage-support] Re: Help writing code for 3D vector plots

2016-07-16 Thread Dominique Laurain
What I know for sure is : you better had posted your support issue on the "new" google goup, sage-cell. And because that's annoying (at least for me) : - don't use "SAGE" word (it's acronym name of a company not related to sagemath), - replace "SAGE online" with "sagemath cloud" (with same

[sage-support] Re: How to get a vector from a result ?

2016-06-17 Thread Dominique Laurain
Hello, You have an answer there : http://stackoverflow.com/questions/14084317/python-mutable-vectors-are-unhashable-error Next in my trying code in sagemath cloud (worksheet cell) Dominique OP_2 = MatrixSpace(CDF,2,2) sigma_x = OP_2([0,1,1,0]) sigma_y = OP_2([0,i,-i,0]) sigma_z =

[sage-support] Re: Animated Trajectory from a .csv file

2016-06-12 Thread Dominique Laurain
Hello, Start with that demo example given here http://combinat.sagemath.org/doc/reference/plotting/sage/plot/animate.html sines = [plot(c*sin(x), (-2*pi,2*pi), color=Color(c,0,0), ymin=-1,ymax=1) for c in sxrange(0,1,.2)] a = animate(sines) a.show() I believe you are not so far add some

[sage-support] Re: How to write array in sage?

2016-06-12 Thread Dominique Laurain
Hello, Your question is "basic" but confusing about the result you want from your code. "Binary digits" (=bits) are stored everywhere in code data : characters, integers, floating and so on. My advice : use numpy (and learn more and more about it). Read this first :

[sage-support] Re: Weber point

2016-04-07 Thread Dominique Laurain
Trying just now in sagemath cloud worksheet %auto r.library('orloca') and it seems no package orlorca (or depth) > Error in lines 1-1 > Traceback (most recent call last): > File > "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/smc_sagews/sage_server.py", > line 904, in

[sage-support] Re: Weber point

2016-04-07 Thread Dominique Laurain
Thanks Karl-Dieter. I never tried R ... but you tease me to use it :-) Just now : sagemath cloud is on "database maintenance" (instability for some time) and I cannot try easily check your code. My interest for the median-center is because I am working on geometrical 2D code. I already coded

[sage-support] Re: Weber point

2016-04-05 Thread Dominique Laurain
I asked myself the same question, some months ago. If you get a NO from the sage devel, then you can try code here : https://gist.github.com/endolith/2837160 https://gist.github.com/endolith/2837160 The Weber point has other names : https://en.wikipedia.org/wiki/Geometric_median Dominique --

[sage-support] Approximating real roots of cubic equation

2016-02-06 Thread Dominique Laurain
Hello, I opened a ticket Wrong approximate real roots of cubic equation and matrix eigenvalues #412 because frustrating me too much :-) (joking) Is it ok or am i math foolish ? Maybe there are two tickets in one : one for Maxima (behind the scene solver) and one for Sage (converting

[sage-support] Re: SageTeX and Sage Cloud Error

2016-01-27 Thread Dominique Laurain
Hi Ron, It's difficult for me to assume the result you guessed, without a full complete example of tex file displaying the error (try to shorten your tex file and post it, next time). I tried next tex content in new file in cloud project without any issue or error from the pdf previewer...

[sage-support] Re: problem of permission

2015-12-04 Thread Dominique Laurain
And ...from my own practice...change Linux rights for /home/m as root logged in the NFS server computer if /home/m is "not local" filesystem (check result of "mount")... Check first if you have one directory "ephemere created, in the same terminal window and Linux account as your make command

[sage-support] Re: server connection failed

2015-10-24 Thread Dominique Laurain
Hello Adrien, Before sending a support request in panic mode, you should first edit your post in a text fileand correct it, thinking about what readers will understand. Because you should first explain what you were trying to do, and then giving information about how you failed. If you

[sage-support] Re: legend options **kwds

2015-10-24 Thread Dominique Laurain
Whole cell : O = plot(x,(x,0,1),legend_label='$xyz$') #legend_opts = { 'back_color': 'salmon', 'shadow': False,'fancybox': 'True','fontsize': '6','loc': '1','borderaxespad': '1'}; legend_opts = { 'back_color': 'salmon' , 'shadow': False, 'fancybox': 'True', 'fontsize': '6','borderaxespad' : 1,

[sage-support] Re: legend options **kwds

2015-10-24 Thread Dominique Laurain
Unquote the borderaxespad dict value like this : legend_opts = { 'back_color': 'salmon' , 'shadow': False, 'fancybox': 'True', 'fontsize': '6','borderaxespad' : 1, 'loc': '1'}; otherwise (checked on cell worksheet in the SAGE cloud) Error in lines 5-5Traceback (most recent call last):

[sage-support] Re: legend options **kwds

2015-10-24 Thread Dominique Laurain
is "tuts" a nickname for "tutorials" ? -- 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

[sage-support] Re: Planar graph drawing

2015-10-19 Thread Dominique Laurain
Hello Nathann, Thanks again.. Yesterday evening I made a pause about my sagemath worries...and read (again) one math paper...including Schnyder woods, and once again authors are requiring that the graph is "maximum planar" (or "triangulated") and, as you have discovered, my example is not

[sage-support] Re: Planar graph drawing

2015-10-19 Thread Dominique Laurain
"Change the doc" yes, I am suggesting that for the planar layout; if the input graph is not maximal planar and you can add a simple function checking that one graph is maximal planar (simple to code : loop on each couple of vertices, and add edge made of this couple, if adding make graph not

[sage-support] Re: Planar graph drawing

2015-10-19 Thread Dominique Laurain
Boost provides a make_maximal_planar function ... and this function can be parametrized by a addEdgeVisitor http://www.boost.org/doc/libs/1_36_0/libs/graph/doc/make_maximal_planar.html -- You received this message because you are subscribed to the Google Groups "sage-support" group. To

[sage-support] Re: Planar graph drawing

2015-10-19 Thread Dominique Laurain
@fidelbc : I didn't know that condition about m = 3n - 6 ... but now I found it (from Euler formula) for example https://en.wikipedia.org/wiki/F%C3%A1ry%27s_theorem For drawing a planar and not maximal planar graph, a "straight" edge drawing would satisfy me In some papers (for example :

[sage-support] Planar graph drawing

2015-10-18 Thread Dominique Laurain
Hello (maybe, I should have written Hell Nathann :-) ), I want to plot a planar graph and I know (from graph theory) that the graph can be plotted in various ways. I have in mind one algorithm to draw planar graphs, removing one cycle and forking to draw planar sub-graphs either

[sage-support] Re: Planar graph drawing

2015-10-18 Thread Dominique Laurain
Graph_1.is_planar(set_embedding=True) Graph_1.get_embedding() returns True{'A': ['E', 'I', 'D'], 'C': ['G', 'E'], 'B': ['D', 'F'], 'E': ['C', 'G', 'I', 'A'], 'D': ['A', 'I', 'F', 'B'], 'G': ['F', 'I', 'E', 'C'], 'F': ['B', 'D', 'I', 'G'], 'I': ['A', 'E', 'G', 'F', 'D']} Triangle : BDF is

[sage-support] Re: Wrongansweronaninequality

2015-10-18 Thread Dominique Laurain
Yes, 0 must be removed of roots sets. when you ask for support, please post all content of sage cell, like this : solve([(4*x+5)/(x^2)>=4/(x+5)],x) There are many posts like yours (for quadratic equations ...) but the current status is wrong (or no result) computations for "special" symbolic

[sage-support] Re: Planar graph drawing

2015-10-18 Thread Dominique Laurain
Thanks Nathann I just read quickly your answer. I know that internally vertices are coded as integer numbers and I don't expect about special behavior with labelling. My main disappointment is not to get my dream plot using planar layout or string layout (for string, often I get plot like in

[sage-support] Re: Planar graph drawing

2015-10-18 Thread Dominique Laurain
Yes, I say that.. ...and one point to notice : maybe my graph has not the condition in addition, each face of the layout, including the outer face, is assumed to be a triangle given in https://www.ics.uci.edu/~eppstein/gina/schnyder/ because when you see the planar plot, or the result of

[sage-support] Re: Planar graph drawing

2015-10-18 Thread Dominique Laurain
Public worksheet to show difference embedding vs plot : https://cloud.sagemath.com/projects/6429970e-5a78-4aee-a6b1-af1e80542481/files/Planar%20plot.sagews -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and

[sage-support] Re: Planar graph drawing

2015-10-18 Thread Dominique Laurain
Sorry, maybe "clockwise" doesn't mean anything with two neighbours Mea culpa Dominique. -- 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] Re: integral() bug report

2015-10-17 Thread Dominique Laurain
I don't understand your call for numerical integration because I chose one example at : http://doc.sagemath.org/html/en/reference/calculus/sage/gsl/integration.html and both twp examples work at sagemathcell numerical_integral(cos(x)/(1+sin(x)), -pi/6, pi/6) # (1.0986122886681096,

[sage-support] Re: 6.9rc3 : Ipython notebook seems seriously out of whack.

2015-10-17 Thread Dominique Laurain
HG's last post translated (as accurate as I can :-)) ... I I found the following hint : when that file is store in $HOME directory, then mathjax can be launched. It looks like the path to subdirectory is not well handledand i don't know how to fix it. Dominique, for english language

[sage-support] Re: 6.9rc3 : Ipython notebook seems seriously out of whack.

2015-10-17 Thread Dominique Laurain
HG's last post translated (as accurate as I can :-)) ... I I found the following hint : when that file is located in $HOME directory, then mathjax can be launched. It looks like the path to subdirectory is not well handledand i don't know how to fix it. Dominique, for english language

[sage-support] Re: integral() bug report

2015-10-17 Thread Dominique Laurain
+1 for the weird behaviour of symbolic integration...I computed it quicky without comp as integral -f'/f where f(x) = 1+sin x, whose solution seems to be a log f function, and since f equals 0 only f for x = -pi/2 + 2k pi (when sinx = -1), I don't know from which movie is "divergent" coming

[sage-support] Re: introduction and help for math calculation online

2015-10-06 Thread Dominique Laurain
Hello Adrian, You have too many requests in your post. There are many ways using SAGE mathematical software : 1) using the "old" website www.sagemath.org website : it was a website with internet browser access and you needed only to be a registered user to use it. Nowadays "SAGE cloud" has

[sage-support] Re: Plotting a q analogue function as a challenge?

2015-08-17 Thread Dominique Laurain
OK .. what you want is : from mpmath import * plot(lambda q: qgamma(mpf(0.5),mpf(q)), (0, .99)) print sqrt(pi) Bonus (my notation Fq is gammaq function and F is gamma function) : from https://en.wikipedia.org/wiki/Q-gamma_function : lim Fq(x) q-1 = F(x) from

[sage-support] Re: Plotting a q analogue function as a challenge?

2015-08-16 Thread Dominique Laurain
Explaining better what you want, and you get better help... ..now I understand what you are trying to plot (in 2D, for one specific value of q) 1) Restart worksheet 2) Copy in cell from mpmath import * plot(lambda x: qgamma(mpf(x),mpf(0.5)), (0, .99)) 3) Run it = you get your plot Extra :

[sage-support] Re: Plotting a q analogue function as a challenge?

2015-08-15 Thread Dominique Laurain
Trying in the cloud : 1) Code given http://trac.sagemath.org/ticket/19032 var('q,x') from mpmath import qgamma plot3d(lambda q,x: qgamma(q,x), (q, 0.5, 3), (x, 2, 10)) = working fine, using plot3d 2) Your code given previously var('q,x') from mpmath import qgamma plot3d(lambda x:

[sage-support] Re: Running jmol from the command line on mac os

2015-08-12 Thread Dominique Laurain
+ 1 with Volker you can set other different variables too (JAVA_HOME,...) : http://conjugateprior.org/2014/12/r-java8-osx/ it's usually explained on web sites (Oracle?) or README ... about how to download and install, the last JRE You can start with a : which java at command level (shell

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

2015-08-10 Thread Dominique Laurain
Hello Peng, I have the same **bad** behaviour with results changing, in my worksheet cell, after running and restarting the project ad libitum. When coercing to RR def mypsi(z): return psi(RR(z) i have other random values too. I can't track down code, because python code includes 1/

[sage-support] Re: Problems with sagecell repository

2015-08-10 Thread Dominique Laurain
Hello Davi and Tiago, I am very happy you succeed... :-) ... and closed the google thread (some helped postmen forget simetimes) So, you are teachers or working for school in Brazil,...,maybe you can post to William Stein or somewhere in sagecell website,.a quick review about all your work.

[sage-support] Re: Problems with sagecell repository

2015-08-09 Thread Dominique Laurain
Hello Davi, Do you want short helping story or long helping story ? Shortly : - /dev/log is a UNIX domain socket (read : https://en.wikipedia.org/wiki/Unix_domain_socket) - UNIX domain socket is used for inter-process within the same machine - syslogd, client or server, commonly used /dev/log

[sage-support] Re: Problems with sagecell repository

2015-08-08 Thread Dominique Laurain
I just tried... 1. Using internet browser, go to : https://github.com/sagemath/sagecell 2. Click : Download ZIP and sagecell-master.zip was downloaded ..., if you cannot download, please explain exactly what you did (commands or steps), in order people can help you better (with no lost time

[sage-support] Re: Is horner available in sage?

2015-07-28 Thread Dominique Laurain
Not so much time needed to google sagemath Horner in order to get an answer... # http://doc.sagemath.org/html/en/reference/calculus/sage/calculus/wester.html R = PolynomialRing(QQ,5,names='a') S.x = PolynomialRing(R) p = S(list(R.gens()))*x print p = ,p.substitute(a0=17,a1=3,a2=4,a3=6,a4=8)

[sage-support] Re: integrating a matrix

2015-07-16 Thread Dominique Laurain
+ 1 with fidelcc maybe I will add SR (Symbolic Ring) after matrix( reference for integrating : http://tutorial.math.lamar.edu/Classes/DE/LA_Matrix.aspx or you can try writing some tricky code, writing a symbolic matrix using linear decomposition like that : M = x^0 M0 + x^1 M1 +... and the

[sage-support] Re: bug: adding a number to matrix

2015-07-12 Thread Dominique Laurain
When working with nxn matrix, writing a scalar (= a number if you name numbers matrix elements) like 'a' is the same than writing 'aI' where I is identity matrix with 1 in diagonal and 0 for other elements) or writing the diagonal matrix with a in diagonal and 0 for other elements) addition M

[sage-support] Re: VirtualBox

2015-06-13 Thread Dominique Laurain
Did you : - Check file size after downloading ? - Download file again ? - Try another mirror (website you downloaded from) ? - http://spin.atomicobject.com/2013/06/03/ovf-virtual-machine/ Use tool to convert it to ova ? I know *.ova *file (see : http://ftp.iitm.ac.in/sage/win/ ) but i dont

[sage-support] Re: VirtualBox

2015-06-13 Thread Dominique Laurain
Check too : 1. enough disk space 2; enough memory ...because some archive softwares use a lot (for example: Linux/Unix operating system use /tmp) -- 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: Induction method

2015-06-12 Thread Dominique Laurain
Thanks Ralf...yes much better Adding first line... n = var('n') assume(n,'integer') #solve(n^2-3,n) #solve(n^2 + 2*n + 1,n) solve((n-1)*(n^2+1),n) ..and I have very happy to get only integer roots. But dreamingly, I would like SAGE display (at least) error deprecated (more precisely not

[sage-support] Re: Induction method

2015-06-12 Thread Dominique Laurain
Precisely I cannot explain it...because using software is not same coding software ..people , not me, are coding SAGE (and other modules included into it) Usually : assume() is Python call for assuming something, and if not true..then software stops But here, it's a constraint...it's a

[sage-support] Re: Induction method

2015-06-09 Thread Dominique Laurain
Try again... Like n-3, 2^n+4. is NOT a problem One mathematical example of problem is : Compute integer sum S = 1+2+3+4+5 For some SYMBOLIC problems for example Given n natural (n is symbolic = can have any integer positive value), compute

[sage-support] Re: Question mark failed on Sage toplevel

2015-06-09 Thread Dominique Laurain
You're welcome Francois Bienvenue Francois. Maybe you can complete the thread...no worry... Volker or William will fix that later ...:-) -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails

[sage-support] Re: Induction method

2015-06-09 Thread Dominique Laurain
Read.. http://en.wikipedia.org/wiki/Mathematical_induction Variants Induction basis other than 0 or 1 1. Showing that the statement holds when *n* = *b*. 2. Showing that if the statement holds for *n* = *m* ≥ *b* then the same statement also holds for *n* = *m* + 1 and filling the

[sage-support] Re: plotting derivative of a function object has no attribute _set_extra_kwds

2015-06-08 Thread Dominique Laurain
Hello Chris; Thank you... you understood me :-) Sometimes I want to remind what is written on the main sage-support... *Guidelines*: 1. only one question per post | 2. descriptive subject title | 3. also describe the desired result and the context of the problem. *Include*: Platform (CPU)

[sage-support] Re: Question mark failed on Sage toplevel

2015-06-08 Thread Dominique Laurain
Bonsoir Francois, Je ne peux rien dire de certain pour une version sagemath installé en local (car je n'ai rien sur mon PC)...mais sur le cloud de SAGE cela fonctionne. URL site web : https://cloud.sagemath.com Dans un projet ouvrir un terminal puis exécuter les commandes en fin de ce post Le

[sage-support] Re: plotting derivative of a function object has no attribute _set_extra_kwds

2015-06-07 Thread Dominique Laurain
Hello Chris, Be nice: 1. post a full short example...delta is not defined 2. worksheet in SAGE cloud ? worksheet of your own computer, sagemath local install ? Dominique -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this

[sage-support] Re: Decompressing sage version

2015-06-07 Thread Dominique Laurain
A console is HMI for UNIX or linux computer ... long time ago, the console was software handling what you type at keyboard and displaying on a screen the result. Nowadays computers handle many users and there are more than one window displayed on physical screen : software handling requests

[sage-support] Re: Sage 5.9

2015-06-01 Thread Dominique Laurain
Bonsoir Ines, Nous n'avons pas la même traduction de ce qu'a indiqué Franco. Lire son avant-dernier post: Yes, the server is now back up and running. Make backups of all your files. No official decision has been made yet, but *this server will almost certainly be retired soon* (with

[sage-support] Re: Sage 5.9

2015-05-30 Thread Dominique Laurain
to my face ... Just now (saturday morning 9 am France), my math reference website http://mathworld.wolfram.com.webstatsdomain.org/ is down ... and now I am zombie-walking ..until some Leo would be nice to replace URL translation in the DNS, to a website sorry for inconvenience, ..., comp

[sage-support] Re: Sage 5.9

2015-05-30 Thread Dominique Laurain
Bravo Ines... :-) A good lesson for you and others. Yes William, I used strong words because I wanted a quick move ... The idea was to adress many careless users of the new (2.x) technology : with clouds, users seem have access to unstoppable, powerful (and free for some time,.. ) tools.

[sage-support] Re: Sage 5.9

2015-05-28 Thread Dominique Laurain
Ouf, Merci..a vous pour avoir compris qu'il faut etre rapide... et surtout et a Franco. Attendons un peu avant de crier victoire En tout cas, l'informaticien que je suis, va vous rappeler les bases : FAITES DES SAUVEGARDES VOUS-MEME ET REGULIEREMENT Les fichiers SAGE sont en gros des

[sage-support] Re: Sage 5.9

2015-05-27 Thread Dominique Laurain
Hello, I think you have to phone QUICKLY to many people at Licam To get information about computer management (as I posted before). And if you have the opportunity, visit them in Montreal. At least you will know other student using that comp too. If you don't...you will know lately that

[sage-support] Re: Sage 5.9

2015-05-25 Thread Dominique Laurain
Bonjour Ines, j'ai de la famille a Montreal et une belle-soeur a l'UQAM je crois ..mais cela ne va pas t'aider donc ... comme l'a dit Vincent, il faut que tu contactes ceux qui gèrent le serveur, et si tu ne les connait pas, ceux qui t'ont donné les accès. Le site

[sage-support] Re: Sage 5.9

2015-05-23 Thread Dominique Laurain
Bonjour Ines, Precisez SVP l'adresse du site internet que vous utilisez ? Est-ce que c'est bien : https://cloud.sagemath.com/ ? Si oui, il se peut que votre souci, soit simplement une erreur de configuration de votre PC, ou des équipements réseau proche de là où vous êtes (Tunis ?) En

[sage-support] Re: random_matrix -- should returned matrix contain zeros?

2015-05-17 Thread Dominique Laurain
+1 it looks like parameter density is useful to control how sparse is the matrix (density of zero elements) at least, we can use density parameter with value greater than 1...to get (maybe :-) ) matrix with no zero random_matrix(ZZ, 5, 5, distribution=uniform,density=1.5) print

[sage-support] Re: Sage find_root error

2015-05-03 Thread Dominique Laurain
I bet I know why : we can trick mathematical sofware in various ways,...,but why should we ? find_root is numerical function to get approximate real root of function in intervalwhen we know ( theorically) the root exists !! the function can be implemented in various ways, and for example,

[sage-support] Re: Sage find_root error

2015-05-03 Thread Dominique Laurain
What can be done ? It depends of what you are looking for. : why you have to solve x tan x = 0 ? A human will handle factorization and get the answer : x = 0 or tan x = 0...and you can continue yourself wthout computer, no ? -- You received this message because you are subscribed to the

[sage-support] Re: Symbolic equivalence

2015-04-17 Thread Dominique Laurain
Solving symbolic equation, like this ... f,m,a=var(f m a) res = solve([f == m*a],m) m = res[0].right(); print m -- 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

[sage-support] Re: Combine multiple Worksheets in Sage Notebook

2015-01-22 Thread Dominique Laurain
Hallo Tobias, I had the same issue...and I chose to load OR to preparse my included files. In main worksheet, first cell contains: # Load modules #%hide import sys sys.path.append('./modules') import DrawingConstants as dc # Import SAGE modules (sage and not python, because file must be

[sage-support] Re: How to close a plot.

2015-01-22 Thread Dominique Laurain
Maybe my answer is off-topic... If you want an animation which is basically a display of different plots, why not doing like in W.Stein youtube video : https://www.youtube.com/watch?v=lhirRHCW1q0 Just stop near 0:30 and you can read code : a function computing a plot and saving it to a png

[sage-support] Re: Find real root

2015-01-09 Thread Dominique Laurain
Or, if you question is more sage than math question... ...using sympy from the SAGE-wiki help and website http://byumcl.bitbucket.org/bootcamp2013/labs/sympy.html : example with no x symbolic and another one with symbolic x import sympy as sym from sympy import Symbol x = sympy.Symbol(x) y =

[sage-support] Re: Solve Quadratic Programming in Sage

2015-01-05 Thread Dominique Laurain
Hello guy, Your question looks like a modeling math problem, ...and is not related to SAGE. I wouln't try to solve quadratic problem using linear solvers : LP means Linear Programming for definition of LP, read http://www.sagemath.org/doc/reference/numerical/sage/numerical/mip.html more

[sage-support] Re: How to handle file in Sage

2014-10-19 Thread Dominique Laurain
Try relative path in load argument: try A1 = load(./Desktop/abc.txt) with a dot just fefore first slash PS : I don't use load() but import or preparse in my SAGE cells, for Python souce -- You received this message because you are subscribed to the Google Groups sage-support group. To

[sage-support] Re: ggplot(mtcars, aes('factor(cyl)')) does not work

2014-10-13 Thread Dominique Laurain
Hello, I have not the ggplot package installed in my SAGE cloud projects (as given by SAGE cloud wiki,needs network access or upload package)...but... Can you try with %python at first line in cell ? The idea is to disable the SAGE cloud pre-parser (in short about it : overloading of some

[sage-support] Re: Grey scale network graph colorings

2014-09-25 Thread Dominique Laurain
Naive reply : why not use imread and imwrite MATLAB func,for the graph image file ? ( I didn't try) http://www.mathworks.com/help/matlab/ref/imwrite.html example : Write a 50-by-50 array, A, of grayscale values to a PGN file Dominique -- You received this message because you are

[sage-support] Re: Drawing edge colorings

2014-09-24 Thread Dominique Laurain
sorry ..: cell (not shell) -- 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] Re: Where to find the MCQD package?

2014-08-16 Thread Dominique Laurain
I am not convinced by content of file /usr/local/sage/sage-6.3.beta6/src/sage/graphs/mcqd.pxd ...but I am *newbie* in python and cython and interface between languages . mcqd.pxd is not part of the patch package (trac), but from the cloud Dominique. -- You received this message because you

[sage-support] Re: Where to find the MCQD package?

2014-08-16 Thread Dominique Laurain
I forget to mention... 1/ my answer is about SAGE cloud 2/ I am not convinced because I cannot read definition of exported function mcqd Dominique -- 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: Where to find the MCQD package?

2014-08-16 Thread Dominique Laurain
Whar is not working...in sage worksheet cell : g = graphs.PetersenGraph() g.clique_number(algorithm=mcqd) Dominique -- 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

[sage-support] Re: os.getcwd() in sage

2014-08-02 Thread Dominique Laurain
Not directly related to your question...but for others...how to modify path and how to load python file Alternative answer to question given in the SAGE cloud wiki-FAQ https://github.com/sagemath/cloud/wiki/FAQ *Question: I would like that all of my worksheets know where to find a given

[sage-support] Re: Download a file.txt

2014-08-02 Thread Dominique Laurain
+1 : not working for me too...file content is displayed in my web browser (not downloaded) URL displayed in my browser (Firefox 12.0) is : https://cloud.sagemath.com/myproject/raw/mydirectory/myfile where myproject is my project mydirectory is folder I created under my project

[sage-support] Re: Derivatives of a Function?

2014-07-27 Thread Dominique Laurain
Hello Chris, seems there are two pitfalls : one when not specifying ivar parameters for desolve function call or using formal function f in the argument equation. You can try code like thisShorter code is valid too when expanding directly eq parameter (as done in SAGE help examples).. #

[sage-support] Re: Possible bug in is_locally_represented_number in the quadratic forms package

2014-07-03 Thread Dominique Laurain
8 minutes (19:20) Good question Edna.!!...:-) I had the same question many months ago, when I was entertained by the 15-theorem and one Bhargava's paper. I have not skipped the subject forever... just interested now about geometry. You can be sure I would be very interested to know a

  1   2   >