【文件属性】:
文件名称:FiniteFields:在Ruby中对有限字段进行算术运算
文件大小:269KB
文件格式:ZIP
更新时间:2021-05-05 00:34:35
JavaScript
Ruby中的有限域算术
在Ruby中对有限字段进行算术运算
这是一个乘法表生成器示例: :
例子
irb(main):104:0> ff = FiniteField.new(5, 2)
Constructing irreducible polynomial...
Found Polynomial of degree 2 mod 5: x^2 + 3x + 4...
You can now play with this field as it is realized inside F_5[X] / (x^2 + 3x + 4)
=> Finite Field of degree 25 = 5^2 represented by F_25[x] / (x^2 + 3x + 4)
irb(main):105:0> x = FiniteFieldElement.new(ff, 1, 0)
=>
【文件预览】:
FiniteFields-master
----public_html()
--------jquery.js(90KB)
--------print.css(708B)
--------finite_fields.js(30KB)
--------opal.png(84KB)
--------opal.js(255KB)
--------index.html(1KB)
--------main.js(2KB)
--------main.css(3KB)
----LICENSE(1KB)
----Gemfile(50B)
----src()
--------finite_fields.rb(15KB)
--------opal.rb(152B)
----Gemfile.lock(246B)
----examples()
--------F_5_2.png(103KB)
--------F_3_2.html(2KB)
--------F_5_2.html(10KB)
----.gitignore(23B)
----README.md(935B)