AlgebraND
Parameters
T
the type of ND-structure element.
C
the type of the element context.
N
the type of the structure.
Types
Functions
combine
Link copied to clipboard
abstract fun combine(a: StructureND<T>, b: StructureND<T>, transform: C.(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: C.(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.
Properties
Inheritors
Extensions
getFeature
Link copied to clipboard
inline fun <T : Any, F : StructureFeature> AlgebraND<T, *>.getFeature(structure: StructureND<T>): F?
Content copied to clipboard