All Packages Class Hierarchy This Package Previous Next Index WEKA's home
Class weka.classifiers.m5.Dvector
java.lang.Object
|
+----weka.classifiers.m5.Dvector
- public final class Dvector
- extends Object
Class for handling a double vector.
- Version:
- $Revision: 1.2 $
- Author:
- Yong Wang (yongwang@cs.waikato.ac.nz)
-
Dvector()
-
-
copy(double[], int)
- Returns a copy of the first n elements of a double vector
-
print(double[], int, int)
- Prints the indexed elements in a double vector
Dvector
public Dvector()
copy
public static final double[] copy(double a[],
int n)
- Returns a copy of the first n elements of a double vector
- Parameters:
- a - a double vector
- n - a[0:n-1] will be copied
- Returns:
- a copy of a[0:n-1]
print
public static final void print(double a[],
int first,
int last)
- Prints the indexed elements in a double vector
- Parameters:
- a - a double vector
- first - the index of the first instance for printing
- last - the index of the last instance for printing
All Packages Class Hierarchy This Package Previous Next Index WEKA's home