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 =
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
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
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
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
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),
>
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
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
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
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
10 matches
Mail list logo