GCpp general purpose C++ library
version 1.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
GVector4.hh
Go to the documentation of this file.
1
//======================================================================
2
/*! \file GVector4.hh
3
*
4
* Include file for 4D vectors.
5
*/
6
//======================================================================
7
8
#ifndef G_VECTOR4_HH
9
#define G_VECTOR4_HH
10
11
#include "
GVectorD.hh
"
12
13
14
//======================================================================
15
16
/*! \class GVector4
17
*
18
* Class defining a 4-dimension vector.
19
*/
20
class
GVector4
:
public
GVectorD
21
{
22
//----------------------------------------------------------
23
GObject
(
GVector4
)
24
//----------------------------------------------------------
25
26
protected
:
27
28
29
public
:
30
//----------------------------------------------------------
31
// Constructors
32
GVector4
(
double
x0 = 0.L,
double
x1 = 0.L,
double
x2 = 0.L,
double
x3 = 0.L );
33
GVector4
(
double
x[] );
34
GVector4
(
const
GVector4
& v );
35
GVector4
(
const
GVectorD
& v );
// for automatic conversions
36
37
/*! Destructor.*/
38
virtual
~GVector4
( ) { }
39
40
};
41
42
43
//======================================================================
44
#endif
45
GVector4::GVector4
GVector4(double x0=0.L, double x1=0.L, double x2=0.L, double x3=0.L)
Definition:
GVector4.cpp:22
GVector4
Definition:
GVector4.hh:20
GVectorD.hh
GObject
#define GObject(T)
Definition:
GClassDefine.hh:65
GVector4::~GVector4
virtual ~GVector4()
Definition:
GVector4.hh:38
GVectorT
Definition:
GMatrixT.hh:16
src
Math
GVector4.hh
Generated on Fri Mar 27 2020 19:06:45 for GCpp general purpose C++ library by
1.8.5