Lines Matching defs:Vector

72 inline Vector<float, Size> FUNC_NAME (const Vector<float, Size>& v, float s)	\
74 Vector<float, Size> res; \
82 inline Vector<float, Size> FUNC_NAME (float s, const Vector<float, Size>& v) \
84 Vector<float, Size> res; \
92 inline Vector<float, Size> FUNC_NAME (const Vector<float, Size>& v0, const Vector<float, Size>& v1, float s) \
94 Vector<float, Size> res; \
102 inline Vector<float, Size> FUNC_NAME (const Vector<float, Size>& v, float s0, float s1) \
104 Vector<float, Size> res; \
112 inline Vector<float, Size> FUNC_NAME (float s0, float s1, const Vector<float, Size>& v) \
114 Vector<float, Size> res; \
138 template<int Size> inline Vector<float, Size> addOne (const Vector<float, Size>& v) { return v + 1.0f; };
139 template<int Size> inline Vector<float, Size> subOne (const Vector<float, Size>& v) { return v - 1.0f; };
140 template<int Size> inline Vector<int, Size> addOne (const Vector<int, Size>& v) { return v + 1; };
141 template<int Size> inline Vector<int, Size> subOne (const Vector<int, Size>& v) { return v - 1; };
145 template<typename T, int Size> inline Vector<T, Size> addVecScalar (const Vector<T, Size>& v, T s) { return v + s; };
146 template<typename T, int Size> inline Vector<T, Size> subVecScalar (const Vector<T, Size>& v, T s) { return v - s; };
147 template<typename T, int Size> inline Vector<T, Size> mulVecScalar (const Vector<T, Size>& v, T s) { return v * s; };
148 template<typename T, int Size> inline Vector<T, Size> divVecScalar (const Vector<T, Size>& v, T s) { return v / s; };
150 template<typename T, int Size> inline Vector<T, Size> addScalarVec (T s, const Vector<T, Size>& v) { return s + v; };
151 template<typename T, int Size> inline Vector<T, Size> subScalarVec (T s, const Vector<T, Size>& v) { return s - v; };
152 template<typename T, int Size> inline Vector<T, Size> mulScalarVec (T s, const Vector<T, Size>& v) { return s * v; };
153 template<typename T, int Size> inline Vector<T, Size> divScalarVec (T s, const Vector<T, Size>& v) { return s / v; };
613 // Vector math functions.
617 Vector<T, Size> nop (const Vector<T, Size>& v) { return v; }
1150 // 8.6 Vector Relational Functions.