DoubleField

object DoubleField : ExtendedField<Double> , Norm<Double, Double> , ScaleOperations<Double>

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

Functions

acos
Link copied to clipboard
common
open inline override fun acos(arg: Double): Double
Computes the inverse cosine of arg.
acosh
Link copied to clipboard
common
open inline override fun acosh(arg: Double): Double
Computes the inverse hyperbolic cosine of arg.
add
Link copied to clipboard
common
open inline override fun add(a: Double, b: Double): Double
Addition of two elements.
asin
Link copied to clipboard
common
open inline override fun asin(arg: Double): Double
Computes the inverse sine of arg.
asinh
Link copied to clipboard
common
open inline override fun asinh(arg: Double): Double
Computes the inverse hyperbolic sine of arg.
atan
Link copied to clipboard
common
open inline override fun atan(arg: Double): Double
Computes the inverse tangent of arg.
atanh
Link copied to clipboard
common
open inline override fun atanh(arg: Double): Double
Computes the inverse hyperbolic tangent of arg.
binaryOperation
Link copied to clipboard
common
open fun binaryOperation(operation: String, left: Double, right: Double): Double
Dynamically invokes a binary operation with the certain name.
binaryOperationFunction
Link copied to clipboard
common
open override fun binaryOperationFunction(operation: String): (left: Double, right: Double) -> Double
Dynamically dispatches a binary operation with the certain name.
bindSymbol
Link copied to clipboard
common
open fun bindSymbol(value: String): Double
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): Double?
Wraps a raw string to T object.
cos
Link copied to clipboard
common
open inline override fun cos(arg: Double): Double
Computes the cosine of arg.
cosh
Link copied to clipboard
common
open inline override fun cosh(arg: Double): Double
Computes the hyperbolic cosine of arg.
div
Link copied to clipboard
common
open inline operator override fun Double.div(b: Double): Double
Division of two elements.
open operator fun Double.div(k: Number): Double
Division of this element by scalar.
divide
Link copied to clipboard
common
open inline override fun divide(a: Double, b: Double): Double
Division of two elements.
exp
Link copied to clipboard
common
open inline override fun exp(arg: Double): Double
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: Double): Double
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: Double) -> Double
Dynamically dispatches a binary operation with the certain name with numeric first argument.
ln
Link copied to clipboard
common
open inline override fun ln(arg: Double): Double
Computes the natural logarithm (base e) of the value arg.
minus
Link copied to clipboard
common
open inline operator override fun Double.minus(b: Double): Double
Subtraction of two elements.
multiply
Link copied to clipboard
common
open inline override fun multiply(a: Double, b: Double): Double
Multiplies two elements.
norm
Link copied to clipboard
common
open inline override fun norm(arg: Double): Double
Computes the norm of arg (i.e., absolute value or vector length).
number
Link copied to clipboard
common
open inline override fun number(value: Number): Double
Wraps a number to T object.
plus
Link copied to clipboard
common
open inline operator override fun Double.plus(b: Double): Double
Addition of two elements.
pow
Link copied to clipboard
common
open infix fun Double.pow(pow: Number): Double
Raises this value to the power pow.
power
Link copied to clipboard
common
open inline override fun power(arg: Double, pow: Number): Double
Raises arg to the power pow.
rightSideNumberOperation
Link copied to clipboard
common
open fun rightSideNumberOperation(operation: String, left: Double, right: Number): Double
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: Double, right: Number) -> Double
Dynamically dispatches a binary operation with the certain name with numeric first argument.
scale
Link copied to clipboard
common
open inline override fun scale(a: Double, value: Double): Double
Scaling an element by a scalar.
sin
Link copied to clipboard
common
open inline override fun sin(arg: Double): Double
Computes the sine of arg.
sinh
Link copied to clipboard
common
open inline override fun sinh(arg: Double): Double
Computes the hyperbolic sine of arg.
sqrt
Link copied to clipboard
common
open inline override fun sqrt(arg: Double): Double
Computes the square root of the value arg.
tan
Link copied to clipboard
common
open inline override fun tan(arg: Double): Double
Computes the tangent of arg.
tanh
Link copied to clipboard
common
open inline override fun tanh(arg: Double): Double
Computes the hyperbolic tangent of arg.
times
Link copied to clipboard
common
open inline operator override fun Double.times(b: Double): Double
Multiplies this element by scalar.
open operator fun Double.times(k: Number): Double
Multiplication of this element by a scalar.
open operator fun Number.times(b: Double): Double
Multiplication of this number by element.
unaryMinus
Link copied to clipboard
common
open inline operator override fun Double.unaryMinus(): Double
The negation of this element.
unaryOperation
Link copied to clipboard
common
open fun unaryOperation(operation: String, arg: Double): Double
Dynamically invokes a unary operation with the certain name.
unaryOperationFunction
Link copied to clipboard
common
open override fun unaryOperationFunction(operation: String): (arg: Double) -> Double
Dynamically dispatches a unary operation with the certain name.
unaryPlus
Link copied to clipboard
common
open operator fun Double.unaryPlus(): Double
Returns this value.

Properties

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

Extensions

bufferAlgebra
Link copied to clipboard
common
fun DoubleField.bufferAlgebra(size: Int): BufferField<Double, DoubleField>
expression
Link copied to clipboard
common
linearSpace
Link copied to clipboard
common
val DoubleField.linearSpace: DoubleLinearSpace
ndAlgebra
Link copied to clipboard
common
fun DoubleField.ndAlgebra(vararg shape: Int): DoubleFieldND
withNdAlgebra
Link copied to clipboard
common
inline fun <R> DoubleField.withNdAlgebra(vararg shape: Int, action: DoubleFieldND.() -> R): R
Produce a context for n-dimensional operations inside this real field

Sources

common source
Link copied to clipboard