LongRing

object LongRing : Ring<Long> , Norm<Long, Long> , NumericAlgebra<Long>

A field for Double without boxing. Does not produce appropriate ring element.

Functions

add
Link copied to clipboard
common
open inline override fun add(a: Long, b: Long): Long
binaryOperation
Link copied to clipboard
common
open fun binaryOperation(operation: String, left: Long, right: Long): Long
Dynamically invokes a binary operation with the certain name.
binaryOperationFunction
Link copied to clipboard
common
open override fun binaryOperationFunction(operation: String): (left: Long, right: Long) -> Long
Dynamically dispatches a binary operation with the certain name.
bindSymbol
Link copied to clipboard
common
open fun bindSymbol(value: String): Long
Wraps a raw string to T object.
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: Long): Long
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: Long) -> Long
Dynamically dispatches a binary operation with the certain name with numeric first argument.
minus
Link copied to clipboard
common
open inline operator override fun Long.minus(b: Long): Long
multiply
Link copied to clipboard
common
open inline override fun multiply(a: Long, b: Long): Long
Multiplies two elements.
norm
Link copied to clipboard
common
open override fun norm(arg: Long): Long
Computes the norm of arg (i.e.
number
Link copied to clipboard
common
open override fun number(value: Number): Long
Wraps a number to T object.
plus
Link copied to clipboard
common
open inline operator override fun Long.plus(b: Long): Long
rightSideNumberOperation
Link copied to clipboard
common
open fun rightSideNumberOperation(operation: String, left: Long, right: Number): Long
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: Long, right: Number) -> Long
Dynamically dispatches a binary operation with the certain name with numeric first argument.
times
Link copied to clipboard
common
open inline operator override fun Long.times(b: Long): Long
Multiplies this element by scalar.
toString
Link copied to clipboard
common
open fun toString(): String
unaryMinus
Link copied to clipboard
common
open inline operator override fun Long.unaryMinus(): Long
unaryOperation
Link copied to clipboard
common
open fun unaryOperation(operation: String, arg: Long): Long
Dynamically invokes an unary operation with the certain name.
unaryOperationFunction
Link copied to clipboard
common
open override fun unaryOperationFunction(operation: String): (arg: Long) -> Long
Dynamically dispatches an unary operation with the certain name.
unaryPlus
Link copied to clipboard
common
open operator fun Long.unaryPlus(): Long
Returns this value.

Properties

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