Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
dbForge Studio for PostgreSQL 2.3.212
HTMLPad 2020 16.2
WeBuilder 2020 16.2
Rapid CSS 2020 16.2
Rapid PHP 2020 16.2
C# HTML to PDF 2020.8.1
Flowrigami 1.0.0.1
Vue Injector 3.3
Spectrum Analyzer pro Live 2019
Devart Excel Add-in for HubSpot 2.1
RentALLScript - Airbnb clone 2.2
SuiteCRM Theme Customization 7.11.6
iScripts NetMenus 3.1
iScripts EasyIndex 2.2
iScripts EasySnaps 2.0
Top Code
IcrediBB Bulletin Board System 1.0
Skincare Management System for Scripts 1.4
Sportsbook software by BOOKIE Software 3.01
Readability Analyzer 7.x-1.0-rc2
Betting system 6.x-1.x-dev
Online Betting Exchange & Open API. 1.0
Ninja Playland 1.1
Unix Time Stamp Calculator 1.0
Skincare Management System 1.4
Two Dimensional Random Walk 1.0
shopping mall management system 1.0
Taxi Booking Script 1.0.4
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Rapid CSS 2014 12.3
Top Rated
Uber Clone with Safety Measure Addons 2.0
Answers phpSoftPro 3.12
phpEnter 5.1.
Quick Maps For Dynamics CRM 3.1
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Apphitect Airbnb Clone Script 1.0
Deals and Discounts Website Script 1.0.2
Pro MLM 1
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
GCD of an arbitrary list 
File ID: 64528






GCD of an arbitrary list 
Download GCD of an arbitrary list http://code.activestate.com/recipes/577512-gcd-of-an-arbitrary-list/?in=lang-pythonReport Error Link
License: Freeware
Downloads: 32
Submit Rating:
GCD of an arbitrary list  Description
Description: Given an arbitrary list (of length >= 1) of positive integers, return the greatest common divisor (gcd) of the list.

License: Freeware

Related: arbitrary, common, divisor, gcd, greatest, List, schorn

O/S:Windows

Downloads: 32



More Similar Code

Do nested for loops on an arbitrary list of iterable things.



Generates the impulse response of an arbitrary forest of acoustically hard cylinders. Each tree scatters sound according to theory from Morse [1948]. Any number of trees of any radius may be placed at any position, limited only by memory and...



This submission is a set of m-files to demonstrate how to take a simple numerical derivative and Hessian of an arbitrary function. Each step in the code is documented. There is a test script included which computes the numerical Hessian of a test...



This zip file contains the demonstration model showing a 3-D mechanical model of an aileron actuated with a hydraulic actuator and with an electromechanical actuator. The parameters of the motor are tuned automatically to match measurement data,...



Caching Portions of an ASP.NET Page is a web based tutorial in which author demonstrates about the method involved in caching portion of ASP.NET page. Here author describes about web form users control and methods to add attributes to an output...



Creation of an area of classified access is a web based article in which author discusses about how to secure certain ASP pages, how the visitors can retrieve the secured pages in the absence of databases. This tutorial will be very useful for the...



Print a nicely formatted overview of an object, including _everything_ in the object's `dir'. This is great when programming interactively.

More comprehensive than help(), prettier than dir().



The program takes the columns of an input matrix and calculates the auto and cross correlation of these columns using an fft method. The result is very similar to the xcorr function. This method could be used to evaluate the cross correlation of...



Dynamic simulation of a star delta start of an asynchronous motor. The switching from star to delta is done manually with a switch in the model. Visible are stator current, speed, motor torque and load torque



This code determines the mean first passage time (MFPT) of an Ornstein-Uhlenbeck process from analytical solutions obtained from M.U. Thomas (1975), S. Sato (1977), and S. Sato & M. Ricciardi (1988) (all articles published in J. Appl....

User Review for GCD of an arbitrary list
- required fields
     

Please enter text on the image