Kone
0.0.0-dev-1
common
kone.numberTheory
/
com.lounres.kone.algebraic
/
IntModuloRing
Int
Modulo
Ring
class
IntModuloRing
(
modulus
:
Int
)
:
Ring
<
Int
>
Members
Constructors
Int
Modulo
Ring
Link copied to clipboard
constructor
(
modulus
:
Int
)
Properties
modulus
Link copied to clipboard
val
modulus
:
Int
one
Link copied to clipboard
open
override
val
one
:
Int
=
1
value
Link copied to clipboard
open
val
Int
.
value
:
Int
open
val
Long
.
value
:
Int
zero
Link copied to clipboard
open
override
val
zero
:
Int
=
0
Functions
eq
Link copied to clipboard
open
infix
fun
Int
.
eq
(
other
:
Int
)
:
Boolean
equals
To
Link copied to clipboard
open
infix
fun
Int
.
equalsTo
(
other
:
Int
)
:
Boolean
is
Not
One
Link copied to clipboard
open
fun
Int
.
isNotOne
(
)
:
Boolean
is
Not
Zero
Link copied to clipboard
open
fun
Int
.
isNotZero
(
)
:
Boolean
is
One
Link copied to clipboard
open
fun
Int
.
isOne
(
)
:
Boolean
is
Zero
Link copied to clipboard
open
fun
Int
.
isZero
(
)
:
Boolean
minus
Link copied to clipboard
open
inline operator override
fun
Int
.
minus
(
other
:
Int
)
:
Int
open
operator override
fun
Int
.
minus
(
other
:
Long
)
:
Int
open
operator override
fun
Long
.
minus
(
other
:
Int
)
:
Int
neq
Link copied to clipboard
open
infix
fun
Int
.
neq
(
other
:
Int
)
:
Boolean
not
Equals
To
Link copied to clipboard
open
infix
fun
Int
.
notEqualsTo
(
other
:
Int
)
:
Boolean
plus
Link copied to clipboard
open
inline operator override
fun
Int
.
plus
(
other
:
Int
)
:
Int
open
operator override
fun
Int
.
plus
(
other
:
Long
)
:
Int
open
operator override
fun
Long
.
plus
(
other
:
Int
)
:
Int
pow
Link copied to clipboard
open
infix
fun
Int
.
pow
(
exponent
:
UInt
)
:
Int
open
infix
fun
Int
.
pow
(
exponent
:
ULong
)
:
Int
power
Link copied to clipboard
open
fun
power
(
base
:
Int
,
exponent
:
UInt
)
:
Int
open
fun
power
(
base
:
Int
,
exponent
:
ULong
)
:
Int
times
Link copied to clipboard
open
inline operator override
fun
Int
.
times
(
other
:
Int
)
:
Int
open
operator override
fun
Int
.
times
(
other
:
Long
)
:
Int
open
operator override
fun
Long
.
times
(
other
:
Int
)
:
Int
unary
Minus
Link copied to clipboard
open
inline operator override
fun
Int
.
unaryMinus
(
)
:
Int
unary
Plus
Link copied to clipboard
open
operator
fun
Int
.
unaryPlus
(
)
:
Int
value
Of
Link copied to clipboard
open
override
fun
valueOf
(
arg
:
Int
)
:
Int
open
override
fun
valueOf
(
arg
:
Long
)
:
Int