Package space.kscience.kmath.data

Types

ColumnarData
Link copied to clipboard
common
interface ColumnarData<out T>
A column-based data set with all columns of the same size (not necessary fixed in time).
XYColumnarData
Link copied to clipboard
common
interface XYColumnarData<T, out X : T, out Y : T> : ColumnarData<T>
The buffer of X values.
XYZColumnarData
Link copied to clipboard
common
interface XYZColumnarData<T, out X : T, out Y : T, out Z : T> : XYColumnarData<T, X, Y>
A XYColumnarData with guaranteed x, y and z columns designated by corresponding symbols.

Functions

asColumnarData
Link copied to clipboard
common
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.
asXYData
Link copied to clipboard
common
fun <T> Structure2D<T>.asXYData(xIndex: Int = 0, yIndex: Int = 1): XYColumnarData<T, T, T>
A zero-copy method to represent a Structure2D as a two-column x-y data.
XYColumnarData
Link copied to clipboard
common
fun <T, X : T, Y : T> XYColumnarData(x: Buffer<X>, y: Buffer<Y>): XYColumnarData<T, X, Y>