DoubleBufferField

Constructors

DoubleBufferField
Link copied to clipboard
common
fun DoubleBufferField(size: Int)

Functions

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

Properties

one
Link copied to clipboard
common
open override val one: Buffer<Double>
The neutral element of multiplication
size
Link copied to clipboard
common
val size: Int
the size of buffers to operate on.
zero
Link copied to clipboard
common
open override val zero: Buffer<Double>
The neutral element of addition.

Sources

common source
Link copied to clipboard