as2D

fun <T> StructureND<T>.as2D(): Structure2D<T>

Represent a StructureND as Structure1D. Throw error in case of dimension mismatch

fun <T> MutableStructureND<T>.as2D(): MutableStructure2D<T>