Lines Matching refs:ui
163 Linear2d& index(unsigned ui, unsigned vi) {
164 assert(ui < us);
166 return (*this)[ui + vi*us];
169 Linear2d index(unsigned ui, unsigned vi) const {
170 if(ui >= us)
174 return (*this)[ui + vi*us];
185 for(unsigned ui = 0; ui < us; ui++) {
186 p += (sk*tk)*index(ui, vi);
223 for(unsigned ui = 0; ui < result.us; ui++) {
225 if(ui < a.us && vi < a.vs)
226 bo += a.index(ui, vi);
227 if(ui < b.us && vi < b.vs)
228 bo += b.index(ui, vi);
229 result.index(ui, vi) = bo;
243 for(unsigned ui = 0; ui < result.us; ui++) {
245 if(ui < a.us && vi < a.vs)
246 bo += a.index(ui, vi);
247 if(ui < b.us && vi < b.vs)
248 bo -= b.index(ui, vi);
249 result.index(ui, vi) = bo;