Go to the source code of this file.
#define _vec_arithmetic_H |
#define vec_arithmetic |
( |
|
V, |
|
|
|
S |
|
) |
| |
Value:
friend V
operator+(
const V &
a,
const S &
b ){
return a + V( b ); } \
friend V
operator-(
const V &
a,
const S &
b ){
return a - V( b ); } \
friend V
operator*(
const V &
a,
const S &
b ){
return a * V( b ); } \
friend V
operator/(
const V &
a,
const S &
b ){
return a / V( b ); } \
friend V
operator+(
const S &
a,
const V &
b ){
return V(a)+
b; } \
friend V
operator-(
const S &
a,
const V &
b ){
return V(a)-
b; } \
friend V
operator*(
const S &
a,
const V &
b ){
return V(a)*
b; } \
friend V
operator/(
const S &
a,
const V &
b ){
return V(a)/
b; } \
RhoError operator-(const RhoError &m1, const RhoError &m2)
friend void operator+=(F32vec1 &a, const F32vec1 &b)
RhoError operator+(const RhoError &m1, const RhoError &m2)
friend void operator-=(F32vec1 &a, const F32vec1 &b)
friend void operator*=(F32vec1 &a, const F32vec1 &b)
RhoError operator*(Double_t t, const RhoError &m1)
friend void operator/=(F32vec1 &a, const F32vec1 &b)
friend F32vec4 operator/(const F32vec4 &a, const F32vec4 &b)
Definition at line 6 of file vec_arithmetic.h.