Changeset 894 in Sophya for trunk/SophyaLib/TArray/matharr.h
- Timestamp:
- Apr 12, 2000, 7:42:33 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/TArray/matharr.h
r882 r894 12 12 namespace SOPHYA { 13 13 14 // Class for simple mathematical operation on arrays 15 // Instanciated only for real and double (r_4, r_8) type arrays 16 // Reza 03/2000 14 //! Class for simple mathematical operation on arrays 15 /*! 16 \warning Instanciated only for \b real and \b double (r_4, r_8) type arrays 17 */ 17 18 template <class T> 18 19 class MathArray { … … 84 85 #endif 85 86 87 //! Return \b mean and \b sigma of elements of array \b a 86 88 template <class T> 87 89 inline double MeanSigma(const TArray<T>& a, double & mean, double & sig) 88 90 { MathArray<T> ma; return( ma.MeanSigma(a, mean, sig) ); } 89 91 92 //! Return \b mean of elements of array \b a 90 93 template <class T> 91 94 inline double Mean(const TArray<T>& a)
Note:
See TracChangeset
for help on using the changeset viewer.