Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

extended euclidean python

def extendEuclidean(a, b, s1=1, s2=0, t1=0, t2=1):
    
    if b:
        r=a%b
        return extendEuclidean(b, r, s2, s1-s2*(a//b), t2, t1-t2*(a//b))
    
    return a, s1, t1
Comment

PREVIOUS NEXT
Code Example
Python :: pytorch summary model 
Python :: tensorflow check gpu 
Python :: python simple server 
Python :: select rows which have nan values python 
Python :: for every file in the folder do python 
Python :: track phone number location using python 
Python :: axis number size matplotlib 
Python :: python reimport module after change 
Python :: how to fillna in all columns with their mean values 
Python :: how to sort by length python 
Python :: how to print hello world 10 times in python 
Python :: python removing from string 
Python :: save request response json to file python 
Python :: how calculate time in python 
Python :: python save seaborn plot 
Python :: how to select all but last columns in python 
Python :: How to config your flask for gmail 
Python :: install pytorch 
Python :: choice random word in python from a text file 
Python :: Drop Rows by Index in dataframe 
Python :: how to put a text file into a list python 
Python :: pip install numpy 
Python :: get date and time in python 
Python :: how copy and create same conda environment 
Python :: django model plural 
Python :: python get majority of list 
Python :: array of random integers python 
Python :: python check if is pandas dataframe 
Python :: python count words in file 
Python :: seaborn rotate xlabels 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =