|
CS488 PA1
|
1 #ifndef edu_jmu_cs_Vector_h 2 #define edu_jmu_cs_Vector_h 32 void allocateMemory();
37 void deallocateMemory();
46 void setSize(
int size,
char orientation);
72 Vector(
int size,
char orientation);
95 double get(
int i)
const;
102 char getOrientation()
const;
117 void set(
int i,
double value);
124 void setValues(
double value);
130 static const char COLUMN =
'C';
135 static const char ROW =
'R';
int size
Definition: Vector.h:27
double * values
Definition: Vector.h:21
char orientation
Definition: Vector.h:16