Changeset 1013 in Sophya for trunk/SophyaLib/TArray
- Timestamp:
- May 19, 2000, 9:01:50 AM (25 years ago)
- Location:
- trunk/SophyaLib/TArray
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/TArray/matharr.cc
r1010 r1013 149 149 sig = sig/dsz - mean*mean; 150 150 // #if !defined(OS_LINUX) && !defined (__KCC__) 151 #if !defined(__GNUG__) 152 // le std pour que CW comprenne que sqrt(double) vient de math.h! 151 #if !defined(__GNUG__) && !defined (__MWERKS__) 152 if (sig >= 0.) sig = sqrt(sig); 153 #else 154 #if defined (__MWERKS__) 155 // le std pour que CW comprenne que sqrt(double) vient de math.h! 153 156 if (sig >= 0.) sig = std::sqrt(sig); 154 157 #else … … 156 159 // de template !!!! 157 160 if (sig >= 0.) sig = _Sqrt_(sig); 161 #endif 158 162 #endif 159 163 return(mean); -
trunk/SophyaLib/TArray/tmatrix.h
r1003 r1013 19 19 TMatrix(const TMatrix<T>& a, bool share); 20 20 TMatrix(const TArray<T>& a); 21 TMatrix(const TArray<T>& a, bool share, short mm=BaseArray:: CMemoryMapping);21 TMatrix(const TArray<T>& a, bool share, short mm=BaseArray::AutoMemoryMapping); 22 22 23 23 virtual ~TMatrix(); … … 92 92 //! -= : substract a matrix 93 93 inline TMatrix<T>& operator -= (const TMatrix<T>& a) { SubElt(a); return(*this); } 94 95 // Produit matriciel Multiply : C = (*this)*B96 94 TMatrix<T> Multiply(const TMatrix<T>& b, short mm=BaseArray::SameMemoryMapping) const; 95 //! *= : matrix product : C = (*this)*B 97 96 inline TMatrix<T>& operator *= (const TMatrix<T>& b) 98 97 { this->Set(Multiply(b)); return(*this); }
Note:
See TracChangeset
for help on using the changeset viewer.