public interface Vector
extends scala.Serializable
Note: Users should not implement this interface.
Modifier and Type | Method and Description |
---|---|
double |
apply(int i)
Gets the value of the ith element.
|
Vector |
copy()
Makes a deep copy of this vector.
|
boolean |
equals(Object other) |
int |
hashCode() |
int |
size()
Size of the vector.
|
double[] |
toArray()
Converts the instance to a double array.
|
breeze.linalg.Vector<Object> |
toBreeze()
Converts the instance to a breeze vector.
|
int size()
double[] toArray()
boolean equals(Object other)
equals
in class Object
int hashCode()
hashCode
in class Object
breeze.linalg.Vector<Object> toBreeze()
double apply(int i)
i
- indexVector copy()