39 for (
int i = 0; i < Size; ++i ) { this->
data[i] += a2.
data[i]; }
43 for (
int i = 0; i < Size; ++i ) { this->
data[i] += v; }
47 for (
int i = 0; i < Size; ++i ) { this->
data[i] -= a2.
data[i]; }
51 for (
int i = 0; i < Size; ++i ) { this->
data[i] -= v; }
55 for (
int i = 0; i < Size; ++i ) { this->
data[i] *= a2.
data[i]; }
59 for (
int i = 0; i < Size; ++i ) { this->
data[i] *= v; }
63 for (
int i = 0; i < Size; ++i ) { this->
data[i] /= a2.
data[i]; }
67 for (
int i = 0; i < Size; ++i ) { this->
data[i] /= v; }
Array< Elem, Size > & operator=(const Array< Elem, Size > &a2)
friend MathArray< Elem, Size > operator-(const Array< Elem, Size > &a1, const Array< Elem, Size > &a2)
MathArray< Elem, Size > & operator*=(const Array< Elem, Size > &a2)
MathArray< Elem, Size > & operator+=(const Array< Elem, Size > &a2)
MathArray< Elem, Size > & operator=(const Array< Elem, Size > &a2)
friend MathArray< Elem, Size > operator/(const Array< Elem, Size > &a1, const Array< Elem, Size > &a2)
MathArray(const Array< Elem, Size > &a2)
MathArray< Elem, Size > & operator/=(const Array< Elem, Size > &a2)
friend MathArray< Elem, Size > operator+(const Array< Elem, Size > &a1, const Array< Elem, Size > &a2)
MathArray< Elem, Size > & operator-=(const Array< Elem, Size > &a2)
friend MathArray< Elem, Size > operator*(const Array< Elem, Size > &a1, const Array< Elem, Size > &a2)