IntRing

object IntRing : Ring<Int> , Norm<Int, Int> , NumericAlgebra<Int>

A field for Int without boxing. Does not produce corresponding ring element.

Functions

add
Link copied to clipboard
common
open inline override fun add(a: Int, b: Int): Int
binaryOperation
Link copied to clipboard
common
open fun binaryOperation(operation: String, left: Int, right: Int): Int
Dynamically invokes a binary operation with the certain name.
binaryOperationFunction
Link copied to clipboard
common
open override fun binaryOperationFunction(operation: String): (left: Int, right: Int) -> Int
Dynamically dispatches a binary operation with the certain name.
bindSymbol
Link copied to clipboard
common
open fun bindSymbol(value: String): Int
Wraps a raw string to T object.
div
Link copied to clipboard
common
open operator fun Int.div(k: Number): Int
Division of this element by scalar.
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
leftSideNumberOperation
Link copied to clipboard
common
open fun leftSideNumberOperation(operation: String, left: Number, right: Int): Int
Dynamically invokes a binary operation with the certain name with numeric first argument.
leftSideNumberOperationFunction
Link copied to clipboard
common
open fun leftSideNumberOperationFunction(operation: String): (left: Number, right: Int) -> Int
Dynamically dispatches a binary operation with the certain name with numeric first argument.
minus
Link copied to clipboard
common
open inline operator override fun Int.minus(b: Int): Int
multiply
Link copied to clipboard
common
open inline override fun multiply(a: Int, b: Int): Int
Multiplies two elements.
open inline override fun multiply(a: Int, k: Number): Int
norm
Link copied to clipboard
common
open inline override fun norm(arg: Int): Int
Computes the norm of arg (i.e.
number
Link copied to clipboard
common
open override fun number(value: Number): Int
Wraps a number to T object.
plus
Link copied to clipboard
common
open inline operator override fun Int.plus(b: Int): Int
rightSideNumberOperation
Link copied to clipboard
common
open fun rightSideNumberOperation(operation: String, left: Int, right: Number): Int
Dynamically invokes a binary operation with the certain name with numeric second argument.
rightSideNumberOperationFunction
Link copied to clipboard
common
open fun rightSideNumberOperationFunction(operation: String): (left: Int, right: Number) -> Int
Dynamically dispatches a binary operation with the certain name with numeric first argument.
times
Link copied to clipboard
common
open inline operator override fun Int.times(b: Int): Int
Multiplies this element by scalar.
open operator fun Int.times(k: Number): Int
Multiplication of this element by a scalar.
open operator fun Number.times(b: Int): Int
Multiplication of this number by element.
toString
Link copied to clipboard
common
open fun toString(): String
unaryMinus
Link copied to clipboard
common
open inline operator override fun Int.unaryMinus(): Int
unaryOperation
Link copied to clipboard
common
open fun unaryOperation(operation: String, arg: Int): Int
Dynamically invokes an unary operation with the certain name.
unaryOperationFunction
Link copied to clipboard
common
open override fun unaryOperationFunction(operation: String): (arg: Int) -> Int
Dynamically dispatches an unary operation with the certain name.
unaryPlus
Link copied to clipboard
common
open operator fun Int.unaryPlus(): Int
Returns this value.

Properties

one
Link copied to clipboard
common
open override val one: Int
neutral operation for multiplication
zero
Link copied to clipboard
common
open override val zero: Int
The neutral element of addition.