types.hpp

00001 #error OLD CODE
00002 
00004 //
00005 // $Id: types.hpp,v 1.1 2006/05/20 18:04:12 werner Exp $
00006 //
00007 // $Log: types.hpp,v $
00008 // Revision 1.1  2006/05/20 18:04:12  werner
00009 // Matrix operations embedded and documented
00010 //
00011 // Revision 1.4  2004/05/13 11:52:53  werner
00012 // Hypercomplex numbers moved into own subdirectory.
00013 //
00014 // Revision 1.3  2004/03/29 11:47:13  werner
00015 // Better file structure, preliminiary rotors.
00016 //
00017 // Revision 1.2  2004/03/22 11:38:13  werner
00018 // Improvements and Bugfixes, better conversion functions and operators.
00019 //
00020 // Revision 1.1  2004/02/13 16:36:21  werner
00021 // Initial preliminiary version of the Vector Algebra Library.
00022 //
00024 #ifndef __Vec_HPP
00025 #define __Vec_HPP "Created 27.02.2001 21:42:27 by werner"
00026 
00027 #include <vecal/Matrix.hpp>
00028 
00029 namespace VecAl
00030 {
00031 
00032 typedef VVector   <2,float > Vec2f;
00033 typedef VVector   <2,double> Vec2d;
00034 
00035 typedef Vector   <3,float > Vec3f;
00036 typedef Vector   <3,double> Vec3d;
00037 
00038 typedef VVector   <4,float > Vec4f;
00039 typedef VVector   <4,double> Vec4d;
00040 
00041 typedef Quadratic<2,float > Matrix2x2f;
00042 typedef Quadratic<2,double> Matrix2x2d;
00043 
00044 typedef Quadratic<3,float > Matrix3x3f;
00045 typedef Quadratic<3,double> Matrix3x3d;
00046 
00047 typedef Quadratic<4,float > Matrix4x4f;
00048 typedef Quadratic<4,double> Matrix4x4d;
00049 
00050 namespace       Double
00051 {
00052 typedef double          real    ;
00053 typedef Vec2d           Vec2    ;
00054 typedef Vec3d           Vec3    ;
00055 typedef Vec4d           Vec4    ;
00056 typedef Matrix2x2d      Matrix2x2;
00057 typedef Matrix3x3d      Matrix3x3;
00058 typedef Matrix4x4d      Matrix4x4;
00059 }
00060 
00061 namespace       Single
00062 {
00063 typedef float           real    ;
00064 typedef Vec2f           Vec2    ;
00065 typedef Vec3f           Vec3    ;
00066 typedef Vec4f           Vec4    ;
00067 typedef Matrix2x2f      Matrix2x2;
00068 typedef Matrix3x3f      Matrix3x3;
00069 typedef Matrix4x4f      Matrix4x4;
00070 }
00071 
00072 } /* namespace VecAl */ 
00073 
00074 #endif /* __Vec_HPP */