BufferAlgebra

interface BufferAlgebra<T, out 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(size: Int, vararg elements: T): Buffer<T>
map
Link copied to clipboard
common
open fun Buffer<T>.map(block: A.(T) -> T): Buffer<T>
mapIndexed
Link copied to clipboard
common
open fun Buffer<T>.mapIndexed(block: A.(index: Int, 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: A.(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

Inheritors

BufferRingOps
Link copied to clipboard
BufferFieldOps
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>
buffer
Link copied to clipboard
common
fun <T> BufferAlgebra<T, *>.buffer(size: Int, initializer: (Int) -> 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>
mapIndexedInline
Link copied to clipboard
common
inline fun <T, A : Algebra<T>> BufferAlgebra<T, A>.mapIndexedInline(buffer: Buffer<T>, crossinline block: A.(index: Int, T) -> T): Buffer<T>
Inline map
mapInline
Link copied to clipboard
common
inline fun <T, A : Algebra<T>> BufferAlgebra<T, A>.mapInline(buffer: Buffer<T>, crossinline block: A.(T) -> T): Buffer<T>
Inline map
nd
Link copied to clipboard
common
val <T, A : Group<T>> BufferAlgebra<T, A>.nd: BufferedGroupNDOps<T, A>
val <T, A : Ring<T>> BufferAlgebra<T, A>.nd: BufferedRingOpsND<T, A>
val <T, A : Field<T>> BufferAlgebra<T, A>.nd: BufferedFieldOpsND<T, A>
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>
zipInline
Link copied to clipboard
common
inline fun <T, A : Algebra<T>> BufferAlgebra<T, A>.zipInline(l: Buffer<T>, r: Buffer<T>, crossinline block: A.(T, T) -> T): Buffer<T>
Inline zip

Sources

common source
Link copied to clipboard