Re: [sage-support] Re: [sage 7.4] Error building OpenBlas

2017-02-03 Thread João Alberto Ferreira
Yes, thank you! This is what I made. On Friday, February 3, 2017 at 8:52:30 AM UTC+1, Dima Pasechnik wrote: > > You can always create a symbolic link in /usr/local/bin/ to some other > location. > > sudo ln -sf /blah/foo/sage /usr/local/bin/sage > > after building sage in /blah/foo/ > > -- You

Re: [sage-support] Re: [sage 7.4] Error building OpenBlas

2017-02-02 Thread João Alberto Ferreira
53:43 PM UTC-8, João Alberto Ferreira > wrote: >> >> Well, I read somewhere about this procedure of moving the directory >> before starting sage, but the Installation Manual seems to tell the same >> thing. >> >> "The directory where you built Sage is *

Re: [sage-support] Re: [sage 7.4] Error building OpenBlas

2017-02-02 Thread João Alberto Ferreira
age/sage /usr/bin/sage > > > > Le 02/02/2017 à 20:43, João Alberto Ferreira a écrit : > > Hi! > > I just removed "/home/mmsim/tools/lib/64bit" from the LD_LIBRARY_PATH > environment variable and sage compiled. > > I compiled it in my home directory and mov

[sage-support] Re: [sage 7.4] Error building OpenBlas

2017-02-02 Thread João Alberto Ferreira
nk you! On Thursday, February 2, 2017 at 12:14:51 PM UTC+1, Dima Pasechnik wrote: > > > > On Thursday, February 2, 2017 at 10:36:41 AM UTC, João Alberto Ferreira > wrote: >> >> >> >> On Wednesday, February 1, 2017 at 7:24:56 PM UTC+1, Dima Pasechnik wrote: &

[sage-support] Re: [sage 7.4] Error building OpenBlas

2017-02-02 Thread João Alberto Ferreira
On Wednesday, February 1, 2017 at 7:24:56 PM UTC+1, Dima Pasechnik wrote: > > > > On Wednesday, February 1, 2017 at 6:00:25 PM UTC, João Alberto Ferreira > wrote: >> >> Well, not yet. >> >> openblas has compiled successfully. The problem now is with R. The

[sage-support] Re: [sage 7.4] Error building OpenBlas

2017-02-01 Thread João Alberto Ferreira
.x86_64 On Wednesday, February 1, 2017 at 5:56:44 PM UTC+1, João Alberto Ferreira wrote: > > Thank you! > > I've done: > > [defrancaferr_joa@javel ~]$ sudo yum install centos-release-scl > [defrancaferr_joa@javel ~]$ sudo yum install devtoolset-3-toolchain > [defranca

[sage-support] Re: [sage 7.4] Error building OpenBlas

2017-02-01 Thread João Alberto Ferreira
t's see if it will work. On Wednesday, February 1, 2017 at 5:27:36 PM UTC+1, Dima Pasechnik wrote: > > > > On Wednesday, February 1, 2017 at 3:52:05 PM UTC, João Alberto Ferreira > wrote: >> >> Hi! >> >> Here it is the command output. >> >>

[sage-support] Re: [sage 7.4] Error building OpenBlas

2017-02-01 Thread João Alberto Ferreira
o old to understand the whole range of > assembler commands for your CPU. > > > On Wednesday, February 1, 2017 at 10:09:27 AM UTC, João Alberto Ferreira > wrote: >> >> Hi! >> >> I have tried to compile sagemath under a CentOS 6.8 machine, as the >> bi

[sage-support] [symbolic] return the argument of a sinusoidal function

2017-01-25 Thread João Alberto Ferreira
Hi! Does any one knows a function or a way to return the argument of a sinusoidal function? I have the following code and wanted to operate on the argument of the cosinus function. # upchirp carrier var('t, phi_0, omega_0, omega_1, T') k = (omega_1 - omega_0)/T; k # linear chirp signal (wavefor

[sage-support] Sagetex plots

2016-04-18 Thread João Alberto Ferreira
I am trying sagetex in cloud.sagemath.com. Sagetex manual says at the top of page 7, that if nothing is specified for the , "width=.75\textwidth" will be used. It's a good thing, so the plots do not extrapolate page margins. However, it's not working, and we should pass explicit the above comma

[sage-support] Re: Piecewise function

2016-02-12 Thread João Alberto Ferreira
On Thursday, February 11, 2016 at 9:04:16 PM UTC-2, Nils Bruin wrote: > > On Thursday, February 11, 2016 at 11:32:45 AM UTC-8, João Alberto Ferreira > wrote: >> >> 1) Isn't there a way to pass to the Piecewise function if the intervals >> are open or clos

[sage-support] Piecewise function

2016-02-11 Thread João Alberto Ferreira
I have a function g(x) equal to x^2 if x >= 5, and equal to 2*x if x < 5. I constructed the piecewise function as follows: g1(x) = x**2 g2(x) = 2*x g = Piecewise([[(-Infinity,5),g2],[(5,Infinity),g1]]) When I evaluate f(5), it returns 35/2 because it evaluates g1(5), g2(5) and returns the avera

Re: [sage-support] sage 6.2 to 6.4 upgrade

