doc/linoperatorsdoc.h

00001 /*
00002     Copyright (c) 2005 Paul Smith
00003 
00004     Permission is granted to copy, distribute and/or modify this document under
00005     the terms of the GNU Free Documentation License, Version 1.2 or any later
00006     version published by the Free Software Foundation; with no Invariant
00007     Sections, no Front-Cover Texts, and no Back-Cover Texts.
00008 
00009     You should have received a copy of the GNU Free Documentation License
00010     License along with this library; if not, write to the Free Software
00011     Foundation, Inc.
00012     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
00013 
00014 */
00015 // A proxy version of the Matrix class,
00016 // cleaned up to present a comprehensible
00017 // version of the Mector interface
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

Generated on Thu May 7 20:28:40 2009 for TooN by  doxygen 1.5.3