[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Toon-members] TooN se2.h se3.h sl.h so2.h so3.h wls.h
From: |
Gerhard Reitmayr |
Subject: |
[Toon-members] TooN se2.h se3.h sl.h so2.h so3.h wls.h |
Date: |
Thu, 07 Apr 2011 23:17:02 +0000 |
CVSROOT: /cvsroot/toon
Module name: TooN
Changes by: Gerhard Reitmayr <gerhard> 11/04/07 23:17:02
Modified files:
. : se2.h se3.h sl.h so2.h so3.h wls.h
Log message:
consequent use of DefaultPrecision for easier use to mobiles
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/TooN/se2.h?cvsroot=toon&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/TooN/se3.h?cvsroot=toon&r1=1.31&r2=1.32
http://cvs.savannah.gnu.org/viewcvs/TooN/sl.h?cvsroot=toon&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/TooN/so2.h?cvsroot=toon&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/TooN/so3.h?cvsroot=toon&r1=1.48&r2=1.49
http://cvs.savannah.gnu.org/viewcvs/TooN/wls.h?cvsroot=toon&r1=1.26&r2=1.27
Patches:
Index: se2.h
===================================================================
RCS file: /cvsroot/toon/TooN/se2.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- se2.h 14 Jun 2010 16:48:23 -0000 1.10
+++ se2.h 7 Apr 2011 23:17:02 -0000 1.11
@@ -48,7 +48,7 @@
/// three numbers (in the space of the Lie Algebra). In this class, the first
two parameters are a
/// translation vector while the third is the amount of rotation in the plane
as for SO2.
/// @ingroup gTransforms
-template <typename Precision = double>
+template <typename Precision = DefaultPrecision>
class SE2 {
public:
/// Default constructor. Initialises the the rotation to zero (the
identity) and the translation to zero
Index: se3.h
===================================================================
RCS file: /cvsroot/toon/TooN/se3.h,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -b -r1.31 -r1.32
--- se3.h 14 Jun 2010 16:48:26 -0000 1.31
+++ se3.h 7 Apr 2011 23:17:02 -0000 1.32
@@ -46,7 +46,7 @@
/// translation vector while the second three are a rotation vector, whose
direction is the axis of rotation
/// and length the amount of rotation (in radians), as for SO3
/// @ingroup gTransforms
-template <typename Precision = double>
+template <typename Precision = DefaultPrecision>
class SE3 {
public:
/// Default constructor. Initialises the the rotation to zero (the
identity) and the translation to zero
Index: sl.h
===================================================================
RCS file: /cvsroot/toon/TooN/sl.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- sl.h 31 Mar 2011 21:04:43 -0000 1.9
+++ sl.h 7 Apr 2011 23:17:02 -0000 1.10
@@ -55,7 +55,7 @@
/// This choice represents the fact that SL(n) can be interpreted as the
product
/// of all symmetric matrices with det() = 1 times SO(n).
/// @ingroup gTransforms
-template <int N, typename Precision = double>
+template <int N, typename Precision = DefaultPrecision>
class SL {
friend std::istream & operator>> <N,Precision>(std::istream &, SL &);
public:
Index: so2.h
===================================================================
RCS file: /cvsroot/toon/TooN/so2.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- so2.h 18 Apr 2010 09:49:18 -0000 1.12
+++ so2.h 7 Apr 2011 23:17:02 -0000 1.13
@@ -46,7 +46,7 @@
/// matrices are members of the Special Orthogonal Lie group SO2. This group
can be parameterised with
/// one number (the rotation angle).
/// @ingroup gTransforms
-template<typename Precision = double>
+template<typename Precision = DefaultPrecision>
class SO2 {
friend std::istream& operator>> <Precision>(std::istream&, SO2& );
friend std::istream& operator>> <Precision>(std::istream&,
SE2<Precision>& );
Index: so3.h
===================================================================
RCS file: /cvsroot/toon/TooN/so3.h,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -b -r1.48 -r1.49
--- so3.h 7 Apr 2011 21:27:03 -0000 1.48
+++ so3.h 7 Apr 2011 23:17:02 -0000 1.49
@@ -49,7 +49,7 @@
/// and whose length is the angle of rotation in radians. Exponentiating this
vector gives the matrix,
/// and the logarithm of the matrix gives this vector.
/// @ingroup gTransforms
-template <typename Precision = double>
+template <typename Precision = DefaultPrecision>
class SO3 {
public:
friend std::istream& operator>> <Precision> (std::istream& is,
SO3<Precision> & rhs);
Index: wls.h
===================================================================
RCS file: /cvsroot/toon/TooN/wls.h,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- wls.h 22 Mar 2011 19:59:59 -0000 1.26
+++ wls.h 7 Apr 2011 23:17:02 -0000 1.27
@@ -43,7 +43,7 @@
/// @param Precision The numerical precision used (double, float etc)
/// @param Decomposition The class used to invert the inverse Covariance
matrix (must have one integer size and one typename precision template
arguments) this is Cholesky by default, but could also be SQSVD
/// @ingroup gEquations
-template <int Size=Dynamic, class Precision=double,
+template <int Size=Dynamic, class Precision=DefaultPrecision,
template<int Size, class Precision> class Decomposition =
Cholesky>
class WLS {
public:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Toon-members] TooN se2.h se3.h sl.h so2.h so3.h wls.h,
Gerhard Reitmayr <=