AlgebraND
Parameters
T
the type of ND-structure element.
C
the type of the element context.
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
contentEquals
Link copied to clipboard
fun <T : Comparable<T>> AlgebraND<T, Ring<T>>.contentEquals(st1: StructureND<T>, st2: StructureND<T>): Boolean
Content copied to clipboard
Indicates whether some StructureND is equal to another one.
getFeature
Link copied to clipboard
inline fun <T : Any, F : StructureFeature> AlgebraND<T, *>.getFeature(structure: StructureND<T>): F?
Content copied to clipboard
Sources
common source
Link copied to clipboard