MutableStructureND
Represents mutable StructureND.
Functions
Link copied to clipboard
open override fun <F : StructureFeature> getFeature(type: KClass<out F>): F?
Content copied to clipboard
Feature is some additional structure information that allows to access it special properties or hints. If the feature is not present, null
is returned.
Properties
Inheritors
Extensions
Link copied to clipboard
Link copied to clipboard
Represents a StructureND as Structure2D. Throws runtime error in case of dimension mismatch.
Link copied to clipboard
inline fun <T> MutableStructureND<T>.mapInPlace(action: (index: IntArray, T) -> T)
Content copied to clipboard
Transform a structure element-by element in place.
Link copied to clipboard
inline fun <T, R : Any> MutableStructureND<T>.mapToMutableBuffer(factory: MutableBufferFactory<R> = MutableBuffer.Companion::auto, crossinline transform: (T) -> R): MutableBufferND<R>
Content copied to clipboard
Transform structure to a new structure using provided MutableBufferFactory and optimizing if argument is MutableBufferND