00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifdef DOXYGEN_INCLUDE_ONLY_FOR_DOCS
00020
00022 namespace TooN
00023 {
00024
00026
00027
00034 template<int Size>
00035 Vector<Size> operator-(const Vector<Size>& v);
00036
00044 template<int Size>
00045 Vector<Size> operator+(const Vector<Size>& lhs, const Vector<Size>& rhs);
00046
00054 template<int Size>
00055 Vector<Size>& operator+= (Vector<Size>& lhs, const Vector<Size>& rhs);
00056
00064 template<int Size>
00065 Vector<Size> operator-(const Vector<Size>& lhs, const Vector<Size>& rhs);
00066
00074 template<int Size>
00075 Vector<Size>& operator-= (Vector<Size>& lhs, const Vector<Size>& rhs);
00076
00083 template<int Size>
00084 Vector<Size> operator* (const Vector<Size>& lhs, double rhs);
00085
00092 template<int Size>
00093 Vector<Size> operator* (double lhs, const Vector<Size>& rhs);
00094
00101 template<int Size>
00102 Vector<Size>& operator*= (const Vector<Size>& lhs, const double& rhs);
00103
00110 template<int Size>
00111 Vector<Size> operator/ (const Vector<Size>& lhs, double rhs);
00112
00119 template<int Size>
00120 Vector<Size>& operator/= (const Vector<Size>& lhs, const double& rhs);
00121
00129 template<int Size>
00130 double operator* (const Vector<Size>& lhs, const Vector<Size>& rhs);
00131
00139 Vector<3> operator^ (const Vector<3>& lhs, const Vector<3>& rhs);
00140
00143 template<int Rows, int Cols>
00144 Matrix<Rows, Cols> operator+(const Matrix<Rows, Cols>& lhs, const Matrix<Rows, Cols>& rhs);
00145
00148 template<int Rows, int Cols>
00149 Matrix<Rows, Cols>& operator+= (Matrix<Rows, Cols>& lhs, const Matrix<Rows, Cols>& rhs);
00150
00153 template<int Rows, int Cols>
00154 Matrix<Rows, Cols> operator-(const Matrix<Rows, Cols>& lhs, const Matrix<Rows, Cols>& rhs);
00155
00158 template<int Rows, int Cols>
00159 Matrix<Rows, Cols>& operator-= (Matrix<Rows, Cols>& lhs, const Matrix<Rows, Cols>& rhs);
00160
00163 template<int Rows, int Cols>
00164 Matrix<Rows, Cols> operator* (const Matrix<Rows, Cols>& lhs, double rhs);
00165
00168 template<int rows, int Cols>
00169 Matrix<Rows, Cols> operator* (double lhs, const Matrix<Rows, Cols>& rhs);
00170
00173 template<int Rows, int Cols>
00174 Matrix<Rows, Cols>& operator*= (const Matrix<Rows, Cols>& lhs, const double& rhs);
00175
00178 template<int Rows, int Cols>
00179 Matrix<Rows, Cols> operator/ (const Matrix<Rows, Cols>& lhs, double rhs);
00180
00183 template<int Rows, int Cols>
00184 Matrix<Rows, Cols>& operator/= (const Matrix<Rows, Cols>& lhs, const double& rhs);
00185
00189 template<int Rows, int Cols>
00190 Vector<Rows> operator* (const Matrix<Rows, Cols>& lhs, const Vector<Cols>& rhs);
00191
00195 template<int Rows, int Cols>
00196 Vector<Cols> operator* (const Vector<Rows>& lhs, const Matrix<Rows, Cols>& rhs);
00197
00200 template<int Rows, int Inter, int Cols>
00201 Matrix<Cols> operator* (const Matrix<Inter, Rows>& lhs, const Matrix<Inter, Cols>& rhs);
00202
00207 template<int Size>
00208 Vector<Size> diagmult(const Vector<Size>& lhs, const Vector<Size>& rhs);
00209
00212 template<int Rows, Cols>
00213 Matrix<Rows, Cols> diagmult(const Vector<Rows>& lhs, const Matrix<Rows, Cols>& rhs);
00214
00217 template<int Rows, Cols>
00218 Matrix<Rows, Cols> diagmult(const Matrix<Rows, Cols>& lhs, const Vector<Cols>& rhs);
00219
00220
00222
00223
00224 }
00225
00226 #endif