Learn Java Programming - BigInteger .isProbablePrime() Part 1 Tutorial

Publicado em: 29 Abril 2017
no canal de: Daniel Ross
2,818
36

In this tutorial I am going to discuss the .isProbablePrime() method. It returns false if the BigInteger object value is definitely composite. It returns true if the BigInteger object value is probably prime. This method is extremely fast for determining if a number is composite - maybe they should have named this method isComposite() instead ;) So why did they name it isProbablePrime() anyway??? The reason this method is so fast is because it utilizes the Miller-Rabin primality test. The math and proofs behind the Miller-Rabin primality test is way beyond the scope of this tutorial, but I will do my best to describe the general idea of how it works.


Nesta página do site você pode assistir ao vídeo on-line Learn Java Programming - BigInteger .isProbablePrime() Part 1 Tutorial duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Daniel Ross 29 Abril 2017, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 2,818 vezes e gostou 36 espectadores. Boa visualização!