00001 #ifndef _MY_VecDoubleRef_ 00002 #define _MY_VecDoubleRef_ 00003 #include "vecdouble.h" 00004 #include "matrix.h" 00005 00011 class VecDoubleRef : public VecDouble 00012 { 00013 private: 00014 00015 protected: 00016 00017 public: 00018 00019 VecDoubleRef(double *ptr,unsigned size); 00020 VecDoubleRef(); 00021 VecDoubleRef(unsigned size); 00022 VecDoubleRef(Matrix &M,unsigned row); 00023 00024 void setRef(double *pts,unsigned size); 00025 void setData(double *pts); 00026 00027 }; 00028 00029 #endif