Kone
Toggle table of contents
0.0.0-experiment
common
Platform filter
common
Switch theme
Search in API
Kone
kone.algebraicExtra
/
dev.lounres.kone.algebraic
/
IntModuloRing
Int
Modulo
Ring
class
IntModuloRing
(
modulus
:
Int
)
:
Reification
<
Int
>
,
Ring
<
Int
>
,
Hashing
<
Int
>
(
source
)
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
open
val
UInt
.
value
:
Int
open
val
ULong
.
value
:
Int
zero
Link copied to clipboard
open
override
val
zero
:
Int
=
0
Functions
contains
Link copied to clipboard
open
operator override
fun
contains
(
element
:
Any
?
)
:
Boolean
equals
To
Link copied to clipboard
open
infix
fun
Int
.
equalsTo
(
other
:
Int
)
:
Boolean
hash
Link copied to clipboard
open
override
fun
Int
.
hash
(
)
:
Int
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
Int
.
minus
(
other
:
UInt
)
:
Int
open
operator override
fun
Int
.
minus
(
other
:
ULong
)
:
Int
open
operator override
fun
Long
.
minus
(
other
:
Int
)
:
Int
open
operator override
fun
UInt
.
minus
(
other
:
Int
)
:
Int
open
operator override
fun
ULong
.
minus
(
other
:
Int
)
:
Int
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
Int
.
plus
(
other
:
UInt
)
:
Int
open
operator override
fun
Int
.
plus
(
other
:
ULong
)
:
Int
open
operator override
fun
Long
.
plus
(
other
:
Int
)
:
Int
open
operator override
fun
UInt
.
plus
(
other
:
Int
)
:
Int
open
operator override
fun
ULong
.
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
reify
Link copied to clipboard
open
override
fun
reify
(
element
:
Any
?
)
:
Int
reify
Maybe
Link copied to clipboard
open
override
fun
reifyMaybe
(
element
:
Any
?
)
:
Maybe
<
Int
>
reify
Or
Null
Link copied to clipboard
open
override
fun
reifyOrNull
(
element
:
Any
?
)
:
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
Int
.
times
(
other
:
UInt
)
:
Int
open
operator override
fun
Int
.
times
(
other
:
ULong
)
:
Int
open
operator override
fun
Long
.
times
(
other
:
Int
)
:
Int
open
operator override
fun
UInt
.
times
(
other
:
Int
)
:
Int
open
operator override
fun
ULong
.
times
(
other
:
Int
)
:
Int
unary
Minus
Link copied to clipboard
open
inline operator override
fun
Int
.
unaryMinus
(
)
:
Int
value
Of
Link copied to clipboard
open
override
fun
valueOf
(
arg
:
Int
)
:
Int
open
override
fun
valueOf
(
arg
:
Long
)
:
Int
open
override
fun
valueOf
(
arg
:
UInt
)
:
Int
open
override
fun
valueOf
(
arg
:
ULong
)
:
Int