About: Middle-square method     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : yago:WikicatPseudorandomNumberGenerators, within Data Space : dbpedia.org associated with source document(s)
QRcode icon
http://dbpedia.org/describe/?url=http%3A%2F%2Fdbpedia.org%2Fresource%2FMiddle-square_method

In mathematics and computer science, the middle-square method is a method of generating pseudorandom numbers. In practice it is a highly flawed method for many practical purposes, since its period is usually very short and it has some severe weaknesses; repeated enough times, the middle-square method will either begin repeatedly generating the same number or cycle to a previous number in the sequence and loop indefinitely.

AttributesValues
rdf:type
rdfs:label
  • Metoda prostředku čtverce (cs)
  • Mittquadratmethode (de)
  • Mezo-kvadrata maniero (eo)
  • Middle-square method (en)
  • 平方取中法 (zh)
rdfs:comment
  • Metoda prostředku čtverce je v matematice jednou z klasických metod generování pseudonáhodných čísel. Matematik John von Neumann ji vymyslel kolem roku 1946, popsal ji na konferenci v roce 1949 a jak pozdější analýzy ukázaly, ve skutečnosti je z hlediska náhodnosti vytvářených posloupností poměrně špatná. (cs)
  • In mathematics and computer science, the middle-square method is a method of generating pseudorandom numbers. In practice it is a highly flawed method for many practical purposes, since its period is usually very short and it has some severe weaknesses; repeated enough times, the middle-square method will either begin repeatedly generating the same number or cycle to a previous number in the sequence and loop indefinitely. (en)
  • 平方取中法(Middle-square method)是個產生偽隨機數的方法,由冯·诺伊曼在1946年提出。 算法: 1. * 選擇一個位數作為種子。 2. * 計算 3. * 若不足個位,在前補0。在這個數選中間個位的數,即至的數,將結果作為。 (zh)
  • En matematiko, la mezo-kvadrata maniero estas maniero generi . En praktiko ĝi estas ne bona maniero, ĉar ĝia periodo estas kutime tre mallonga kaj ĝi havas iujn kripligantajn malfortecojn. La maniero estis unue sugestita far John Von Neumann en 1946. Ekzemple, por generi vicon de dek-ciferaj pseŭdohazardaj nombroj, oni devus krei dek-ciferan komencan valoron kaj kvadratigi ĝin. La mezaj dek ciferoj de la rezulto estas la venonta nombro en la vico. Oni devus tiam kvadratigi tiun, kaj tiel plu. (eo)
  • Die Mittquadratmethode (auch Mid-Square-Methode oder mittlere Quadratmethode genannt; aus dem englischen middle square method oder mid-square method) wurde 1946 von John von Neumann als einer der ersten Zufallszahlengeneratoren vorgestellt. Erst später wurde diese Funktion auch als Hash-Funktion benutzt. Die Ausgangszahl kann z. B. die Uhrzeit sein oder die Anzahl an Millisekunden, die seit dem Start des Computers vergangen sind. Donald Knuth zeigte, dass sich nach dieser Methode die Zufallszahlen nach 142 Zahlen wiederholen (bei Verwendung von 20-Bit-Zahlen). (de)
foaf:depiction
  • http://commons.wikimedia.org/wiki/Special:FilePath/Middle-square_method.svg
  • http://commons.wikimedia.org/wiki/Special:FilePath/Middle_square_method_2_digits.svg
