Changeset 958 in Sophya for trunk/SophyaLib/TArray/matharr.h


Ignore:
Timestamp:
Apr 18, 2000, 3:38:53 PM (25 years ago)
Author:
ansari
Message:

doc + vire warning cmv 18/04/00

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/TArray/matharr.h

    r942 r958  
    3333#if !defined(__GNUG__)
    3434// see below for g++   
     35/*! \ingroup TArray \fn fabs(const TArray<T>& a)
     36  \brief computation on TArray */
    3537template <class T>
    3638inline TArray<T> fabs(const TArray<T>& a)
    3739  { MathArray<T> ma;   return( ma.ApplyFunction(a, fabs) ); }
    3840
     41/*! \ingroup TArray \fn sqrt(const TArray<T>& a)
     42  \brief computation on TArray */
    3943template <class T>
    4044inline TArray<T> sqrt(const TArray<T>& a)
    4145  { MathArray<T> ma;   return( ma.ApplyFunction(a, sqrt) ); }
    4246
     47/*! \ingroup TArray \fn sin(const TArray<T>& a)
     48  \brief computation on TArray */
    4349template <class T>
    4450inline TArray<T> sin(const TArray<T>& a)
    4551  { MathArray<T> ma;   return( ma.ApplyFunction(a, sin) ); }
    4652
     53/*! \ingroup TArray \fn cos(const TArray<T>& a)
     54  \brief computation on TArray */
    4755template <class T>
    4856inline TArray<T> cos(const TArray<T>& a)
    4957  { MathArray<T> ma;   return( ma.ApplyFunction(a, cos) ); }
    5058
     59/*! \ingroup TArray \fn tan(const TArray<T>& a)
     60  \brief computation on TArray */
    5161template <class T>
    5262inline TArray<T> tan(const TArray<T>& a)
    5363  { MathArray<T> ma;   return( ma.ApplyFunction(a, tan) ); }
    5464
     65/*! \ingroup TArray \fn asin(const TArray<T>& a)
     66  \brief computation on TArray */
    5567template <class T>
    5668inline TArray<T> asin(const TArray<T>& a)
    5769  { MathArray<T> ma;   return( ma.ApplyFunction(a, asin) ); }
    5870
     71/*! \ingroup TArray \fn acos(const TArray<T>& a)
     72  \brief computation on TArray */
    5973template <class T>
    6074inline TArray<T> acos(const TArray<T>& a)
    6175  { MathArray<T> ma;   return( ma.ApplyFunction(a, acos) ); }
    6276
     77/*! \ingroup TArray \fn atan(const TArray<T>& a)
     78  \brief computation on TArray */
    6379template <class T>
    6480inline TArray<T> atan(const TArray<T>& a)
    6581  { MathArray<T> ma;   return( ma.ApplyFunction(a, atan) ); }
    6682
     83/*! \ingroup TArray \fn exp(const TArray<T>& a)
     84  \brief computation on TArray */
    6785template <class T>
    6886inline TArray<T> exp(const TArray<T>& a)
    6987  { MathArray<T> ma;   return( ma.ApplyFunction(a, exp) ); }
    7088
     89/*! \ingroup TArray \fn lof(const TArray<T>& a)
     90  \brief computation on TArray */
    7191template <class T>
    7292inline TArray<T> log(const TArray<T>& a)
    7393  { MathArray<T> ma;   return( ma.ApplyFunction(a, log) ); }
    7494
     95/*! \ingroup TArray \fn log10(const TArray<T>& a)
     96  \brief computation on TArray */
    7597template <class T>
    7698inline TArray<T> log10(const TArray<T>& a)
     
    83105#endif
    84106
    85 //! Return \b mean and \b sigma of elements of array \b a
     107/*! \ingroup TArray \fn MeanSigma(const TArray<T>&,double&,double&)
     108  \brief Return \b mean and \b sigma of elements of array \b a */
    86109template <class T>
    87110inline double MeanSigma(const TArray<T>& a, double & mean, double & sig)
    88111  { MathArray<T> ma;   return( ma.MeanSigma(a, mean, sig) ); }
    89112
    90 //! Return \b mean of elements of array \b a
     113/*! \ingroup TArray \fn Mean(const TArray<T>&)
     114  \brief Return \b mean of elements of array \b a */
    91115template <class T>
    92116inline double Mean(const TArray<T>& a)
Note: See TracChangeset for help on using the changeset viewer.