简体   繁体   English

C ++ NTL算法

[英]C++ NTL algorithms

I cant seem to find any info on, which algorithms in the NTL C++ libraries are used. 我似乎找不到任何有关使用NTL C ++库中的算法的信息。

I am especially interested in the algorithms used for: 我对用于以下算法的算法特别感兴趣:

  • Modular square root (SqrRootMod) 模块化平方根(SqrRootMod)
  • Kernel of matrix over GF(2) (kernel for mat_GF2 objects) GF(2)上的矩阵内核(mat_GF2对象的内核)
  • Greatest common divisor (GCD - this is probably euclids algorithm) 最大公约数(GCD-这可能是euclids算法)
  • Modular inverse (InvMod) 模逆(InvMod)
  • Jacobi symbol (Jacobi) 雅各比符号(雅各比)

If anyone can help with this, I am very grateful! 如果有人可以提供帮助,我非常感谢!

SqrRootMod, InvMod, Jacobi could be found in ZZ.h and ZZ.c. SqrRootMod,InvMod,Jacobi可以在ZZ.h和ZZ.c中找到。 GCD lies in ZZX.h GCD位于ZZX.h中

I believe you can figure everything out by reading the include files in the examples provided on the official website. 我相信您可以通过阅读官方网站上提供的示例中的包含文件来了解所有内容。 There are explanations on the algorithms used too. 也有关于使用的算法的解释。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM