Class ChartSpec.Series

java.lang.Object
jdistlib.inference.ChartSpec.Series
Enclosing class:
ChartSpec

public static final class ChartSpec.Series extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    Series(String name, double[] x, double[] y)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    int
     
    double[]
    x()
     
    double
    xAt(int index)
    Returns one horizontal coordinate without copying the series.
    double[]
    y()
     
    double
    yAt(int index)
    Returns one vertical coordinate without copying the series.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Series

      public Series(String name, double[] x, double[] y)
  • Method Details

    • name

      public String name()
    • x

      public double[] x()
    • y

      public double[] y()
    • size

      public int size()
    • xAt

      public double xAt(int index)
      Returns one horizontal coordinate without copying the series.
    • yAt

      public double yAt(int index)
      Returns one vertical coordinate without copying the series.