/[marvin]/marvin/src/libsip/type/contsignal.hh
ViewVC logotype

Diff of /marvin/src/libsip/type/contsignal.hh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by vishnou, Tue Aug 26 15:22:10 2003 UTC revision 1.6 by exos, Thu Sep 11 22:45:21 2003 UTC
# Line 62  public: Line 62  public:
62   /** \name Ctor & dtor.                                                         /** \name Ctor & dtor.                                                      
63     ** \{ */     ** \{ */
64    
65    /** \brief Construct a new type of continuous signal    /** \brief Construct a new instance of continuous signal
66       ** \param data: data witch represents signal in double
67       ** \param length: length of data, it's the number of double, be carefull, it should be allocated
68     */     */
   ContSignal(double *data) : Type(data)  
   {  
   };  
69    ContSignal(double *data, int length) : Type(data, length)    ContSignal(double *data, int length) : Type(data, length)
70    {    {
71    };    };
72    /** \} */    /** \} */
73    
74    /** \name Operations    /** \name Operations
75     ** \{ */    ** \{ */
   ContSignal &add ( ContSignal &src1, ContSignal &src2 );  
76        
77    /** \brief Overload operator +    /** \brief Adds two continuous signal not implemented yet
78       ** \param src: signal to add to this
79     */     */
80    ContSignal &operator+(ContSignal &src1)    ContSignal &add ( ContSignal &src);
   {return this->add(*this, src1);};  
   ContSignal &mult ( ContSignal &src1, ContSignal &src2 );  
81        
82    /** \brief Overload operator *    /** \brief Overload operator, add his two paramters not implemented yet
83       ** \param src: signal to add to this
84     */     */
85    ContSignal &operator*(ContSignal &src1)    ContSignal &operator+(ContSignal &src)
86    {return this->mult(*this, src1);};    {return this->add(src);};
87    /** \} */    
88      /** \brief multiplies two continuous signal not implemented yet
89       ** \param src: signal to multiply to this
90       */
91      ContSignal &mult ( ContSignal &src );
92      
93      /** \brief Overload operator multiply not implemented
94       */
95      ContSignal &operator*(ContSignal &src)
96      {return this->mult(src);};
97    
98    /** \name Other operations, do not use this function.    /** \brief min return position of the min value in the signal
99     ** \{ */     */
100    ContSignal &ContSignal::concat ( ContSignal &src1, ContSignal &src2 );    int ContSignal::min ( );
101    ContSignal &ContSignal::hamming ( ContSignal &src );    /** \brief max return position of the max value in the signal not implemented
102    ContSignal &ContSignal::truncate ( ContSignal &src, const int begin, const int end );     */
103    int ContSignal::min ( ContSignal &src );    int ContSignal::max ( );
   int ContSignal::max ( ContSignal &src );  
104    /** \} */    /** \} */
105  };  };
106    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26