toon-members
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Toon-members] TooN SymEigen.h TooN.h se3.h


From: Gerhard Reitmayr
Subject: [Toon-members] TooN SymEigen.h TooN.h se3.h
Date: Tue, 19 Apr 2011 09:43:43 +0000

CVSROOT:        /cvsroot/toon
Module name:    TooN
Changes by:     Gerhard Reitmayr <gerhard>      11/04/19 09:43:43

Modified files:
        .              : SymEigen.h TooN.h se3.h 

Log message:
        more usings and added determinant to standard includes

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/TooN/SymEigen.h?cvsroot=toon&r1=1.27&r2=1.28
http://cvs.savannah.gnu.org/viewcvs/TooN/TooN.h?cvsroot=toon&r1=1.61&r2=1.62
http://cvs.savannah.gnu.org/viewcvs/TooN/se3.h?cvsroot=toon&r1=1.32&r2=1.33

Patches:
Index: SymEigen.h
===================================================================
RCS file: /cvsroot/toon/TooN/SymEigen.h,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- SymEigen.h  23 Dec 2009 06:38:21 -0000      1.27
+++ SymEigen.h  19 Apr 2011 09:43:43 -0000      1.28
@@ -141,6 +141,7 @@
                template<typename P, typename B>
                static inline void compute(const Matrix<3,3,P,B>& m, 
Matrix<3,3,P>& eig, Vector<3, P>& ev) {
             //method uses closed form solution of cubic equation to obtain 
roots of characteristic equation.
+            using std::sqrt;
 
             //Polynomial terms of |a - l * Identity|
             //l^3 + a*l^2 + b*l + c

Index: TooN.h
===================================================================
RCS file: /cvsroot/toon/TooN/TooN.h,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -b -r1.61 -r1.62
--- TooN.h      5 May 2010 23:46:53 -0000       1.61
+++ TooN.h      19 Apr 2011 09:43:43 -0000      1.62
@@ -332,5 +332,6 @@
 #include <TooN/internal/data_functions.hh>
 
 #include <TooN/helpers.h>
+#include <TooN/determinant.h>
 
 #endif

Index: se3.h
===================================================================
RCS file: /cvsroot/toon/TooN/se3.h,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -b -r1.32 -r1.33
--- se3.h       7 Apr 2011 23:17:02 -0000       1.32
+++ se3.h       19 Apr 2011 09:43:43 -0000      1.33
@@ -395,6 +395,7 @@
        SizeMismatch<6,S>::test(6, mu.size());
        static const Precision one_6th = 1.0/6.0;
        static const Precision one_20th = 1.0/20.0;
+       using std::sqrt;
        
        SE3<Precision> result;
        
@@ -428,6 +429,7 @@
 
 template <typename Precision>
 inline Vector<6, Precision> SE3<Precision>::ln(const SE3<Precision>& se3) {
+       using std::sqrt;
        Vector<3,Precision> rot = se3.get_rotation().ln();
        const Precision theta = sqrt(rot*rot);
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]