PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

gmp_mod> <gmp_jacobi
Last updated: Fri, 22 Aug 2008

view this page in

gmp_legendre

(PHP 4 >= 4.0.4, PHP 5)

gmp_legendreCalcula el símbolo de Legendre

Descripción

int gmp_legendre ( resource $a , resource $p )

Calcula el » símbolo de Legendre de a y p . El parámetro p debe ser impar y positivo.

Example #1 Ejemplo de gmp_legendre()

<?php
echo gmp_legendre("1""3") . "\n";
echo 
gmp_legendre("2""3") . "\n";
?>

La salida del anterior programa es:

1
0


add a note add a note User Contributed Notes
gmp_legendre
There are no user contributed notes for this page.

gmp_mod> <gmp_jacobi
Last updated: Fri, 22 Aug 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites