#include <dmatrix.h>
Public Member Functions | |
void | detach () |
int | dim () const |
DVector (const DVector &) | |
DVector (int n=0) | |
X | operator* (const DVector &) const |
DVector | operator* (const X &) const |
DVector | operator+ (const DVector &) const |
DVector | operator- (const DVector &) const |
DVector & | operator= (const DVector &) |
X & | operator[] (int i) |
const X & | operator[] (int i) const |
~DVector () | |
Static Public Member Functions | |
static DVector< X > | I (int) |
Protected Attributes | |
X * | elems |
int * | shares |
int | size |