Changeset 303 in Sophya for trunk/SophyaLib
- Timestamp:
- May 18, 1999, 3:29:12 PM (26 years ago)
- Location:
- trunk/SophyaLib/NTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/NTools/cvector.cc
r244 r303 3 3 #include "cvector.h" 4 4 #include "generalfit.h" 5 #include "tvector.h" 5 6 6 7 //++ … … 62 63 memcpy(data, a.data, a.nr * sizeof(double)); 63 64 END_CONSTRUCTOR 65 } 66 67 //++ 68 Vector::Vector(const TVector<r_8>& v) 69 // 70 // Constructeur par "copie" a partir d'un TVector<r_8>. 71 // Attention, les donnees sont partagees. 72 //-- 73 : Matrix(v) 74 { 64 75 } 65 76 -
trunk/SophyaLib/NTools/cvector.h
r220 r303 6 6 7 7 class GeneralFit; 8 #include "tvector.h" 9 //cmv template <class T> class TVector; 8 10 9 11 // <summary> Vecteur colonne pour operations matricielles </summary> … … 11 13 // des operations matricielles. 12 14 class Vector : public Matrix { 15 friend class TVector<r_8>; 13 16 public: 14 17 // Constructeur, n = nombre d'elements. … … 21 24 // <thrown> sizeMismatchErr </thrown> 22 25 Vector(const Matrix& a); 26 // Constructeur par copie a partir d'un TVector<r_8> 27 Vector(const TVector<r_8>& v); 23 28 24 29 // Construction automatique pour PPF
Note:
See TracChangeset
for help on using the changeset viewer.