|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weka.classifiers.m5.Dvector
Class for handling a double vector.
Constructor Summary | |
Dvector()
|
Method Summary | |
static double[] |
copy(double[] a,
int n)
Returns a copy of the first n elements of a double vector |
static void |
print(double[] a,
int first,
int last)
Prints the indexed elements in a double vector |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Dvector()
Method Detail |
public static final double[] copy(double[] a, int n)
a
- a double vectorn
- a[0:n-1] will be copiedpublic static final void print(double[] a, int first, int last)
a
- a double vectorfirst
- the index of the first instance for printinglast
- the index of the last instance for printing
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |