Algorithme de multiplication d'entiers

Les algorithmes de multiplication permettent de calculer le résultat d'une multiplication.

Graphiquement, il s'agit de transformer un rectangle multiplicateur × multiplicande en une ligne, en conservant le nombre d'éléments.

Multiplication basée sur le nombre 2

Ce type de multiplication n'utilise que des additions et des multiplications ou des divisions par 2. Elle ne nécessite pas de connaître de table de multiplication (autre que la multiplication par 2).

Multiplication basée sur la notation décimale

Ce type de multiplication utilise la décomposition décimale des nombres et nécessite de multiplier chaque chiffre du premier nombre par chaque chiffre du second. Elle nécessite de connaître les tables de multiplications d'un chiffre par un autre. Cependant, plusieurs types de disposition ont été adoptés au cours des temps.

Multiplication rapide

Les méthodes décrites dans les pages précédentes nécessitent pour la plupart de multiplier chaque chiffre du multiplicateur par chaque chiffre du multiplicande. Si ces deux nombres ont chiffres, cela exige produits : on dit que le calcul a une complexité en temps quadratique, ou en .

L'apparition des ordinateurs a permis et exigé la mise au point d'algorithmes plus rapides pour les grands nombres, les premiers trouvés ayant une complexité en temps de la forme , où a est un réel positif strictement inférieur à 1. Arnold Schönhage et Volker Strassen ont conjecturé en 1971 que le produit de deux entiers a une complexité en , c'est-à-dire qu'il existe un algorithme ayant cette complexité en temps, et qu'aucun n'en a de meilleure[1],[2]. La meilleure complexité actuelle est depuis 2019 en mais n'est pas utilisable en pratique car elle n'est atteinte que pour des nombres extrêmement grands, supérieurs à dans la publication d'origine[1],[2]. Aucun algorithme présentant une meilleure complexité que celle conjecturée n'a été trouvé et la conjecture de Schönhage et Strassen est toujours supposée valide en 2019[1]. Tous les algorithmes ci-dessous ont été mis au point après 1960.

  • Algorithme de Karatsuba : complexité en soit approximativement en  ; conçu en 1962[3], c'est le premier algorithme ayant une complexité sub-quadratique[1];
  • Algorithme Toom-Cook ou "Toom3" : complexité en soit approximativement en  ;
  • Algorithme de Schönhage-Strassen, méthode utilisant la transformation de Fourier rapide : complexité en , conçu en 1971[1];
  • Algorithme de Fürer : complexité en , où désigne le logarithme itéré et un nombre strictement supérieur à 1[1], conçu en 2007;
  • Algorithme de Harvey et van der Hoeven : en mars 2019, David Harvey et Joris van der Hoeven annoncent un algorithme de multiplication en [4],[5]. L'algorithme est publié dans les Annals of Mathematics en 2021[6],[1]. Schönhage et Strassen ont prédit que n log(n) est le meilleur résultat possible, et Harvey en conclut : « ...notre travail devrait être la fin de la route pour ce problème, bien que nous ne sachions pas encore comment le prouver rigoureusement[7]. »

La plupart des processeurs récents implémentent les multiplications sous forme de circuits électroniques, mais qui ne gèrent que des entiers de taille limitée. On appelle de tels circuits des multiplieurs.

Autres multiplications

Notes et références

  1. a b c d e f et g (en) David Harvey et Joris Van Der Hoeven, « Integer multiplication in time O(n log n) », HAL,‎ (lire en ligne).
  2. a et b Céline Deluzarche, « Oubliez vos tables de multiplication : voici une nouvelle méthode bien plus efficace », sur Futura Sciences, .
  3. A. Karatsuba and Yu. Ofman, « Multiplication of Many-Digital Numbers by Automatic Computers », Doklady Akademii Nauk, vol. 145,‎ , p. 293–294
    traduit en anglais dans le journal Doklady Physics (en), 7 (1963), pp. 595–596
  4. Kevin Hartnett, « Mathematicians Discover the Perfect Way to Multiply », Quanta Magazine,‎ (lire en ligne, consulté le ).
  5. Kheira Bettayeb, « La multiplication réinventée », sur CNRS, (consulté le ).
  6. David Harvey et Joris van der Hoeven, « Integer multiplication in time  », Annals of Mathematics Second series, vol. 193, no 2,‎ , p. 563-617 (DOI 10.4007/annals.2021 .193.2.4, MR 4224716).
  7. Lachlan Gilbert, « Maths whiz solves 48-year-old multiplication problem », UNSW,‎ (lire en ligne, consulté le )

Voir aussi

Read other articles:

