yarp
Class DVector
java.lang.Object
yarp.DVector
public class DVector
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
swigCMemOwn
protected boolean swigCMemOwn
DVector
public DVector(long cPtr,
boolean cMemoryOwn)
DVector
public DVector()
DVector
public DVector(long n)
getCPtr
public static long getCPtr(DVector obj)
finalize
protected void finalize()
- Overrides:
finalize
in class java.lang.Object
delete
public void delete()
size
public long size()
capacity
public long capacity()
reserve
public void reserve(long n)
isEmpty
public boolean isEmpty()
clear
public void clear()
add
public void add(double x)
get
public double get(int i)
set
public void set(int i,
double val)