126 template <
typename T>
127 inline Field<T> operator+(
129 const Field<T>& rhs) {
143 template <
typename T>
144 inline Field<T> operator-(
146 const Field<T>& rhs) {
160 template <
typename T>
161 inline Field<T> operator*(
163 const Field<T>& rhs) {
177 template <
typename T>
178 inline Field<T> operator*(
194 template <
typename T>
195 inline Field<T> operator*(
211 template <
typename T>
212 inline Field<T> operator/(
228 template <
typename T>
229 inline Field<T> operator/(
The Field struct Storage of values in x and y direction.
T x
x the value in x direction
Field< T > & operator*=(double rhs)
The *= operator.
Field< T > & operator-=(const Field< T > &rhs)
The -= operator.
Field< T > & operator+=(const Field< T > &rhs)
The += operator.
Field< T > & operator*=(const Field< T > &rhs)
The *= operator.
T y
y the value in y direction
Field(T xC, T yC)
Construtor.
Field< T > & operator/=(double rhs)
The /= operator.