Aravis Sebuah Nexter Aravis dipamerkan dengan dudukan senapan mesin di atasnya Jenis Kendaraan mobilitas infanteri Negara asal Prancis Sejarah pemakaian Digunakan oleh Prancis Pada perang Perang di AfghanistanPercobaan kudeta Gabon tahun 2019 Sejarah produksi Produsen Nexter Diproduksi 2009-sekarang Spesifikasi Berat 125 t (138 ton pendek) Panjang 6 m (20 ft) Lebar 25 m (82 ft) Tinggi 25 m (82 ft) Awak 2-6 Senjatautama Stasiun senjata jarak jauh …

Association football club in England Football clubBasildon UnitedFull nameBasildon United Football ClubNickname(s)The BeesFounded1955 (as Armada Sports)GroundThe Hive, Gardiners Close, BasildonCapacity2,000 (400 seated)[1]ChairmanDave MaxwellManagerChris TaylorLeagueIsthmian League North Division2023–24Isthmian League North Division, 9th of 19WebsiteClub website Home colours Away colours Basildon United Football Club is a football club based in Basildon, Essex. They are currently membe…

American baseball player Baseball player Russ MormanFirst basemanBorn: (1962-04-28) April 28, 1962 (age 62)Independence, Missouri, U.S.Batted: RightThrew: RightMLB debutAugust 3, 1986, for the Chicago White SoxLast MLB appearanceSeptember 27, 1997, for the Florida MarlinsMLB statisticsBatting average.249Home runs10Runs batted in43 Teams Chicago White Sox (1986, 1988–1989) Kansas City Royals (1990–1991) Florida Marlins (1994–1997) Russell Lee Morman (born …

Tapak Suci Putera MuhammadiyahTipeOrganisasi Pencak SilatKantor pusatpasar baru, Yogyakarta, IndonesiaKetua UmumMuhammad Afnan Hadikusumo Para santri PPTQM Pakan Sinayan, Kabupaten Agam, Sumatera Barat sedang berlatih Tapak Suci Tapak Suci Putera Muhammadiyah, atau disingkat Tapak Suci, adalah sebuah aliran, perguruan, dan organisasi pencak silat yang merupakan anggota Ikatan Pencak Silat Indonesia (IPSI). Tapak Suci termasuk dalam 10 perguruan historis IPSI, yaitu perguruan yang menunjang tumbu…

Strike Fighter Squadron 15VFA-15 insigniaFoundedJanuary 10, 1942; 82 years ago (1942-01-10)Disbanded31 May 2017; 6 years ago (2017-05-31)Allegiance United StatesBranch United States NavyTypeFighter/AttackRoleClose air supportAir interdictionAerial reconnaissanceNickname(s)ValionsMotto(s)None FinerEngagementsVietnam WarGulf WarIraq WarMultinational Force in LebanonAircraft flownAttackA-7 Corsair IIF/A-18 HornetMilitary unit Strike Fighter Squadron 15 …

AVE

High-speed rail service in Spain This article is about the high-speed rail service. For the Roman salutation, see Ave. For other uses, see AVE (disambiguation). AVEMain station(s)Madrid Atocha, Barcelona Sants, Seville-Santa Justa, Zaragoza–DeliciasOther station(s)Madrid Chamartín, Valencia-Joaquín Sorolla, Málaga-María Zambrano, Granada, Alicante Terminal, Valladolid-Campo Grande, A Coruña-San Cristóbal, Santiago de Compostela railway station, Ourense, CórdobaFleet size24 S-100 16 S-10…

Language varieties of English used by Jews This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Jewish English varieties – news · newspapers · books · scholar · JSTOR (May 2021) (Learn how and when to remove this message) Jewish English is a cover term for varieties of the English language spoken by Jews. They may i…

There have been three sets of coins in Ireland since independence. In all three, the coin showed a Celtic harp on the obverse. The pre-decimal coins of the Irish pound had realistic animals on the reverse; the decimal coins retained some of these but featured ornamental birds on the lower denominations; and the euro coins used the common design of the euro currencies. The pre-decimal and original decimal coins were of the same dimensions as the same-denomination British coins, as the Irish pound…

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Senecan tragedy – news · newspapers · books · scholar · JSTOR (July 2008) (Learn how and when to remove this message) Double Herm of Socrates and Seneca (Antikensammlung Berlin) Senecan tragedy refers to a set of ten ancient Roman tragedies, eight of which were pr…

ヨハネス12世 第130代 ローマ教皇 教皇就任 955年12月16日教皇離任 964年5月14日先代 アガペトゥス2世次代 レオ8世個人情報出生 937年スポレート公国(中部イタリア)スポレート死去 964年5月14日 教皇領、ローマ原国籍 スポレート公国親 父アルベリーコ2世(スポレート公)、母アルダその他のヨハネステンプレートを表示 ヨハネス12世(Ioannes XII、937年 - 964年5月14日)は、ロー…

هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (أغسطس 2020) قمة الرياض العالمية للصحة الرقمية هي مؤتمر دولي استضافته المملكة العربية السعودية عن بعد في أغسطس 2020 على هامش عام الرئاسة السعودية لمجموعة العشرين، ونظمته ال…

1977 studio album by Bay City RollersIt's a GameStudio album by Bay City RollersReleasedJuly 1977Recorded1977GenrePop, rockLabelAristaProducerHarry MaslinBay City Rollers chronology Dedication(1976) It's a Game(1977) Strangers in the Wind(1978) Professional ratingsReview scoresSourceRatingAllMusic[1] It's a Game is an album by the Scottish group Bay City Rollers, issued in the summer of 1977. Background It's a Game was the band's fifth original studio album, and featured producti…

Accompaniment figure Audio playback is not supported in your browser. You can download the audio file.Sixteenth note fill in a rock/popular groove played on a drum kit.[1]In popular music, a fill is a short musical passage, riff, or rhythmic sound which helps to sustain the listener's attention during a break between the phrases of a melody. The terms riff and fill are sometimes used interchangeably by musicians, but [while] the term riff usually refers to an exact musical phrase repeate…

Mental disorder Dysmorphia redirects here. Not to be confused with dysphoria. For the butterfly genus, see Dismorphia. Not to be confused with body image disturbance. Medical conditionBody dysmorphic disorderOther namesBody dysmorphiaDysmorphic syndromeDysmorphophobiaA cartoon of a patient with body dysmorphia looking in a mirror, seeing a distorted image of himselfSpecialtyPsychiatry, clinical psychology Body dysmorphic disorder (BDD), also known in some contexts as dysmorphophobia, is a mental…

جزء من سلسلة مقالات حولعلم طبقات الأرض الفروع الرئيسية جيولوجيا جيوفيزياء طرق التأريخ الجيولوجي تأريخ نسبي تحديد العمر الحقيقي تأريخ إشعاعي جيوكرونولوجي الفروع المتعددة لعلم الجيولوجيا الجيوكيمياء علم البلورات علم المعادن علم وصف الصخور علم الصخور الجيولوجيا التاريخية …

Shooting at a hand-thrown aerial target with a BB pistol; the slow moving BB is visible in the bright sunlight.Exhibition shooting or trick shooting is a sport in which a marksman performs various feats of skill, frequently using non-traditional targets. Exhibition shooting tends to stress both speed and accuracy, often with elements of danger added. Famous shooters Annie Oakley Main article: Annie Oakley With the advent of rifling came accurate firearms, and many exhibition shooters turned to t…

Арифметика. Роспись Пинтуриккьо. Апартаменты Борджиа. 1492—1495. Рим, Ватиканские дворцы История арифметики охватывает период от возникновения счёта до формального определения чисел и арифметических операций над ними с помощью системы аксиом. Арифметика — наука о числах…

Эта статья — о польском восстании 1944 года. О еврейском восстании 1943 года см. Восстание в Варшавском гетто. У этого термина существуют и другие значения, см. Варшавское восстание. Варшавское восстаниеОсновной конфликт: Акция «Буря» Схема восстания, 1.08 — 2.10.1944 Дат…

2016年夏季奥林匹克运动会莱索托代表團莱索托国旗IOC編碼LESNOC賴索托國家奧林匹克委員會網站lnoc.org.ls(英文)2016年夏季奥林匹克运动会(里約熱內盧)2016年8月5日至8月21日運動員8參賽項目3个大项旗手开幕式:Mosito Lehata(田径)[1]闭幕式:Inkululeko Suntele(拳击)[2]历届奥林匹克运动会参赛记录(总结)夏季奥林匹克运动会197219761980198419881992199620002004200820122016202020…

The 139th FA Cup Final For the women's event, see 2020 Women's FA Cup final. Football match2020 FA Cup finalHeads Up FA Cup finalThe match took place at Wembley Stadium.Event2019–20 FA Cup Arsenal Chelsea 2 1 Date1 August 2020 (2020-08-01)VenueWembley Stadium, LondonMan of the MatchPierre-Emerick Aubameyang (Arsenal)RefereeAnthony Taylor (Cheshire)Attendance0 (Behind closed doors)← 2019 2021 → The 2020 FA Cup final, known officially as the Heads Up FA Cup final, was …