MstExtendedField

object MstExtendedField : ExtendedField<MST> , NumericAlgebra<MST>

ExtendedField over MST nodes.

Functions

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

Properties

one
Link copied to clipboard
common
open override val one: MST.Numeric
The neutral element of multiplication
zero
Link copied to clipboard
common
open override val zero: MST.Numeric
The neutral element of addition.

Sources

common source
Link copied to clipboard