Package space.kscience.kmath.data
Types
Link copied to clipboard
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
The buffer of X values.
Link copied to clipboard
interface XYErrorColumnarData<T, out X : T, out Y : T> : XYColumnarData<T, X, Y>
Content copied to clipboard
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>
Content copied to clipboard
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>
Content copied to clipboard
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>
Content copied to clipboard
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>
Content copied to clipboard
A zero-copy method to represent a Structure2D as a two-column x-y data. There could more than two columns in the structure.