编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « gmp_jacobi
  • gmp_lcm »
  • PHP Manual
  • GMP 函数
  • Kronecker symbol

gmp_kronecker

(PHP 7 >= 7.3.0)

gmp_kronecker — Kronecker symbol

说明

gmp_kronecker ( mixed $a , mixed $b ) : int

This function computes the Kronecker symbol of a and b.

参数

a

可以是一个 GMP 数据 resouce,或一个可以转换为数值的字符串。

b

可以是一个 GMP 数据 resouce,或一个可以转换为数值的字符串。

返回值

Returns the Kronecker symbol of a and b

参见

  • gmp_jacobi() - Jacobi symbol
  • gmp_legendre() - Legendre symbol
相关文章
php gmp 函数 divide numbersphp gmp 函数 divide numbers and get quotient and remainderphp gmp 函数 remainder of the division of numbersphp gmp 函数 别名 gmp div qphp gmp 函数 exact division of numbersphp gmp 函数 export to a binary stringphp gmp 函数 jacobi symbolphp gmp 函数 kronecker symbolphp gmp 函数 calculate gcdphp gmp 函数 legendre symbolphp gmp 函数 modulo operationphp gmp 函数 multiply numbersphp gmp 函数 negate numberphp gmp 函数 find next prime numberphp gmp 函数 random numberphp gmp 函数 take the integer part of nth rootphp gmp 函数 take the integer part and remainder of nth rootphp gmp 函数 scan for 0php gmp 函数 scan for 1php gmp gmp 函数
关注编程学问公众号
编程学问网 湘ICP备20001732号