scikit-
nano
:docs
Index
Modules
Navigation
next »
« previous
|
scikit-nano v0.4.0.dev
»
Core package code (
sknano.core
)
»
Core data structures for math (
sknano.core.math
)
»
totient_func
totient_func
¶
sknano.core.math.
totient_func
(
n=<class 'int'>
)
[source]
[edit on github]
[source]
¶
Compute the totatives of
\(n\)
.
Parameters:
n
(
int
) –
Returns:
int
Return type:
the number of totatives of
\(n\)
Page Contents
totient_func