 Timestamp:
 11/11/2009 10:56:36 AM (11 years ago)
 Location:
 libs/suds
 Files:

 3 edited
Legend:
 Unmodified
 Added
 Removed

libs/suds/python/expression.py
r153 r204 14 14 print(p[param]) 15 15 16 pca = load_pca(" yalefaces30x50.pca")16 pca = load_pca("../data/eigenspaces/yalefaces30x50.pca") 17 17 w = 30 18 18 h = 50 
libs/suds/src/Image.cpp
r113 r204 32 32 if (m_Image==NULL) cerr<<"Could not open image: "<<filename<<endl; 33 33 assert(m_Image); 34 cerr<<filename<<" "<<m_Image>nChannels<<endl; 35 34 36 } 35 37 
libs/suds/src/Vector.h
r97 r204 60 60 T DistanceFrom(const Vector &other) const; 61 61 T Magnitude() const; 62 T Dot(const Vector<T> &other); 62 63 Vector Normalised() const; 63 64 … … 187 188 188 189 template<class T> 190 T Vector<T>::Dot(const Vector<T> &other) 191 { 192 assert(m_Size==other.m_Size); 193 T acc=0; 194 for (unsigned int i=0; i<m_Size; i++) 195 { 196 acc+=(*this)[i]*other[i]; 197 } 198 return acc; 199 } 200 201 template<class T> 189 202 Vector<T> Vector<T>::Normalised() const 190 203 {
Note: See TracChangeset
for help on using the changeset viewer.