asColumnarData

fun <T> Structure2D<T>.asColumnarData(mapping: Map<Symbol, Int>): ColumnarData<T>

A zero-copy method to represent a Structure2D as a two-column x-y data. There could more than two columns in the structure.

Sources

Link copied to clipboard