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<out T, out X : T, out Y : T> : ColumnarData<T>
The buffer of X values.
XYErrorColumnarData
Link copied to clipboard
common
interface XYErrorColumnarData<T, out X : T, out Y : T> : XYColumnarData<T, X, Y>
A ColumnarData with additional Symbol.yError column for an Symbol.y error Inherits XYColumnarData.
XYZColumnarData
Link copied to clipboard
common
interface XYZColumnarData<out T, out X : T, out Y : T, out Z : T> : XYColumnarData<T, X, Y>
A ColumnarData 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> ColumnarData<T>.asXYData(xSymbol: Symbol, ySymbol: Symbol): XYColumnarData<T, T, T>
Represent a ColumnarData as an XYColumnarData.
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.

Properties

indices
Link copied to clipboard
common
val ColumnarData<*>.indices: IntRange