gmp_kronecker
(PHP 7 >= 7.3.0, PHP 8)
gmp_kronecker — Kronecker symbol
说明
This function computes the Kronecker symbol of num1
and
num2
.
参数
num1
-
GMP 对象、int 或 string,可以按照跟在 gmp_init() 中使用字符串并自动检测 base(即当 base 等于 0 时)相同的逻辑将其解释为数字。
num2
-
GMP 对象、int 或 string,可以按照跟在 gmp_init() 中使用字符串并自动检测 base(即当 base 等于 0 时)相同的逻辑将其解释为数字。
返回值
Returns the Kronecker symbol of num1
and
num2
参见
- gmp_jacobi() - Jacobi symbol
- gmp_legendre() - Legendre symbol
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/function.gmp-kronecker.php