RingND
Parameters
T
the type of the element contained in ND structure.
N
the type of ND structure.
R
the type of ring of structure elements.
Types
Functions
add
Link copied to clipboard
binaryOperation
Link copied to clipboard
open fun binaryOperation(operation: String, left: StructureND<T>, right: StructureND<T>): StructureND<T>
Content copied to clipboard
binaryOperationFunction
Link copied to clipboard
open override fun binaryOperationFunction(operation: String): (left: StructureND<T>, right: StructureND<T>) -> StructureND<T>
Content copied to clipboard
bindSymbol
Link copied to clipboard
bindSymbolOrNull
Link copied to clipboard
combine
Link copied to clipboard
abstract fun combine(a: StructureND<T>, b: StructureND<T>, transform: R.(T, T) -> T): StructureND<T>
Content copied to clipboard
getFeature
Link copied to clipboard
open fun <F : StructureFeature> getFeature(structure: StructureND<T>, type: KClass<out F>): F?
Content copied to clipboard
invoke
Link copied to clipboard
open operator fun (T) -> T.invoke(structure: StructureND<T>): StructureND<T>
Content copied to clipboard
mapIndexed
Link copied to clipboard
abstract fun StructureND<T>.mapIndexed(transform: R.(index: IntArray, T) -> T): StructureND<T>
Content copied to clipboard
Maps elements from one structure to another one by applying transform to them alongside with their indices.
minus
Link copied to clipboard
open operator fun StructureND<T>.minus(b: StructureND<T>): StructureND<T>
Content copied to clipboard
multiply
Link copied to clipboard
open override fun multiply(a: StructureND<T>, b: StructureND<T>): StructureND<T>
Content copied to clipboard
plus
Link copied to clipboard
times
Link copied to clipboard
open operator fun StructureND<T>.times(b: StructureND<T>): StructureND<T>
Content copied to clipboard
unaryMinus
Link copied to clipboard
unaryOperation
Link copied to clipboard
open fun unaryOperation(operation: String, arg: StructureND<T>): StructureND<T>
Content copied to clipboard
unaryOperationFunction
Link copied to clipboard
open override fun unaryOperationFunction(operation: String): (arg: StructureND<T>) -> StructureND<T>
Content copied to clipboard
unaryPlus
Link copied to clipboard