BufferAlgebra

interface BufferAlgebra<T, A : Algebra<T>> : Algebra<Buffer<T>>

An algebra over Buffer

Functions

binaryOperation
Link copied to clipboard
common
open fun binaryOperation(operation: String, left: Buffer<T>, right: Buffer<T>): Buffer<T>
Dynamically invokes a binary operation with the certain name.
binaryOperationFunction
Link copied to clipboard
common
open override fun binaryOperationFunction(operation: String): (left: Buffer<T>, right: Buffer<T>) -> Buffer<T>
Dynamically dispatches a binary operation with the certain name.
bindSymbol
Link copied to clipboard
common
open fun bindSymbol(value: String): Buffer<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): Buffer<T>?
Wraps a raw string to T object.
buffer
Link copied to clipboard
common
open fun buffer(vararg elements: T): Buffer<T>
map
Link copied to clipboard
common
open fun Buffer<T>.map(block: (T) -> T): Buffer<T>
unaryOperation
Link copied to clipboard
common
open fun unaryOperation(operation: String, arg: Buffer<T>): Buffer<T>
Dynamically invokes a unary operation with the certain name.
unaryOperationFunction
Link copied to clipboard
common
open override fun unaryOperationFunction(operation: String): (arg: Buffer<T>) -> Buffer<T>
Dynamically dispatches a unary operation with the certain name.
zip
Link copied to clipboard
common
open fun Buffer<T>.zip(other: Buffer<T>, block: (T, T) -> T): Buffer<T>

Properties

bufferFactory
Link copied to clipboard
common
abstract val bufferFactory: BufferFactory<T>
elementAlgebra
Link copied to clipboard
common
abstract val elementAlgebra: A
size
Link copied to clipboard
common
abstract val size: Int

Inheritors

BufferField
Link copied to clipboard

Extensions

acos
Link copied to clipboard
common
fun <T, A : TrigonometricOperations<T>> BufferAlgebra<T, A>.acos(arg: Buffer<T>): Buffer<T>
acosh
Link copied to clipboard
common
fun <T, A : ExponentialOperations<T>> BufferAlgebra<T, A>.acosh(arg: Buffer<T>): Buffer<T>
asin
Link copied to clipboard
common
fun <T, A : TrigonometricOperations<T>> BufferAlgebra<T, A>.asin(arg: Buffer<T>): Buffer<T>
asinh
Link copied to clipboard
common
fun <T, A : ExponentialOperations<T>> BufferAlgebra<T, A>.asinh(arg: Buffer<T>): Buffer<T>
atan
Link copied to clipboard
common
fun <T, A : TrigonometricOperations<T>> BufferAlgebra<T, A>.atan(arg: Buffer<T>): Buffer<T>
atanh
Link copied to clipboard
common
fun <T, A : ExponentialOperations<T>> BufferAlgebra<T, A>.atanh(arg: Buffer<T>): Buffer<T>
cos
Link copied to clipboard
common
fun <T, A : TrigonometricOperations<T>> BufferAlgebra<T, A>.cos(arg: Buffer<T>): Buffer<T>
cosh
Link copied to clipboard
common
fun <T, A : ExponentialOperations<T>> BufferAlgebra<T, A>.cosh(arg: Buffer<T>): Buffer<T>
exp
Link copied to clipboard
common
fun <T, A : ExponentialOperations<T>> BufferAlgebra<T, A>.exp(arg: Buffer<T>): Buffer<T>
ln
Link copied to clipboard
common
fun <T, A : ExponentialOperations<T>> BufferAlgebra<T, A>.ln(arg: Buffer<T>): Buffer<T>
pow
Link copied to clipboard
common
fun <T, A : PowerOperations<T>> BufferAlgebra<T, A>.pow(arg: Buffer<T>, pow: Number): Buffer<T>
sin
Link copied to clipboard
common
fun <T, A : TrigonometricOperations<T>> BufferAlgebra<T, A>.sin(arg: Buffer<T>): Buffer<T>
sinh
Link copied to clipboard
common
fun <T, A : ExponentialOperations<T>> BufferAlgebra<T, A>.sinh(arg: Buffer<T>): Buffer<T>
tan
Link copied to clipboard
common
fun <T, A : TrigonometricOperations<T>> BufferAlgebra<T, A>.tan(arg: Buffer<T>): Buffer<T>
tanh
Link copied to clipboard
common
fun <T, A : ExponentialOperations<T>> BufferAlgebra<T, A>.tanh(arg: Buffer<T>): Buffer<T>

Sources

common source
Link copied to clipboard