Lines Matching refs:i

64         for (size_t i = 0; i < lhs.size(); i++) {  variable
65 lhs[i] += v[i];
72 for (size_t i = 0; i < lhs.size(); i++) { variable
73 lhs[i] -= v[i];
85 for (size_t i = 0; i < lhs.size(); i++) { variable
86 lhs[i] += v[i];
92 for (size_t i = 0; i < lhs.size(); i++) { variable
93 lhs[i] -= v[i];
145 for (size_t i = 0; i < lhs.size(); i++) { variable
146 lhs[i] *= v[i];
153 for (size_t i = 0; i < lhs.size(); i++) { variable
154 lhs[i] /= v[i];
166 for (size_t i = 0; i < lhs.size(); i++) { variable
167 lhs[i] *= v[i];
173 for (size_t i = 0; i < lhs.size(); i++) { variable
174 lhs[i] /= v[i];
231 for (size_t i = 0; i < rhs.size(); i++) { variable
232 ++rhs[i];
239 for (size_t i = 0; i < rhs.size(); i++) { variable
240 --rhs[i];
248 for (size_t i = 0; i < r.size(); i++) { variable
249 r[i] = -rv[i];
276 for (size_t i = 0; i < lv.size(); i++) variable
277 if (lv[i] != rv[i])
291 for (size_t i = 0; i < lv.size(); i++) { variable
292 if (lv[i] == rv[i]) {
295 return lv[i] > rv[i];
309 for (size_t i = 0; i < lv.size(); i++) { variable
310 if (lv[i] == rv[i]) {
313 return lv[i] < rv[i];
328 for (size_t i = 0; i < lv.size(); i++) { in equal() local
329 r[i] = lv[i] == rv[i]; in equal()
338 for (size_t i = 0; i < lv.size(); i++) { in notEqual() local
339 r[i] = lv[i] != rv[i]; in notEqual()
348 for (size_t i = 0; i < lv.size(); i++) { in lessThan() local
349 r[i] = lv[i] < rv[i]; in lessThan()
358 for (size_t i = 0; i < lv.size(); i++) { in lessThanEqual() local
359 r[i] = lv[i] <= rv[i]; in lessThanEqual()
368 for (size_t i = 0; i < lv.size(); i++) { in greaterThan() local
369 r[i] = lv[i] > rv[i]; in greaterThan()
378 for (size_t i = 0; i < lv.size(); i++) { in greaterThanEqual() local
379 r[i] = lv[i] >= rv[i]; in greaterThanEqual()
405 for (size_t i = 0; i < lv.size(); i++) { in dot() local
407 r += lv[i] * rv[i]; in dot()
447 for (size_t i = 0; i < v.size(); i++) { in abs() local
448 v[i] = std::abs(v[i]); in abs()
454 for (size_t i = 0; i < v.size(); i++) { in floor() local
455 v[i] = std::floor(v[i]); in floor()
461 for (size_t i = 0; i < v.size(); i++) { in ceil() local
462 v[i] = std::ceil(v[i]); in ceil()
468 for (size_t i = 0; i < v.size(); i++) { in round() local
469 v[i] = std::round(v[i]); in round()
475 for (size_t i = 0; i < v.size(); i++) { in inversesqrt() local
476 v[i] = T(1) / std::sqrt(v[i]); in inversesqrt()
482 for (size_t i = 0; i < v.size(); i++) { in sqrt() local
483 v[i] = std::sqrt(v[i]); in sqrt()
489 for (size_t i = 0; i < v.size(); i++) { in pow() local
490 v[i] = std::pow(v[i], p); in pow()
500 for (size_t i = 0; i< v.size(); i++) { in clamp() local
501 v[i] = std::min(max, std::max(min, v[i])); in clamp()
507 for (size_t i = 0; i<lv.size(); i++) { in fma() local
509 a[i] += (lv[i] * rv[i]); in fma()
515 for (size_t i = 0; i < v.size(); i++) { in min() local
516 v[i] = std::min(u[i], v[i]); in min()
522 for (size_t i = 0; i < v.size(); i++) { in max() local
523 v[i] = std::max(u[i], v[i]); in max()
530 for (size_t i = 0; i < v.size(); i++) { in max() local
531 r = std::max(r, v[i]); in max()
538 for (size_t i = 0; i < v.size(); i++) { in min() local
539 r = std::min(r, v[i]); in min()
545 for (size_t i = 0; i < v.size(); i++) { in apply() local
546 v[i] = f(v[i]); in apply()
552 for (size_t i = 0; i < v.size(); i++) { in any() local
553 if (v[i] != T(0)) return true; in any()
560 for (size_t i = 0; i < v.size(); i++) { in all() local
561 result &= (v[i] != T(0)); in all()
569 for (size_t i = 0; i < v.size(); i++) { in map() local
570 result[i] = f(v[i]); in map()
595 for (size_t i = 0; i < v.size() - 1; i++) { variable
596 stream << T(v[i]) << ", ";