dcterms:subject
Wikipage page ID
Wikipage revision ID
Link from a Wikipage to another Wikipage
sameAs
dbp:wikiPageUsesTemplate
thumbnail
has abstract
  • Metoda prostředku čtverce je v matematice jednou z klasických metod generování pseudonáhodných čísel. Matematik John von Neumann ji vymyslel kolem roku 1946, popsal ji na konferenci v roce 1949 a jak pozdější analýzy ukázaly, ve skutečnosti je z hlediska náhodnosti vytvářených posloupností poměrně špatná. (cs)
  • En matematiko, la mezo-kvadrata maniero estas maniero generi . En praktiko ĝi estas ne bona maniero, ĉar ĝia periodo estas kutime tre mallonga kaj ĝi havas iujn kripligantajn malfortecojn. La maniero estis unue sugestita far John Von Neumann en 1946. Ekzemple, por generi vicon de dek-ciferaj pseŭdohazardaj nombroj, oni devus krei dek-ciferan komencan valoron kaj kvadratigi ĝin. La mezaj dek ciferoj de la rezulto estas la venonta nombro en la vico. Oni devus tiam kvadratigi tiun, kaj tiel plu. Klare, por generilo de n-ciferaj nombroj, la periodo povas esti ne pli granda ol 10n. Se la mezaj dek ciferoj estas ĉiuj nuloj, la generilo tiam eligas nulojn eterne. Se la unua duono de nombro en la vico estas nuloj, la sinsekvaj nombroj malkreskos al nulo. Ĉi tiujn rulojn al nulo estas facile detekti, kaj ili okazas tro ofte por praktika uzebleco de ĉi tiu maniero. John Von Neumann konsciis pri tiuj problemoj, sed por liaj celoj la mezo-kvadrata maniero estis rapida (grava por uzo en la ENIAC), kaj ĝiaj eraroj estis facile detekteblaj (kiam ĝi fiaskis, ĝi ĝenerale fiaskis videble). (eo)
  • Die Mittquadratmethode (auch Mid-Square-Methode oder mittlere Quadratmethode genannt; aus dem englischen middle square method oder mid-square method) wurde 1946 von John von Neumann als einer der ersten Zufallszahlengeneratoren vorgestellt. Erst später wurde diese Funktion auch als Hash-Funktion benutzt. Es ist eine einfache Methode, bei der von einer Ausgangszahl das Quadrat gebildet wird. Die mittleren Ziffern des Quadrats werden als erste Zufallszahl genommen. In der nächsten Iteration wird die vorherige Zufallszahl quadriert, und die mittleren Ziffern ergeben die nächste Zufallszahl usw., bis die Ausgabe dieser Zufallszahlenreihe beendet wird. Die Ausgangszahl kann z. B. die Uhrzeit sein oder die Anzahl an Millisekunden, die seit dem Start des Computers vergangen sind. Donald Knuth zeigte, dass sich nach dieser Methode die Zufallszahlen nach 142 Zahlen wiederholen (bei Verwendung von 20-Bit-Zahlen). Beim Hashing ist die Ausgangzahl der Schlüsselwert, und es ist nur eine Iteration notwendig. Ein Vorteil ist die einfache Implementierung des Verfahrens. Die Nachteile sind der sehr hohe Rechenaufwand, die sehr kurze Periodenlänge und das häufige Abstürzen auf die Zahl Null. Für die Verwendung als Hash-Funktion ist das Verfahren nicht geeignet, da die Kollisionshäufigkeit bei bestimmten üblichen Schlüsselwertverteilungen größer ist als bei anderen, einfacheren Hashing-Verfahren (siehe z. B. Multiplikative Methode). Diese Methode besitzt nur noch historische Bedeutung. (de)
  • In mathematics and computer science, the middle-square method is a method of generating pseudorandom numbers. In practice it is a highly flawed method for many practical purposes, since its period is usually very short and it has some severe weaknesses; repeated enough times, the middle-square method will either begin repeatedly generating the same number or cycle to a previous number in the sequence and loop indefinitely. (en)
  • 平方取中法(Middle-square method)是個產生偽隨機數的方法,由冯·诺伊曼在1946年提出。 算法: 1. * 選擇一個位數作為種子。 2. * 計算 3. * 若不足個位,在前補0。在這個數選中間個位的數,即至的數,將結果作為。 (zh)
gold:hypernym
prov:wasDerivedFrom
page length (characters) of wiki page
foaf:isPrimaryTopicOf
is Link from a Wikipage to another Wikipage of
is Wikipage redirect of
is foaf:primaryTopic of
Faceted Search & Find service v1.17_git139 as of Feb 29 2024


Alternative Linked Data Documents: ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3330 as of Mar 19 2024, on Linux (x86_64-generic-linux-glibc212), Single-Server Edition (378 GB total memory, 53 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software