2014-11-25 Thread João Alberto Ferreira
docbuild reference html > > for the html version (more info here: > http://www.sagemath.org/doc/developer/sage_manuals.html). > > If you don't care about the documentation you can just leave it as it is. > > Vince > > On Tue Nov 25 2014 at 10:19:00 PM João Alberto

[sage-support] sage 6.2 to 6.4 upgrade

2014-11-25 Thread João Alberto Ferreira
After upgrading Sage on an old laptop, the upgrade process ended with the following error message. What am I supposed to do? I execute make doc-clean and then what? Apparently, Sage is working normally. Thanks! João. ... [graphs ] reading sources... [ 91%] sage/graphs/schnyder [graphs ]

[sage-support] Re: re (regular expressions) Python module

2014-10-31 Thread João Alberto Ferreira
Ok, thank you! On Saturday, November 1, 2014 12:03:33 AM UTC-2, Nils Bruin wrote: > > On Friday, October 31, 2014 6:17:44 PM UTC-7, João Alberto Ferreira wrote: >> >> joao@Hades:~$ sage >> ┌┐ >> │

[sage-support] Re: How to install wxPython in Sage?

2014-10-31 Thread João Alberto Ferreira
alled a lot of packages (in Ubuntu 14.04), like libgtk2.0-0, libgtk2.0-dev, libgtk-3-0, libgtk-3-dev. I will try to ask the wxPython people. Thanks for the help! On Thursday, October 30, 2014 12:05:21 AM UTC-2, Nils Bruin wrote: > > On Wednesday, October 29, 2014 5:09:55 PM UTC-7, João Albert

[sage-support] How to install wxPython in Sage?

2014-10-29 Thread João Alberto Ferreira
How can I install wxPython (wx module) in Sage? I tried: joao@Hades:~$ sage --python -m easy_install wxPython Searching for wxPython Reading https://pypi.python.org/simple/wxPython/ Reading http://wxPython.org/ Reading http://wxPython.org/download.php Best match: wxPython src-3.0.1.1 Downloading h

[sage-support] Re: Strange error

2014-10-24 Thread João Alberto Ferreira
Understood. Thank you! On Friday, October 24, 2014 2:45:46 PM UTC-2, Nils Bruin wrote: > > On Thursday, October 23, 2014 11:46:02 AM UTC-7, João Alberto Ferreira > wrote: >> >> I am running the following Python example from the book "Learning >> Python",

Re: [sage-support] Re: Strange error

2014-10-23 Thread João Alberto Ferreira
that mathematical objects in Sage don't define >> addition >> > by implementing __add__ and __radd__ by hand. If you want to learn >> about >> > them make sure to not add Sage objects (like Sage integers). E.g. >> int(1) + y >> > would work. &g

Re: [sage-support] Inconsistency between Sage and Python

2014-10-06 Thread João Alberto Ferreira
Ok, I had to make a huge effort to accept this, but it's more clear now. One last question: Why RDF does not incorporate this feature? because it comes from the GSL library, that is an independent project? or because its precision is known a priori, like the float type in Python? On Monday, Oc

Re: [sage-support] Inconsistency between Sage and Python

2014-10-06 Thread João Alberto Ferreira
Yes, I know Vincent, thank you, but this would complicate my code unnecessarily. I used Samuel idea. But I still think that the extra trailing zeros have no reason to exist. On Monday, October 6, 2014 1:08:23 PM UTC-3, vdelecroix wrote: > > Hi João, > > If you want precise control on the outpu

[sage-support] Re: Inconsistency between Sage and Python

2014-10-06 Thread João Alberto Ferreira
Thank you, Samuel. The conversion to RDF worked because it coerces the other types to RDF (I think). If I convert the multiplier values to RR, RLF or float, the conversion does not help anymore. On Monday, October 6, 2014 1:30:03 PM UTC-3, slelievre wrote: > > > João Alberto Ferre

Re: [sage-support] Re: Real floor division

2014-10-04 Thread João Alberto Ferreira
OK! thank you! On Saturday, October 4, 2014 3:50:07 AM UTC-3, Jeroen Demeyer wrote: > > On 2014-10-04 00:16, Volker Braun wrote: > > The operands will coerce to RR > No, that's http://trac.sagemath.org/ticket/2034 > > > I'd say its an oversight. > Yes, but it's fixed in http://trac.sagemath.or

[sage-support] Re: Strange behavior when trying to get help from command line

2013-04-28 Thread João Alberto Ferreira
Complementing, in the notebook interface, help(sqrt) and help(diff) shows the help for the functions in a new tab, but help(exp), help(cos) and help(sin) opens a new tab, but shows only the name of the function, not the help. On Sunday, April 28, 2013 5:57:54 PM UTC-3, João Alberto Ferreira

Re: [sage-support] Re: "who" command - Sage Beginner's Guide example

2013-04-25 Thread João Alberto Ferreira
Thank you for the reply! I took note and I will use the show_identifiers() function whenever necessary, as the it seems more useful than the "who" command. João Alberto Ferreira. On Wednesday, April 24, 2013 10:36:45 PM UTC-3, William wrote: > > Hi, > > I've never h

[sage-support] Re: "who" command - Sage Beginner's Guide example

2013-04-24 Thread João Alberto Ferreira
a variable but doesn't add a new one. > > > > On Tuesday, April 23, 2013 10:34:15 PM UTC+1, João Alberto Ferreira wrote: >> >> Hi! >> >> I was executing the examples of the Sage Beginner's Guide book when I >> found a curious behavior in Sage. &

[sage-support] "who" command - Sage Beginner's Guide example

2013-04-24 Thread João Alberto Ferreira
this a bug or I missed something? Cordially, João Alberto Ferreira. - ~$ uname -a Linux Hades 3.2.0-40-generic #64-Ubuntu SMP Mon Mar 25 21:22:26 UTC 2013 i686 athlon i386 GNU/Linux sage: version() 'Sage Version 5.8, Release Date: 2013-03-15' -- You received this message because