SU1080139A1 - Generator of correlated sequence of random numbers - Google Patents

Generator of correlated sequence of random numbers Download PDF

Info

Publication number
SU1080139A1
SU1080139A1 SU813314485K SU3314485K SU1080139A1 SU 1080139 A1 SU1080139 A1 SU 1080139A1 SU 813314485 K SU813314485 K SU 813314485K SU 3314485 K SU3314485 K SU 3314485K SU 1080139 A1 SU1080139 A1 SU 1080139A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
multiplier
generator
adder
Prior art date
Application number
SU813314485K
Other languages
Russian (ru)
Inventor
Антс Альфредович Коорт
Original Assignee
Предприятие П/Я Г-4934
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Предприятие П/Я Г-4934 filed Critical Предприятие П/Я Г-4934
Application granted granted Critical
Publication of SU1080139A1 publication Critical patent/SU1080139A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

ГЕНЕРАТОР КОРРЕЛИРОВАННОЙ ПОСЛЕДОВАТЕЛЬНОСТИ СЛУЧАЙНЫХ ЧИСЕЛ, содержащий сумматор, выход которого  вл етс  выходом генератора и соединен со входом элемента згщержки,выход которого сбединен с первым входом сумматора, первый регистр числа, выход которого соединен с первым входом первого умножител  и со входом квадратора, выход которого соединен с первым входом второго умножител , выход которого соединен со вторым входом сумматора, генератор тактовых импульсов, выход которого соединен со входом генератора нормгшьно распределенных случайных чисел, выход которого соединен со BTOPEJM входом первого умножител , выход которого соединен с третьим входом сумматора, о т л и ч а ю щ и и с   тем, что, с целью расширени  функциональных возможностей генератора за счет получени  бэта-распределени , он содержит второй, третий и четвертый регист ры числа, третий умножитель, первый и второй вычитатели, блок делени  и блок вычислени  обратной величины, вход которого соединен с выходом элемента задержки и со входом вычитаемого , первого вычитател , вход уменьшаемого которого соединен с выходом второго регистра числа, выход третьего регистра числа соединен со входом делимого блока делени , вход делител  которого соединен с выходом i первого вычитател , а выход блока (/) делени  соединен со входом вычитаемого второго вычитател , выход которого соединен со вторым входом второго умножител , выход четвертого регистра числа соединен с первым входом третьего умножител , второй вход которого соединен с выходом блока вычислени  обратной величины, а выход третьего умножител  соединен .со входом уменьшаемого второго эо вычитател .A GENERATOR OF CORRELATED SEQUENCE OF RANDOM NUMBERS containing an adder, the output of which is the generator output and connected to the input of a jumper element whose output is connected to the first input of the adder, the first number register, the output of which is connected to the first input of the first multiplier and to the square input, the output of which with the first input of the second multiplier, the output of which is connected to the second input of the adder, the generator of clock pulses, the output of which is connected to the input of the generator, is normally distributed random numbers, the output of which is connected to the BTOPEJM input of the first multiplier, the output of which is connected to the third input of the adder, so that, in order to expand the functionality of the generator by obtaining the beta distribution, it contains the second, third and fourth registers of numbers, the third multiplier, the first and second subtractors, the dividing unit and the computing unit of the reciprocal, whose input is connected to the output of the delay element and to the input of the subtracted, first subtractor, whose input is decremented dinene with the output of the second number register, the output of the third number register is connected to the input of a divisible dividing unit, the divider input of which is connected to the i output of the first subtractor, and the output of the division unit (/) is connected to the input of the second subtractor that has output connected to the second second multiplier , the output of the fourth number register is connected to the first input of the third multiplier, the second input of which is connected to the output of the reciprocal calculation unit, and the output of the third multiplier is connected to the input of the decremented second th eo subtracter.

Description

00 со00 with

Изобретение относитс  к вычислительной технике и может быть использовано в технике статистического моделировани . Известен генератор случайных чисел, использующий принцип авторег рессии l . Недостатком этого генератора  вл етс  его низка  эффективность. Наиболее близким техническим решением к данному изобретению  вл 4тс  генератор коррелированной последовательности случайных чисел, .солержёший регистр числа, генератор тактовых импульсов, генератор нормально распределенных случайных чисел, элемент задержки, квадратор, сумматор, умножители 2J . Однако этот генератор не позвол е получить бета-распределение. Целью изобретени   вл етс  расширеиие функциональных возможностей генератора за счет получени  бэтараспределени . Дл  достижени  поставленной цели в генератор коррелированной последовательности случайных чисел, содержа щий сумматор, выход которого  вл етс  выходом генератора и соединен со входом элемента задержки, выход кото рого соединен с первым входом сумматора , первый регистр числа, выход которого соединен с первым входом первого умножител  и со входом квадратору , выход которого соединен-с первым входом второго умножител , выход которого соединен со вторым входом сумматора, генератор тактовых импуль сов, выход которого соединен со эходом генератора нормально .распределен |НЫх случайных чисел, выход которого (соединен со вторым входом первого умножител , выход которого соединен с третьим входом сумматора, введены второй, третий и четвертый регистры числа, третий умножитель, первый и второй вычитатели, блок делени  и блок вычислени  обратной величины, вход которого соединен с выходом элемента задержки и со входом вычитаемого первого вычитател , вход уменьшаемого которого соединен с выходом второго регистра числа, выход третьего регистра числа соединен со входом делимого блока делени , вход делител  которого соединен с вьссодом первого вычитател , а вы- ход блока делени  соединен со входом вычитаемого второго вычитател , выход которого соединен со вторым входом Второго умножител , выход четверто го регистра числа соединен с Первым входсш третьего умножител , второй вход которого соединен с выходом &пока вычислени  обратной величины, а выход третьего умножител  соединен со входом у 1еньшаемого второго вычитател . На фиг. 1 изображена схема генератора; на фиг. 2 - вариант исполнени  нелинейного преобразовател . Генератор содержит регистр 1 числа , умножитель 2, квадратор 3, умножитель 4, генератор 5 нормально распределенных случайных чисел, генератор 6 тактовых импульсов, сумматор 7, выход 8, элемент 9 задержки, нелинейный преобразователь 10. Нелинейный преобразователь 10 содержит блок 11 вычислени  обратной величины, вход 12 умножитель 13, регистр 14 числа, вычитатель 15, выход 16, вычитатель 17, регистр 18 числа, делитель 19; регистр 20 числа. Генератор работает следующим образом. Посто нное число с выхода регистра 1 поступает на первый вход умножител  2, на второй вход которого поступает случайное число с выхода генератора 5, возбуждаемого генератором 6. Посто нное число с выхода регистра 1, кроме того, возводитс  в квадрат в квадраторе 3, после чего поступает на вход умножител  4.Предыдущее число с выхода 8, задержанного на один такт элементом 9 задержки и преобразованное в преобразователе 10,поступает на второй вход умножител  4. Крометого, число с выхода элемента 9 поступает на вход сумматора 7 , где оио складываетс  с числами с выходов умножителей 2 и 4. Нелинейный преобразователь 10 работает следукщим образом. Число, поступающее на вход блока 11,преобраз: етс  в обратное ему число, которое в умножителе 13 умножаетс  на запоминаемое во втором регистре 14 число. Произведение поступает на первый вход первого вычитател  15. В третьем регистре 18 устанавливаетс  положительное посто нное число, которое поступает на первый вход второго вычитател , где из него вычитаетс  предыдущее число в коррелированной последователь нрсти, поступающее на. первый вход. Число с выхода регистра 20 поступает на первый вход делител , где делитс  на разность с выхода второго вычитател , кото15а  поступает на второй вход делител . Частное, поступающее на второй вход первого вычитател , вычитаетс  из числа, поступающего на его первый вход, и разность подаетс  на выход 16.The invention relates to computing and can be used in the technique of statistical modeling. Known random number generator, using the principle of autoregression l. The disadvantage of this generator is its low efficiency. The closest technical solution to this invention is a 4ts generator of a correlated sequence of random numbers, a serial number register, a clock generator, a generator of normally distributed random numbers, a delay element, a quadrant, an adder, and 2J multipliers. However, this generator does not allow for a beta distribution. The aim of the invention is to enhance the functionality of the generator by obtaining beta distribution. To achieve this goal, a correlated random number generator, containing an adder, the output of which is the generator output and connected to the input of the delay element, the output of which is connected to the first input of the adder, the first register of the number, the output of which is connected to the first input of the first multiplier and with the input to the quad, the output of which is connected to the first input of the second multiplier, the output of which is connected to the second input of the adder, a generator of clock pulses, the output of which is connected to the outgoing The generator is normally distributed by random numbers, the output of which is connected to the second input of the first multiplier, the output of which is connected to the third input of the adder, the second, third and fourth number registers are entered, the third multiplier, the first and second subtractors, the division unit and the inverse calculation unit the value, the input of which is connected to the output of the delay element and to the input of the deductible first subtractor, the input of which is decremented is connected to the output of the second register of the number, the output of the third register of the number is connected to the input of the dividend the division location, the divider input is connected to the output of the first subtractor, and the output of the division unit is connected to the input of the subtracted second subtractor, the output of which is connected to the second input of the Second multiplier, the output of the fourth register number is connected to the First input of the third multiplier, the second input is connected with the output of & while calculating the reciprocal, and the output of the third multiplier is connected to the input of the smaller second subtractor. FIG. 1 shows a generator circuit; in fig. 2 shows an embodiment of a non-linear converter. The generator contains a register of 1 number, a multiplier 2, a quad 3, a multiplier 4, a generator of 5 normally distributed random numbers, a generator of 6 clock pulses, an adder 7, an output 8, a delay element 9, a nonlinear converter 10. A nonlinear converter 10 contains a block 11 for calculating the reciprocal , input 12 multiplier 13, register 14 numbers, subtractor 15, output 16, subtractor 17, register 18 numbers, divisor 19; register 20 numbers. The generator works as follows. The constant number from the output of register 1 is fed to the first input of multiplier 2, the second input of which receives a random number from the output of generator 5, excited by generator 6. The constant number from the output of register 1, moreover, is squared in the square 3, after which arrives at the input of the multiplier 4. The previous number from output 8, delayed by one delay element 9 and converted in converter 10, goes to the second input of multiplier 4. In addition, the number from the output of element 9 enters the input of adder 7, where oio is added with numbers from the outputs of multipliers 2 and 4. Nonlinear converter 10 works in the following way. The number arriving at the input of block 11 is converted to its reverse number, which in multiplier 13 is multiplied by the number stored in the second register 14. The product arrives at the first input of the first subtractor 15. In the third register 18, a positive constant is set, which arrives at the first input of the second subtractor, where the previous number in the correlated sequence of the sequence arriving at is subtracted from it. first entry. The number from the output of the register 20 goes to the first input of the divider, where it is divided by the difference from the output of the second subtractor, which goes to the second input of the divider. The quotient arriving at the second input of the first subtractor is subtracted from the number arriving at its first input, and the difference is fed to output 16.

Фи&1Fi & 1

}8}eight

Claims (1)

ГЕНЕРАТОР КОРРЕЛИРОВАННОЙ ПОСЛЕДОВАТЕЛЬНОСТИ СЛУЧАЙНЫХ ЧИСЕЛ, содержащий сумматор, выход которого является выходом генератора и соединен со входом элемента задержки,выход которого сбединен с первым входом сумматора, первый регистр числа, выход которого соединен с первым входом первого умножителя и со входом квадратора, выход которого соединен с первым входом второго умножителя, выход которого соединен со вторым входом сумматора, генератор тактовых импульсов, выход которого соединен со входом генератора нормально распределенных случайных чисел, выход которого соединен со вторым входом первого умножителя, выход которого соединен с третьим входом сумматора, о т л и ч а ю щ и й с я тем, что, с целью расширения функциональных возможностей генератора за счет получения бэта-распределения, он содержит второй, третий и четвертый регистры числа, третий умножитель, первый и второй вычитатели, блок деления и блок вычисления обратной величины, вход которого соединен с выходом элемента задержки и со входом вычитаемого, первого вычитателя, вход уменьшаемого которого соединен с вы ходом второго регистра числа, выход третьего регистра числа соединен со входом делимого блока деления, вход делителя которого соединен с выходом первого вычитателя, а выход блока деления соединен со входом вычитаемого второго вычитателя, выход которого соединен со вторым входом второго умножителя, выход четвертого регистра числа соединен с первым входом третьего умножителя, второй вход которого соединен с выходом блока вычисления обратной величины, а выход третьего умножителя соединен со входом уменьшаемого второго вычитателя.CORRELATED RANDOM SEQUENCE GENERATOR containing an adder, the output of which is the output of the generator and connected to the input of the delay element, the output of which is disconnected from the first input of the adder, the first register of the number, the output of which is connected to the first input of the first multiplier and to the input of the quadrator, the output of which is connected to the first input of the second multiplier, the output of which is connected to the second input of the adder, a clock pulse generator, the output of which is connected to the input of the generator of normally distributed cases alum numbers, the output of which is connected to the second input of the first multiplier, the output of which is connected to the third input of the adder, with the fact that, in order to expand the functionality of the generator by obtaining a beta distribution, it contains the second, third and fourth number registers, the third multiplier, the first and second subtractors, the division unit and the reciprocal calculating unit, the input of which is connected to the output of the delay element and to the input of the subtracted, first subtractor, the input of which is reduced is connected to the output the house of the second register of the number, the output of the third register of the number is connected to the input of the divisible division unit, the input of the divider is connected to the output of the first subtracter, and the output of the division unit is connected to the input of the subtracted second subtractor, the output of which is connected to the second input of the second multiplier, the output of the fourth register of the number is connected with the first input of the third multiplier, the second input of which is connected to the output of the inverse calculation unit, and the output of the third multiplier is connected to the input of the reduced second subtractor. соwith
SU813314485K 1981-07-03 1981-07-03 Generator of correlated sequence of random numbers SU1080139A1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU813314485A SU1080138A1 (en) 1981-07-03 1981-07-03 Generator of correlated sequence of random numbers

