public class InputVector extends Vector
Vector.Type| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
(package private) double |
y |
| Constructor and Description |
|---|
InputVector() |
InputVector(double[] vals,
boolean copy,
double y)
Creates a dense vector from the given values
|
InputVector(HashMap<Integer,Double> pairs,
boolean copy,
double y)
Creates a sparse vector from the given values
|
InputVector(InputVector x)
Copy constructor
|
private static final long serialVersionUID
double y
public InputVector()
public InputVector(double[] vals,
boolean copy,
double y)
vals - copy - y - public InputVector(HashMap<Integer,Double> pairs, boolean copy, double y)
pairs - copy - y - public InputVector(InputVector x)
x - Copyright © 2014. All rights reserved.