Re: [sage-support] Newbie question on Mac

2020-02-03 Thread Dima Pasechnik
On Tue, Feb 4, 2020 at 12:34 AM Fernando Gouvea wrote: > > I typically use Windows, but today I was trying to install Sage on the Mac in > one of my classrooms. It turns out to be running OSX 10.13.6, and the only > binaries I could find were version 8.7. I managed to download and install > tho

[sage-support] Newbie question on Mac

2020-02-03 Thread Fernando Gouvea
I typically use Windows, but today I was trying to install Sage on the Mac in one of my classrooms. It turns out to be running OSX 10.13.6, and the only binaries I could find were version 8.7. I managed to download and install those. It runs in a terminal window. The instructions say to type notebo

Re: [sage-support] Re: hyperplane arrangements raises error on regions

2020-02-03 Thread Dima Pasechnik
On Mon, Feb 3, 2020 at 2:49 PM Murad Tukan wrote: > > This actually works fine. Why when running with 2 digit floating points, the > code doesn't run? Is there any way to make it work with floats?? it's not documented properly, but looking at the source (e.g. by doing VoronoiDiagram??) tells you

[sage-support] Re: hyperplane arrangements raises error on regions

2020-02-03 Thread Murad Tukan
This actually works fine. Why when running with 2 digit floating points, the code doesn't run? Is there any way to make it work with floats?? On Monday, 3 February 2020 16:15:57 UTC+2, Matthias Koeppe wrote: > > Try if it works if you use rationals (-48/100) instead of floats (-0.48). > > On Mond

[sage-support] Re: hyperplane arrangements raises error on regions

2020-02-03 Thread Matthias Koeppe
Try if it works if you use rationals (-48/100) instead of floats (-0.48). On Monday, February 3, 2020 at 8:48:34 AM UTC-5, Murad Tukan wrote: > > Dear all, > > Computer info: > CPU: i7-6500U @ 2.50GHZ > Memory: 16.0GB > > Sage information: SageMath 9.0 (Windows, installed using the .exe file), >

[sage-support] hyperplane arrangements raises error on regions

2020-02-03 Thread Murad Tukan
Dear all, Computer info: CPU: i7-6500U @ 2.50GHZ Memory: 16.0GB Sage information: SageMath 9.0 (Windows, installed using the .exe file), and even on Linux version. Platforms ran at: SageMath 9.0 Shell, SageMath 9.0 Notebook, From Python script (and then running the command sage -python "scri

Re: [sage-support] Output in characteristic 2

2020-02-03 Thread SUSANTA SAMANTA
Thanks a lot Vincent. It also works. On Mon, 3 Feb, 2020, 1:46 PM Vincent Delecroix, <20100.delecr...@gmail.com> wrote: > The command > > sage: P. = GF(2)[] > > is *not* declaring variables x0, x1, etc to be elements in GF(2) > but rather *assigns* x0, x1, etc to be generators of a poynomial > al

Re: [sage-support] Re: Output in characteristic 2

2020-02-03 Thread SUSANTA SAMANTA
Thanks a lot Simon. All solved now. On Mon, 3 Feb, 2020, 1:54 PM Simon King, wrote: > Hi Samanta, > > On 2020-02-03, Samanta wrote: > > I have defined the input variables in characteristic 2. > > No, you haven't, see below. > > > But when I assign a > > particular value to the input, output giv

[sage-support] Re: Output in characteristic 2

2020-02-03 Thread Simon King
Hi Samanta, On 2020-02-03, Samanta wrote: > I have defined the input variables in characteristic 2. No, you haven't, see below. > But when I assign a > particular value to the input, output gives the result in simple algebra > not in characteristic 2. Here is my code: > sage: P. = GF(2)[] H

Re: [sage-support] Output in characteristic 2

2020-02-03 Thread Vincent Delecroix
The command sage: P. = GF(2)[] is *not* declaring variables x0, x1, etc to be elements in GF(2) but rather *assigns* x0, x1, etc to be generators of a poynomial algebra. sage: P. = GF(2)[] sage: (x0 * x1 + x3 + 1)^2 x0^2*x1^2 + x3^2 + 1 If you want to use elements of GF(2) simply do sage: K =