SU1478209A1 - Numeric comparator - Google Patents
Numeric comparator Download PDFInfo
- Publication number
- SU1478209A1 SU1478209A1 SU864182445A SU4182445A SU1478209A1 SU 1478209 A1 SU1478209 A1 SU 1478209A1 SU 864182445 A SU864182445 A SU 864182445A SU 4182445 A SU4182445 A SU 4182445A SU 1478209 A1 SU1478209 A1 SU 1478209A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- inputs
- outputs
- input
- registers
- subtractors
- Prior art date
Links
Landscapes
- Complex Calculations (AREA)
Abstract
Изобретение относитс к вычислительной технике и может быть использовано дл сравнени функций распределени случайных величин. Цель изобретени - расширение области применени путем обеспечени сравнени функций распределени двух случайных величин. Устройство содержит регистры 1-4, вычитатели 5, 6, умножители 7, 8, накапливающие сумматоры (НС) 9, 10, элемент сравнени (ЭС) 11, информационные входы 12, 13, тактовый вход 14, вход 15 начальной установки, выходы 16, 17. На входе 12 и 13 последовательно поступают значени функции распределени F1, F2...FN и G1, G2...GN двух случайных величин ζ и *98N. В НС 9 и 10 формируютс величины SF=Σ(FI-FI-1).C и SG=Σ(GI-GI-1).FI, которые сравниваютс ЭС 11The invention relates to computing and can be used to compare the distribution functions of random variables. The purpose of the invention is to expand the scope by providing a comparison of the distribution functions of two random variables. The device contains registers 1-4, subtractors 5, 6, multipliers 7, 8, accumulating adders (NS) 9, 10, comparison element (ES) 11, information inputs 12, 13, clock input 14, initial installation input 15, outputs 16 17. At the input 12 and 13, the values of the distribution function F 1 , F 2 ... F N and G 1 , G 2 ... G N of two random variables ζ and * 98N are received in succession. In HC 9 and 10, the values S F = Σ (F I -F I-1 ) are formed. C and S G = Σ (G I -G I-1 ) .F I , which are compared to ES 11
последний выбирает одну из функций F и G по принципу "выбираетс функци F, если более веро тно, что ζ*98N и менее веро тно, что *98N*98з". 1 ил.the latter chooses one of the functions F and G according to the principle "the function F is chosen if it is more likely that ζ * 98N and less likely that * 98N * 98z". 1 il.
Description
10ten
Изобретение относитс к вычислительной технике и может быть использовано дл сравнени функций распределени случайных величин.The invention relates to computing and can be used to compare the distribution functions of random variables.
Цель изобретени - расширение области применени за счет обеспечени -сравнени функций распределени двух случайных величин.The purpose of the invention is to expand the scope by providing a comparison of the distribution functions of two random variables.
На чертеже представлена схема устройства.The drawing shows a diagram of the device.
Устройство содержит регистры 1 - 4, вычитатели 5 и 6, умножители 7 и 8, накапливающие сумматоры 9 и 10, элемент 11 сравнени , информационные J5 входы 12 и 13, тактовый вход 14, вход 15 начальной установки и выходы 16 и 17.The device contains registers 1-4, subtractors 5 and 6, multipliers 7 and 8, accumulating adders 9 and 10, reference element 11, informational J5 inputs 12 and 13, clock input 14, initial setting input 15 and outputs 16 and 17.
Устройство работает следующим образом.20The device works as follows.
На входы 12 и 13 устройства последовательно поступают значени функций распределени F(x .,) ,F(x 7) ,..., БЧх„) (далее F,,F7,... ,Г„) и G(y,), G(ya),...,G(y „) (далее G,,G4,. .. ,GJ 25 двух случайных величин § и ч. После начальной установки по входу 15 на входы 12 и 13 поступают значени F и G соответственно, которые записываютс в регистры 1 и 2. С выхо- 30 да регистра 1 (2) записанное в нем число поступает на вход уменьшаемого вычитател 5 (6). Поскольку в регистре 3 (4) записано нулевое число, на выходе вычитател 5 (6) по вл етс 35 то же самое число, и-оно поступает на вход умножител 8 (7). Однако, поскольку на второй его вход поступает нуль из регистра 4 (3), на выходе умножител 8 (7) также имеет 40 место нуль.At the inputs 12 and 13 of the device, the values of the distribution functions F (x.,), F (x 7), ..., BCHx) (hereinafter, F ,, F7, ..., D) and G (y, ), G (ya), ..., G (yn) (hereinafter G ,, G4, ..., GJ 25 two random variables § and h. After the initial setup, input 15 inputs 12 and 13 receive the values F and G, respectively, which are recorded in registers 1 and 2. At the output of register 1 (2), the number recorded in it goes to the input of the decremented subtractor 5 (6). Since in register 3 (4) the zero number is written, the output of the subtractor 5 (6) the same number appears 35, and it arrives at the input of multiplier 8 (7). However, since its second input is zero from register 4 (3), the output of multiplier 8 (7) also has 40 zero places.
Далее на вход 14 поступает тактовый импульс, который осуществл ет перезапись числа из регистра 1 (2) в регистр 3 (4), а в регистры 1 и 2 за- 45 писываютс значени функций F/J и G . На выходах вычитателей 5 и 6 по вл ютс числа , и ,. На выходах умножителей 8 и 7 имеют место числа f,G1 и g,F . Каждое из этих с« чисел поступает в свой накапливающий сумматор 9 (Ю).Next, input 14 receives a clock pulse, which rewrites numbers from register 1 (2) to register 3 (4), and the registers 1 and 2 record the values of the functions F / J and G. At the outputs of the subtractors 5 and 6, the numbers, and, appear. The outputs of the multipliers 8 and 7 are the numbers f, G1 and g, F. Each of these with “numbers” enters its accumulating adder 9 (Yu).
Следующий тактовый импульс переписывает числа Fч и С г из регистровThe next clock pulse rewrites the numbers Fc and C g from the registers
1478209214782092
формируют числа и pzF2. Эти числа поступают на сумматоры 9 и 10 и суммируютс с записанными в них на предыдущих тактах числами. Поэтому после второго такта в сумматоре 9 фиксируетс число ffG,+faGi9 а в сумматоре 10 - число .form numbers and pzF2. These numbers are fed to the adders 9 and 10 and summed with the numbers recorded in them at previous cycles. Therefore, after the second clock cycle, the number ffG, + faGi9 is fixed in the adder 9 and the number in the adder 10.
Работа устройства далее происходит аналогичным образом, так что после n-го такта в накапливающих сумматорах 9 и 10 записаны числа Ј,0,+The operation of the device then proceeds in a similar way, so that after the n-th cycle in the accumulating adders 9 and 10, the numbers, 0, +
+f2G2 + ...fnGn I f.G,-SFH в F,++ f2G2 + ... fnGn I f.G, -SFH in F, +
+8,1V + 8,1V
,gnFn X g,F(SG. В зависимости от того, что больше Sс или SG, элемент 11 сравнени осуществл ет выбор либо функции F, либо функции G. Вы сним физический смысл такого предпочтени ., gnFn X g, F (SG. Depending on which is greater than Sc or SG, comparison element 11 selects either function F or function G. You remove the physical meaning of such a preference.
Поскольку F(x) и G(y) функции распределени , то F(x)p( $ х), G(y)p(ч), где Ј и ч - случайные величины с Функци ми распределени F(x) и G(y) соответственно. Далее величины ,-F, и p.Gf4.-G, есть веро тности f ,р(х ,- ;«) g. Т(У; ,) Поскольку $ и ч независимы , то произведение f;GjSince F (x) and G (y) are distribution functions, F (x) p ($ x), G (y) p (h), where Ј and h are random variables with the F (x) and G distribution functions (y) respectively. Further, the quantities, -F, and p.Gf4.-G, are the probabilities f, p (x, -; «) g. T (Y;,) Since $ and h are independent, the product f; Gj
р(, ;.,,), Т.е. f1G,- 7Sp (,;. ,,), Ie f1G, - 7S
-p(, ) при у.х,. Тогда SF Ј,G,« Z , ,. ;J -p (,) with u.x ,. Then SF Ј, G, “Z,,. ; J
р(. Точно так же (j) .Следовательно , если RF Rq, это означает, что р() p(l) т.е. выбор осуществл етс по принципу выбираетс функци F, если более веро тно, что ц., и наоборот.p (. Similarly, ()). Consequently, if RF Rq, this means that p () p (l), i.e. the choice is made according to the principle, function F is selected, if it is more likely that c, and vice versa.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864182445A SU1478209A1 (en) | 1986-11-28 | 1986-11-28 | Numeric comparator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864182445A SU1478209A1 (en) | 1986-11-28 | 1986-11-28 | Numeric comparator |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1478209A1 true SU1478209A1 (en) | 1989-05-07 |
Family
ID=21280890
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU864182445A SU1478209A1 (en) | 1986-11-28 | 1986-11-28 | Numeric comparator |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1478209A1 (en) |
-
1986
- 1986-11-28 SU SU864182445A patent/SU1478209A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР 932484, кл.С 06F7/02, -1980. Авторское свидетельство СССР № 951294, кл. G 06 F 7/04, 1980. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4161033A (en) | Correlator/convolver using a second shift register to rotate sample values | |
SU1478209A1 (en) | Numeric comparator | |
US3973243A (en) | Digital image processor | |
SU748880A1 (en) | Pulse recurrence rate divider with variable division factor | |
SU404082A1 (en) | A DEVICE FOR CALCULATING THE TYPE = FUNCTION. KV'X ^ + y | |
SU1001092A1 (en) | Digital function converter | |
SU1108441A1 (en) | Digital function generator | |
SU1562966A1 (en) | Device for selection of asynchronous signals on basis of criterion "m out of n" | |
SU1288726A2 (en) | Device for restoring continuous functions from discrete readings | |
SU953634A1 (en) | Data input device | |
SU1633529A1 (en) | Device for majority sampling of asynchronous signals | |
SU1387004A2 (en) | N-sensors-to-computer interface | |
SU1272331A1 (en) | Device for calculating values of sine and cosine functions | |
SU1259259A1 (en) | Device for calculating complex number modulus | |
SU1322269A1 (en) | Device for extracting root of sum of squares of three numbers | |
SU1001090A1 (en) | Computing device | |
SU822182A2 (en) | Device for computing the difference between two n-digit numbers | |
SU1474676A1 (en) | Digital filter | |
SU392494A1 (en) | I ALL-UNION | j; rn -: - fVi | O.TF) inHMFnMMAvtorsRaditelKievsk expedition of the Ukrainian scientific research geological instituteSHSJiHOTEKA | |
SU642706A1 (en) | Square root computing arrangement | |
SU1474629A1 (en) | Quadratic function computing device | |
SU556500A1 (en) | Memory register for shift register | |
SU1265795A1 (en) | Device for executing walsh transform of signals with adamard ordering | |
SU637811A1 (en) | Series adder | |
SU588543A1 (en) | Device for adding binary numbers |