ScotlandPHP 2019

gmp_kronecker

(PHP 7 >= 7.3.0)

gmp_kroneckerKronecker symbol

Description

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

This function computes the Kronecker symbol of a and b.

Parameters

a

Either a GMP number resource in PHP 5.5 and earlier, a GMP object in PHP 5.6 and later, or a numeric string provided that it is possible to convert the latter to a number.

b

Either a GMP number resource in PHP 5.5 and earlier, a GMP object in PHP 5.6 and later, or a numeric string provided that it is possible to convert the latter to a number.

Return Values

Returns the Kronecker symbol of a and b

See Also

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top