Package space.kscience.kmath.data

Types

Link copied to clipboard
interface ColumnarData<out T>

A column-based data set with all columns of the same size (not necessary fixed in time). The column could be retrieved by a get operation.

Link copied to clipboard
interface XYColumnarData<out T, out X : T, out Y : T> : ColumnarData<T>

The buffer of X values.

Link copied to clipboard
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.

Link copied to clipboard
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. Inherits XYColumnarData.

Functions

Link copied to clipboard
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.

Link copied to clipboard
fun <T> ColumnarData<T>.asXYData(xSymbol: Symbol, ySymbol: Symbol): XYColumnarData<T, T, T>

Represent a ColumnarData as an XYColumnarData. The presence or respective columns is checked on creation.

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. There could more than two columns in the structure.

Properties

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