Publications (1)

Publication Number Publication Date
SU1080139A1 true SU1080139A1 (en) 1984-03-15

Family

ID=20968050

Family Applications (3)

Application Number Title Priority Date Filing Date
SU813314485K SU1080139A1 (en) 1981-07-03 1981-07-03 Generator of correlated sequence of random numbers
SU813314485L SU1080140A1 (en) 1981-07-03 1981-07-03 Generator of correlated sequence of random numbers
SU813314485A SU1080138A1 (en) 1981-07-03 1981-07-03 Generator of correlated sequence of random numbers

Family Applications After (2)

Application Number Title Priority Date Filing Date
SU813314485L SU1080140A1 (en) 1981-07-03 1981-07-03 Generator of correlated sequence of random numbers
SU813314485A SU1080138A1 (en) 1981-07-03 1981-07-03 Generator of correlated sequence of random numbers

Country Status (1)

Country Link
SU (3) SU1080139A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1. Авторское свидетельство СССР 590790, кл.Ч06Р7/58, 1975. 2. Ав тррское свидетельство СССР 857986, KJi.Q 06 F 7/58, 1980 (прототип). *

Also Published As

Publication number Publication date
SU1080138A1 (en) 1984-03-15
SU1080140A1 (en) 1984-03-15

Similar Documents

Publication Publication Date Title
SU1080139A1 (en) Generator of correlated sequence of random numbers
SU1569827A1 (en) Device for exbtraction of square root
SU1115053A1 (en) Number-to-pulse exponential function generator
SU392494A1 (en) I ALL-UNION | j; rn -: - fVi | O.TF) inHMFnMMAvtorsRaditelKievsk expedition of the Ukrainian scientific research geological instituteSHSJiHOTEKA
SU1405050A1 (en) Device for computing inverse value of normalized binary fraction
SU372543A1 (en) FREQUENCY-PULSE MONITORING SYSTEM
SU1187164A1 (en) Device for calculating difference of two squared numbers
SU365704A1 (en)
SU1608644A1 (en) Device for processing series code of golden proportion
SU675421A1 (en) Digital squarer
SU638961A1 (en) Multiplier
SU555401A1 (en) Multiplier
SU1242934A2 (en) Parallel adder-accumulator
SU1179333A1 (en) Frequency-pulse integrating-differentiating device
SU499569A1 (en) Analog / Digital Duplicator
SU717765A1 (en) Arrangement for computing the sum of products
SU720424A1 (en) Binary-decimal to sequential binary code converter
SU961151A1 (en) Non-binary synchronous counter
SU748880A1 (en) Pulse recurrence rate divider with variable division factor
SU640290A1 (en) Square rooting arrangement
SU1144188A1 (en) Delay device
GB1491735A (en) Apparatus for digital frequency multiplication
SU1444756A1 (en) Field multiplication module
SU1103222A1 (en) Device for complex number multiplication
SU1580358A1 (en) Random number generator