|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.datastructure.MathTable.Row
public class MathTable.Row
This class represents a row in a mathematical table. A row, indexed by a double, contains several double values, by columns.
This class is immutable.
| Field Summary | |
|---|---|
double |
index
the row index, a double |
| Method Summary | |
|---|---|
double |
get(int columnIndex)
Get the value in a column. |
double |
get(java.lang.String header)
Get the value in a column. |
double[] |
toArray()
Convert the row to a double array, double[], excluding the index. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final double index
| Method Detail |
|---|
public double get(int columnIndex)
columnIndex - the column index, counting from 1
public double get(java.lang.String header)
header - the column name
public double[] toArray()
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||