gmp_kronecker

Kronecker symbol

Description

int gmp_kronecker(GMPintstring $num1, GMPintstring $num2)

This function computes the Kronecker symbol of num1 and num2.

Parameters

num1

A GMP object, an int or a numeric string.

num2

A GMP object, an int or a numeric string.

Return Values

Returns the Kronecker symbol of num1 and num2

See Also

  • gmp_jacobi
  • gmp_legendre