Lines Matching refs:operator

145 inline VLHS<TYPE, SIZE> PURE operator + (
157 inline VLHS<TYPE, SIZE> PURE operator - (
168 inline VEC<TYPE, SIZE> PURE operator * (
179 inline VEC<TYPE, SIZE> PURE operator * (
245 vec<TYPE, SIZE> PURE operator - (const vec<TYPE, SIZE>& lhs) {
260 inline const TYPE& operator[](size_t i) const { return v[i]; }
261 inline TYPE& operator[](size_t i) { return v[i]; }
269 inline const float& operator[](size_t i) const { return v[i]; }
270 inline float& operator[](size_t i) { return v[i]; }
280 inline const float& operator[](size_t i) const { return v[i]; }
281 inline float& operator[](size_t i) { return v[i]; }
293 inline const float& operator[](size_t i) const { return v[i]; }
294 inline float& operator[](size_t i) { return v[i]; }
332 base::operator[](i) = rhs;
342 base::operator[](i) = array[i];
348 vec& operator = (const vec& rhs) {
349 base::operator=(rhs);
353 vec& operator = (const base& rhs) {
354 base::operator=(rhs);
358 vec& operator = (pTYPE rhs) {
360 base::operator[](i) = rhs;
365 vec& operator = (const VEC<TYPE, S>& rhs) {
372 vec& operator += (const vec& rhs);
373 vec& operator -= (const vec& rhs);
374 vec& operator *= (pTYPE rhs);
385 friend inline vec PURE operator + (const vec& lhs, const vec& rhs) {
388 friend inline vec PURE operator - (const vec& lhs, const vec& rhs) {
391 friend inline vec PURE operator * (const vec& lhs, pTYPE v) {
394 friend inline vec PURE operator * (pTYPE v, const vec& rhs) {
405 vec<TYPE, SIZE>& vec<TYPE, SIZE>::operator += (const vec<TYPE, SIZE>& rhs) {
413 vec<TYPE, SIZE>& vec<TYPE, SIZE>::operator -= (const vec<TYPE, SIZE>& rhs) {
421 vec<TYPE, SIZE>& vec<TYPE, SIZE>::operator *= (vec<TYPE, SIZE>::pTYPE rhs) {