Changeset 958 in Sophya for trunk/SophyaLib/TArray/tarray.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/tarray.h

    r956 r958  
    165165// Surcharge d'operateurs A (+,-,*,/) (T) x
    166166
    167 //! Operator TArray = TArray + constant
     167/*! \ingroup TArray \fn operator+(const TArray<T>&,T)
     168  \brief Operator TArray = TArray + constant */
    168169template <class T> inline TArray<T> operator + (const TArray<T>& a, T b)
    169170    {TArray<T> result(a); result.SetTemp(true); result.Add(b); return result;}
    170171
    171 //! Operator TArray = constant + TArray
     172/*! \ingroup TArray \fn operator+(T,const TArray<T>&)
     173  \brief Operator TArray = constant + TArray */
    172174template <class T> inline TArray<T> operator + (T b,const TArray<T>& a)
    173175    {TArray<T> result(a); result.SetTemp(true); result.Add(b); return result;}
    174176
    175 //! Operator TArray = TArray - constant
     177/*! \ingroup TArray \fn operator-(const TArray<T>&,T)
     178  \brief Operator TArray = TArray - constant */
    176179template <class T> inline TArray<T> operator - (const TArray<T>& a, T b)
    177180    {TArray<T> result(a); result.SetTemp(true); result.Sub(b); return result;}
    178181
    179 //! Operator TArray = constant - TArray
     182/*! \ingroup TArray \fn operator-(T,const TArray<T>&)
     183  \brief Operator TArray = constant - TArray */
    180184template <class T> inline TArray<T> operator - (T b,const TArray<T>& a)
    181185    {TArray<T> result(a); result.SetTemp(true); result.SubInv(b); return result;}
    182186
    183 //! Operator TArray = TArray * constant
     187/*! \ingroup TArray \fn operator*(const TArray<T>&,T)
     188  \brief Operator TArray = TArray * constant */
    184189template <class T> inline TArray<T> operator * (const TArray<T>& a, T b)
    185190    {TArray<T> result(a); result.SetTemp(true); result.Mul(b); return result;}
    186191
    187 //! Operator TArray = constant * TArray
     192/*! \ingroup TArray \fn operator*(T,const TArray<T>&)
     193  \brief Operator TArray = constant * TArray */
    188194template <class T> inline TArray<T> operator * (T b,const TArray<T>& a)
    189195    {TArray<T> result(a); result.SetTemp(true); result.Mul(b); return result;}
    190196
    191 //! Operator TArray = TArray / constant
     197/*! \ingroup TArray \fn operator/(const TArray<T>&,T)
     198  \brief Operator TArray = TArray / constant */
    192199template <class T> inline TArray<T> operator / (const TArray<T>& a, T b)
    193200    {TArray<T> result(a); result.SetTemp(true); result.DivInv(b); return result;}
     
    196203// Surcharge d'operateurs C = A (+,-) B
    197204
    198 //! Operator TArray = TArray + TArray
     205/*! \ingroup TArray \fn operator+(const TArray<T>&,const TArray<T>&)
     206  \brief Operator TArray = TArray + TArray */
    199207template <class T>
    200208inline TArray<T> operator + (const TArray<T>& a,const TArray<T>& b)
    201209    {TArray<T> result(a); result.SetTemp(true); result.AddElt(b); return result;}
    202210
    203 //! Operator TArray = TArray - TArray
     211/*! \ingroup TArray \fn operator-(const TArray<T>&,const TArray<T>&)
     212  \brief Operator TArray = TArray - TArray */
    204213template <class T>
    205214inline TArray<T> operator - (const TArray<T>& a,const TArray<T>& b)
Note: See TracChangeset for help on using the changeset viewer.