Code Monkey home page Code Monkey logo

comp-ec's Introduction

(Updated Jul 9, 2024)

Let's get to the point. I want to be a mathematician. I love problem solving. See my website for more info.

I can do basic math. I'm studying intermediate math. I can do upper-intermediate programming.

Most people reading this text would already know what I can and what I cannot do. I feel like I should talk less, so here it is.

๐Ÿ“ซ Contact: [email protected]

comp-ec's People

Contributors

plumsirawit avatar

Watchers

 avatar

comp-ec's Issues

[BUG] Some irreducible polynomials give strange behavior

In

base_poly = Polynomial([gf(3), gf(4), gf(4), gf(1)], gf)

the base polynomial

$$x^3+4x^2+4x+3 \in \mathbb{F}_5[x]$$

is irreducible of degree $3$, however, claiming that

$$\mathbb{F}_{5^3} \cong \mathbb{F}_5[x]/(x^3+4x^2+4x+3),$$

for each $a \in \mathbb{F}_{5^3}$, $a^{5^3-1}$ should have been equal to $1$. It is not true in this case. (I don't know why)

Try editing the final lines of the file debug_extfield.py to see the computation in action.

Note that the problem doesn't exist when the base polynomial is replaced by

$$x^3+2x^2+x+3 \in \mathbb{F}_5[x]$$

as in

# base_poly = Polynomial([gf(3), gf(1), gf(2), gf(1)], gf)

(To activate this behavior, uncomment line 9 and comment line 8 to see)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.