Interface Datum<T>

Stores a data point. For multivariable points, the x coordinate contains an array of all the free variables.

interface Datum<T> {
    x: T;
    y: number;
}

Type Parameters

Properties

x y

Properties

x: T

Input: X variable(s)

y: number

Output: Y variable