FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
types.hpp
1#error OLD CODE
2
4//
5// $Id: types.hpp,v 1.1 2006/05/20 18:04:12 werner Exp $
6//
7// $Log: types.hpp,v $
8// Revision 1.1 2006/05/20 18:04:12 werner
9// Matrix operations embedded and documented
10//
11// Revision 1.4 2004/05/13 11:52:53 werner
12// Hypercomplex numbers moved into own subdirectory.
13//
14// Revision 1.3 2004/03/29 11:47:13 werner
15// Better file structure, preliminiary rotors.
16//
17// Revision 1.2 2004/03/22 11:38:13 werner
18// Improvements and Bugfixes, better conversion functions and operators.
19//
20// Revision 1.1 2004/02/13 16:36:21 werner
21// Initial preliminiary version of the Vector Algebra Library.
22//
24#ifndef __Vec_HPP
25#define __Vec_HPP "Created 27.02.2001 21:42:27 by werner"
26
27#include <vecal/Matrix.hpp>
28
29namespace VecAl
30{
31
32typedef VVector <2,float > Vec2f;
33typedef VVector <2,double> Vec2d;
34
35typedef Vector <3,float > Vec3f;
36typedef Vector <3,double> Vec3d;
37
38typedef VVector <4,float > Vec4f;
39typedef VVector <4,double> Vec4d;
40
41typedef Quadratic<2,float > Matrix2x2f;
42typedef Quadratic<2,double> Matrix2x2d;
43
44typedef Quadratic<3,float > Matrix3x3f;
45typedef Quadratic<3,double> Matrix3x3d;
46
47typedef Quadratic<4,float > Matrix4x4f;
48typedef Quadratic<4,double> Matrix4x4d;
49
50namespace Double
51{
52typedef double real ;
53typedef Vec2d Vec2 ;
54typedef Vec3d Vec3 ;
55typedef Vec4d Vec4 ;
56typedef Matrix2x2d Matrix2x2;
57typedef Matrix3x3d Matrix3x3;
58typedef Matrix4x4d Matrix4x4;
59}
60
61namespace Single
62{
63typedef float real ;
64typedef Vec2f Vec2 ;
65typedef Vec3f Vec3 ;
66typedef Vec4f Vec4 ;
67typedef Matrix2x2f Matrix2x2;
68typedef Matrix3x3f Matrix3x3;
69typedef Matrix4x4f Matrix4x4;
70}
71
72} /* namespace VecAl */
73
74#endif /* __Vec_HPP */