ExtendedFieldOperations

Advanced Number-like semifield that implements basic operations.

Functions

acos
Link copied to clipboard
common
abstract fun acos(arg: T): T
Computes the inverse cosine of arg.
acosh
Link copied to clipboard
common
abstract fun acosh(arg: T): T
Computes the inverse hyperbolic cosine of arg.
add
Link copied to clipboard
common
abstract fun add(a: T, b: T): T
Addition of two elements.
asin
Link copied to clipboard
common
abstract fun asin(arg: T): T
Computes the inverse sine of arg.
asinh
Link copied to clipboard
common
abstract fun asinh(arg: T): T
Computes the inverse hyperbolic sine of arg.
atan
Link copied to clipboard
common
abstract fun atan(arg: T): T
Computes the inverse tangent of arg.
atanh
Link copied to clipboard
common
abstract fun atanh(arg: T): T
Computes the inverse hyperbolic tangent of arg.
binaryOperation
Link copied to clipboard
common
open fun binaryOperation(operation: String, left: T, right: T): T
Dynamically invokes a binary operation with the certain name.
binaryOperationFunction
Link copied to clipboard
common
open override fun binaryOperationFunction(operation: String): (T, T) -> T
Dynamically dispatches a binary operation with the certain name.
bindSymbol
Link copied to clipboard
common
open fun bindSymbol(value: String): T
The same as bindSymbolOrNull but throws an error if symbol could not be bound
bindSymbolOrNull
Link copied to clipboard
common
open fun bindSymbolOrNull(value: String): T?
Wraps a raw string to T object.
cos
Link copied to clipboard
common
abstract fun cos(arg: T): T
Computes the cosine of arg.
cosh
Link copied to clipboard
common
abstract fun cosh(arg: T): T
Computes the hyperbolic cosine of arg.
div
Link copied to clipboard
common
open operator fun T.div(b: T): T
Division of two elements.
open operator fun T.div(k: Number): T
Division of this element by scalar.
divide
Link copied to clipboard
common
abstract fun divide(a: T, b: T): T
Division of two elements.
exp
Link copied to clipboard
common
abstract fun exp(arg: T): T
Computes Euler's number e raised to the power of the value arg.
ln
Link copied to clipboard
common
abstract fun ln(arg: T): T
Computes the natural logarithm (base e) of the value arg.
minus
Link copied to clipboard
common
open operator fun T.minus(b: T): T
Subtraction of two elements.
multiply
Link copied to clipboard
common
abstract fun multiply(a: T, b: T): T
Multiplies two elements.
plus
Link copied to clipboard
common
open operator fun T.plus(b: T): T
Addition of two elements.
pow
Link copied to clipboard
common
open infix fun T.pow(pow: Number): T
Raises this value to the power pow.
power
Link copied to clipboard
common
abstract fun power(arg: T, pow: Number): T
Raises arg to the power pow.
scale
Link copied to clipboard
common
abstract fun scale(a: T, value: Double): T
Scaling an element by a scalar.
sin
Link copied to clipboard
common
abstract fun sin(arg: T): T
Computes the sine of arg.
sinh
Link copied to clipboard
common
abstract fun sinh(arg: T): T
Computes the hyperbolic sine of arg.
sqrt
Link copied to clipboard
common
open fun sqrt(arg: T): T
Computes the square root of the value arg.
tan
Link copied to clipboard
common
open override fun tan(arg: T): T
Computes the tangent of arg.
tanh
Link copied to clipboard
common
open override fun tanh(arg: T): T
Computes the hyperbolic tangent of arg.
times
Link copied to clipboard
common
open operator fun T.times(b: T): T
Multiplies this element by scalar.
open operator fun T.times(k: Number): T
Multiplication of this element by a scalar.
open operator fun Number.times(b: T): T
Multiplication of this number by element.
unaryMinus
Link copied to clipboard
common
abstract operator fun T.unaryMinus(): T
The negation of this element.
unaryOperation
Link copied to clipboard
common
open fun unaryOperation(operation: String, arg: T): T
Dynamically invokes a unary operation with the certain name.
unaryOperationFunction
Link copied to clipboard
common
open override fun unaryOperationFunction(operation: String): (T) -> T
Dynamically dispatches a unary operation with the certain name.
unaryPlus
Link copied to clipboard
common
open operator fun T.unaryPlus(): T
Returns this value.

Inheritors

DoubleBufferOperations
Link copied to clipboard
ExtendedField
Link copied to clipboard

Sources

common source
Link copied to clipboard