Giter Site home page Giter Site logo

marcellomaugeri / garner-algorithm-python Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 22 KB

Python3 Garner's algorithm to solve diophantine equations system with coprime moduli

License: GNU General Public License v3.0

Python 100.00%
math mathematics solver equation-solver diophantine-solver diophantine criptography python3 script algorithm

garner-algorithm-python's Introduction

Garner-Algorithm-Python

Python3 Garner's algorithm to solve diophantine equations system with coprime moduli

License

Copyright © 2020 Marcello Maugeri [email protected] This software is distributed under GNU General Public License v3 https://www.gnu.org/licenses/gpl-3.0.txt

Requirements

  • Python 3 along with re and math

How to use

garner-algorithm-python's People

Contributors

marcellomaugeri avatar

Stargazers

 avatar

Watchers

 avatar

garner-algorithm-python's Issues

Misspell

Hello! There is a typo in line 44.
Instead

        for i in range(1, len(system)):
            h[i] = 1
            for j in range(0, i - 1):
                t = modInverse(system[j][1], system[i][1])
                h[i] = (t * h[i]) % system[i][1]

should be

        for i in range(1, len(system)):
            h[i] = 1
            for j in range(0, i):
                t = modInverse(system[j][1], system[i][1])
                h[i] = (t * h[i]) % system[i][1]

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.