EST_TVector.h (speech_tools-2.4-release) | : | EST_TVector.h (speech_tools-2.5.0-release) | ||
---|---|---|---|---|
skipping to change at line 315 | skipping to change at line 315 | |||
void copy_section(T* dest, int offset=0, int num=-1) const; | void copy_section(T* dest, int offset=0, int num=-1) const; | |||
void set_section(const T* src, int offset=0, int num=-1); | void set_section(const T* src, int offset=0, int num=-1); | |||
/// Create a sub vector. | /// Create a sub vector. | |||
void sub_vector(EST_TVector<T> &sv, int start_c=0, int len=-1); | void sub_vector(EST_TVector<T> &sv, int start_c=0, int len=-1); | |||
/// print out vector. | /// print out vector. | |||
friend ostream& operator << (ostream &st, const EST_TVector<T> &m) | friend ostream& operator << (ostream &st, const EST_TVector<T> &m) | |||
{ | { | |||
int i; | int i; | |||
for (i = 0; i < m.n(); ++i) | for (i = 0; i < m.n(); ++i) | |||
st << m(i) << " "; st << endl; | st << m(i) << " "; | |||
st << endl; | ||||
return st; | return st; | |||
} | } | |||
/// Matrix must be friend to set up subvectors | /// Matrix must be friend to set up subvectors | |||
friend class EST_TMatrix<T>; | friend class EST_TMatrix<T>; | |||
void integrity() const; | void integrity() const; | |||
}; | }; | |||
//@} | //@} | |||
/// assignment operator: fill track with values in list <parameter>s</parameter> . | /// assignment operator: fill track with values in list <parameter>s</parameter> . | |||
template<class T> | ||||
extern EST_TVector<T> &set(EST_TVector<T> &v, const EST_TList<T> &s); | // This appears unuset and potentially causes a namespace clashes with std::set | |||
// is sparrowhawk is used. | ||||
// template<class T> | ||||
// extern EST_TVector<T> &set(EST_TVector<T> &v, const EST_TList<T> &s); | ||||
#undef A_CHECK | #undef A_CHECK | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 7 lines changed or added |