Re: [sage-support] Re: Error building 7.5.1

2017-01-17 Thread Thierry Dumont
Le 17/01/2017 à 00:09, Volker Braun a écrit : > You can force a particular architecture with > > OPENBLAS_CONFIGURE="TARGET=PRESCOTT" make -p openblas > > Yes! it works, thanks. Otherwise there are solutions when the vitual machine is run by KVM/libvirt: 1) if you add in the

[sage-support] Plotting Cube Root

2017-01-17 Thread Tom Clark
My students had trouble with plotting cos(x^(1/3)) as a homework problem. What's happening is that x^(1/3) generates a primitive complex root so I explained that to them, then I found this work around: def oddroot(x,n): sgn(x)*(abs(x))^(1/n) This is work for any odd number n and will

Re: [sage-support] Plotting Cube Root

2017-01-17 Thread William Stein
On Tue, Jan 17, 2017 at 7:26 AM, Tom Clark wrote: > My students had trouble with plotting cos(x^(1/3)) as a homework problem. > What's happening is that x^(1/3) generates a primitive complex root so I > explained that to them, then I found this work around: > > def