Kone
0.0.0-dev-1
common
kone.algebraic
/
com.lounres.kone.algebraic
/
IntRing
Int
Ring
object
IntRing
:
Ring
<
Int
>
,
Order
<
Int
>
Members
Members & Extensions
Properties
one
Link copied to clipboard
open
override
val
one
:
Int
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
Functions
compare
To
Link copied to clipboard
open
infix operator override
fun
Int
.
compareTo
(
other
:
Int
)
:
Int
doubling
Minus
Link copied to clipboard
fun
<
V
>
Ring
<
V
>
.
doublingMinus
(
first
:
V
,
other
:
Int
)
:
V
fun
<
V
>
Ring
<
V
>
.
doublingMinus
(
first
:
V
,
other
:
Long
)
:
V
fun
<
V
>
Ring
<
V
>
.
doublingMinus
(
first
:
V
,
other
:
UInt
)
:
V
fun
<
V
>
Ring
<
V
>
.
doublingMinus
(
first
:
V
,
other
:
ULong
)
:
V
fun
<
V
>
Ring
<
V
>
.
doublingMinus
(
first
:
Int
,
other
:
V
)
:
V
fun
<
V
>
Ring
<
V
>
.
doublingMinus
(
first
:
Long
,
other
:
V
)
:
V
fun
<
V
>
Ring
<
V
>
.
doublingMinus
(
first
:
UInt
,
other
:
V
)
:
V
fun
<
V
>
Ring
<
V
>
.
doublingMinus
(
first
:
ULong
,
other
:
V
)
:
V
doubling
Plus
Link copied to clipboard
fun
<
V
>
Ring
<
V
>
.
doublingPlus
(
first
:
V
,
other
:
Int
)
:
V
fun
<
V
>
Ring
<
V
>
.
doublingPlus
(
first
:
V
,
other
:
Long
)
:
V
fun
<
V
>
Ring
<
V
>
.
doublingPlus
(
first
:
V
,
other
:
UInt
)
:
V
fun
<
V
>
Ring
<
V
>
.
doublingPlus
(
first
:
V
,
other
:
ULong
)
:
V
fun
<
V
>
Ring
<
V
>
.
doublingPlus
(
first
:
Int
,
other
:
V
)
:
V
fun
<
V
>
Ring
<
V
>
.
doublingPlus
(
first
:
Long
,
other
:
V
)
:
V
fun
<
V
>
Ring
<
V
>
.
doublingPlus
(
first
:
UInt
,
other
:
V
)
:
V
fun
<
V
>
Ring
<
V
>
.
doublingPlus
(
first
:
ULong
,
other
:
V
)
:
V
doubling
Times
Link copied to clipboard
fun
<
V
>
Ring
<
V
>
.
doublingTimes
(
first
:
V
,
other
:
Int
)
:
V
fun
<
V
>
Ring
<
V
>
.
doublingTimes
(
first
:
V
,
other
:
Long
)
:
V
fun
<
V
>
Ring
<
V
>
.
doublingTimes
(
first
:
V
,
other
:
UInt
)
:
V
fun
<
V
>
Ring
<
V
>
.
doublingTimes
(
first
:
V
,
other
:
ULong
)
:
V
fun
<
V
>
Ring
<
V
>
.
doublingTimes
(
first
:
Int
,
other
:
V
)
:
V
fun
<
V
>
Ring
<
V
>
.
doublingTimes
(
first
:
Long
,
other
:
V
)
:
V
fun
<
V
>
Ring
<
V
>
.
doublingTimes
(
first
:
UInt
,
other
:
V
)
:
V
fun
<
V
>
Ring
<
V
>
.
doublingTimes
(
first
:
ULong
,
other
:
V
)
:
V
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
squaring
Power
Link copied to clipboard
fun
<
V
>
Ring
<
V
>
.
squaringPower
(
base
:
V
,
exponent
:
Int
)
:
V
fun
<
V
>
Ring
<
V
>
.
squaringPower
(
base
:
V
,
exponent
:
Long
)
:
V
fun
<
V
>
Ring
<
V
>
.
squaringPower
(
base
:
V
,
exponent
:
UInt
)
:
V
fun
<
V
>
Ring
<
V
>
.
squaringPower
(
base
:
V
,
exponent
:
ULong
)
:
V
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
inline override
fun
valueOf
(
arg
:
Int
)
:
Int
open
inline override
fun
valueOf
(
arg
:
Long
)
:
Int