|
||||
File indexing completed on 2025-01-18 10:10:22
0001 // @(#)root/mathcore:$Id$ 0002 // Authors: W. Brown, M. Fischler, L. Moneta 2005 0003 0004 /********************************************************************** 0005 * * 0006 * Copyright (c) 2005 , LCG ROOT MathLib Team * 0007 * * 0008 * * 0009 **********************************************************************/ 0010 0011 // Header file Vector2Dfwd 0012 // 0013 // Created by: Lorenzo Moneta at Mon Apr 16 2007 0014 // 0015 // 0016 #ifndef ROOT_Math_Vector2Dfwd 0017 #define ROOT_Math_Vector2Dfwd 1 0018 0019 // forward declarations of displacement vectors (Vectors) and type defs definitions 0020 0021 namespace ROOT { 0022 0023 namespace Math { 0024 0025 0026 template<class CoordSystem, class Tag> class DisplacementVector2D; 0027 0028 template<typename T> class Cartesian2D; 0029 template<typename T> class Polar2D; 0030 0031 class DefaultCoordinateSystemTag; 0032 0033 0034 /** 0035 2D Vector based on the cartesian coordinates x,y in double precision 0036 0037 To use it add the line `#include <Vector2D.h>` 0038 0039 See the documentation on the DisplacementVector2D page. 0040 */ 0041 typedef DisplacementVector2D< Cartesian2D<double>, DefaultCoordinateSystemTag > XYVector; 0042 typedef XYVector XYVectorD; 0043 0044 /** 0045 2D Vector based on the cartesian coordinates x,y,z in single precision 0046 0047 To use it add the line `#include <Vector2D.h>` 0048 0049 See the documentation on the DisplacementVector2D page. 0050 */ 0051 typedef DisplacementVector2D< Cartesian2D<float>, DefaultCoordinateSystemTag > XYVectorF; 0052 0053 0054 /** 0055 2D Vector based on the polar coordinates rho, phi in double precision. 0056 0057 To use it add the line `#include <Vector2D.h>` 0058 0059 See the documentation on the DisplacementVector2D page. 0060 */ 0061 typedef DisplacementVector2D< Polar2D<double>, DefaultCoordinateSystemTag > Polar2DVector; 0062 typedef Polar2DVector Polar2DVectorD; 0063 0064 /** 0065 2D Vector based on the polar coordinates rho, phi in single precision. 0066 0067 To use it add the line `#include <Vector2D.h>` 0068 0069 See the documentation on the DisplacementVector2D page. 0070 */ 0071 typedef DisplacementVector2D< Polar2D<float>, DefaultCoordinateSystemTag > Polar2DVectorF; 0072 0073 0074 0075 0076 } // end namespace Math 0077 0078 } // end namespace ROOT 0079 0080 0081 #endif /* ROOT_Math_Vector2Dfwd */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |