|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdata.DataSet
public class DataSet
Title: DataSet Description: Version 2.0 DataSet is an object for containing data Copyright: Copyright (c) 2000, 2008 David N. Blauch
Company: Davidson College
| Constructor Summary | |
|---|---|
DataSet()
|
|
| Method Summary | |
|---|---|
void |
addData(double[] xx,
double[] yy)
Adds an array of data points to the dataSet |
void |
addDatum(double xx,
double yy)
Adds a data point to the dataSet |
void |
clearData()
Clears all of the data in the set |
double[][] |
getData()
Gets all data in the set. |
double[] |
getDatum(int pt)
Gets point pt in the data set |
int |
getNumberPoints()
Gets the number of points in the data set |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataSet()
| Method Detail |
|---|
public void addData(double[] xx,
double[] yy)
public void addDatum(double xx,
double yy)
public void clearData()
public double[][] getData()
public double[] getDatum(int pt)
pt - point number
public int getNumberPoints()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||