Changeset 3408 in Sophya for trunk/SophyaLib/TArray/arrctcast.h
- Timestamp:
- Nov 23, 2007, 11:54:28 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/TArray/arrctcast.h
r3388 r3408 18 18 //****************************************** 19 19 // Classe NDCBridge : Bridge sur NDataBlock, utile pour cast - sans conversion - de type 20 //! Special Bridge class to be used the ArrayCast class 20 /*! 21 \class NDCBridge 22 \brief Special Bridge class to be used the ArrayCast class 23 \ingroup TArray 24 */ 21 25 template <class T> 22 26 class NDCBridge : public Bridge { … … 35 39 // Fonction de cast de type de contenu - sans conversion - de tableaux 36 40 // pour tableau packe en memoire 37 //! Class to handle Array content cast without conversion (shared data) 41 /*! 42 \ingroup TArray 43 \brief Function to handle Array content cast without conversion (shared data) 44 */ 38 45 template <class T1, class T2> 39 46 TArray< T2 > ArrayCast( TArray< T1 > & a, T2 ct, sa_size_t doff=0, sa_size_t dstep=1) … … 72 79 //****************************************** 73 80 // cast de contenu - sans conversion - tableau complex vers float 74 //! Complex to real array cast - without conversion (shared data) 81 /*! 82 \ingroup TArray 83 \brief Complex to real array cast - without conversion (shared data) 84 */ 75 85 template <class T> 76 86 TArray<T> ArrCastC2R(TArray< complex<T> > & a) … … 82 92 //****************************************** 83 93 // cast de contenu - sans conversion - tableau float vers complex 84 //! Real to complex array cast - without conversion (shared data) 94 /*! 95 \ingroup TArray 96 \brief Real to complex array cast - without conversion (shared data) 97 */ 85 98 template <class T> 86 99 TArray< complex<T> > ArrCastR2C(TArray< T > & a) … … 95 108 // Acces a la partie reelle d'un tableau complex - en shared data 96 109 // To access real part of a complex array (shared data) 110 /*! 111 \ingroup TArray 112 \brief Return the real part of a complex array (shared data) 113 */ 97 114 template <class T> 98 115 TArray<T> SDRealPart(TArray< complex<T> > & a) … … 105 122 // Acces a la partie imaginaire d'un tableau complex - en shared data 106 123 // To access imaginary part of a complex array (shared data) 124 /*! 125 \ingroup TArray 126 \brief Return the imaginary part of a complex array (shared data) 127 */ 107 128 template <class T> 108 129 TArray<T> SDImagPart(TArray< complex<T> > & a)
Note:
See TracChangeset
for help on using the changeset viewer.