BigInt

class BigInt : Comparable<BigInt>

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun abs(): BigInt
Link copied to clipboard
infix fun and(other: BigInt): BigInt
Link copied to clipboard
open operator override fun compareTo(other: BigInt): Int
Link copied to clipboard
operator fun div(other: Int): BigInt
operator fun div(other: UInt): BigInt
operator fun div(other: BigInt): BigInt
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
operator fun minus(b: BigInt): BigInt
Link copied to clipboard
fun modPow(exponent: BigInt, m: BigInt): BigInt
Link copied to clipboard
infix fun or(other: BigInt): BigInt
Link copied to clipboard
operator fun plus(b: BigInt): BigInt
Link copied to clipboard
fun pow(exponent: UInt): BigInt
Link copied to clipboard
operator fun rem(other: Int): Int
operator fun rem(other: BigInt): BigInt
Link copied to clipboard
infix fun shl(i: Int): BigInt
Link copied to clipboard
infix fun shr(i: Int): BigInt
Link copied to clipboard
operator fun times(other: Int): BigInt
operator fun times(other: UInt): BigInt
operator fun times(b: BigInt): BigInt
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
operator fun unaryMinus(): BigInt

Extensions

Link copied to clipboard
val BigInt.algebra: BigIntField
Link copied to clipboard
open operator fun BigInt.div(arg: BigInt): BigInt

Division of two elements.

open operator fun BigInt.div(k: Number): BigInt

Division of this element by scalar.

Link copied to clipboard
open operator fun BigInt.minus(arg: BigInt): BigInt

Subtraction of two elements.

open operator fun BigInt.minus(other: Number): BigInt

Subtraction of element from number.

Link copied to clipboard
inline fun BigInt.mutableBuffer(size: Int, initializer: (Int) -> BigInt): Buffer<BigInt>
Link copied to clipboard
open operator fun BigInt.plus(arg: BigInt): BigInt

Addition of two elements.

open operator fun BigInt.plus(other: Number): BigInt

Addition of element and scalar.

Link copied to clipboard
open operator fun BigInt.times(arg: BigInt): BigInt

Multiplies this element by scalar.

open operator fun BigInt.times(k: Number): BigInt

Multiplication of this element by a scalar.

Link copied to clipboard
open operator override fun BigInt.unaryMinus(): BigInt

The negation of this element.

Link copied to clipboard
open operator fun BigInt.unaryPlus(): BigInt

Returns this value.

Sources

Link copied to clipboard