cp_
library_
rs
0.3.19
is_
prime_
MR
Sections
ミラーラビン素数判定法
In cp_
library_
rs::
number_
theory::
miller_
rabin_
test
cp_library_rs
::
number_theory
::
miller_rabin_test
Function
is_prime_MR
Copy item path
Source
pub fn is_prime_MR(N:
usize
) ->
bool
Expand description
§
ミラーラビン素数判定法
参考:
https://zenn.dev/kaki_xxx/articles/40a92b43200215