[sage-support] Re: Piecewise function

2016-02-11 Thread Nils Bruin
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 closed at its borders, so as, in the example above, g(x) could > be evaluated to 25 instead of 35/2? > It doesn't seem to b

[sage-support] Compiling Source Code

2016-02-11 Thread C ANIL Reddy
I have written a new function in source code.I need help in compiling this new source files Thank you Chilupuri Anil -- 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 emai

[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] make error

2016-02-11 Thread Jan Groenewald
Hi On 9 February 2016 at 22:10, Alex wrote: > Hi, > I've tried to compilate sage but it doesn't work. Here is the message in > the shell : > make build/make/Makefile > make[1]: Entering directory '/usr/local/share/sage-7.0' > rm -f config.log > mkdir -p logs/pkgs > ln -s logs/pkgs/config.log con

Re: [sage-support] make error

2016-02-11 Thread Dima Pasechnik
On Thursday, February 11, 2016 at 7:16:41 AM UTC, Jeroen Demeyer wrote: > > On 2016-02-09 21:10, Alex wrote: > > ./configure: line 1890: config.log: Permission denied > > Well, there is obviously a permission problem... Did you try to build > Sage as 2 different users? What does ls -l give in