Jpp
test-rotations-old-533-g2bdbdb559
the software that should make you happy
Loading...
Searching...
No Matches
software
JMath
JMath/JConstants.hh
Go to the documentation of this file.
1
#ifndef __JMATH__JCONSTANTS__
2
#define __JMATH__JCONSTANTS__
3
4
#include <math.h>
5
6
7
/**
8
* \file
9
* Mathematical constants.
10
* \author mdejong
11
*/
12
namespace
JMATH
{}
13
namespace
JPP
{
using namespace
JMATH
; }
14
15
namespace
JMATH
{
16
17
/**
18
* Mathematical constants.
19
*/
20
static
const
double
PI = acos(-1.0);
//!< pi
21
static
const
double
EULER = 0.577215664901533;
//!< Euler number
22
23
/**
24
* Computing quantities.
25
*/
26
static
const
long
long
int
KILOBYTE = 1024;
//! Number of bytes in a kilo-byte
27
static
const
long
long
int
MEGABYTE = KILOBYTE*
KILOBYTE
;
//! Number of bytes in a mega-byte
28
static
const
long
long
int
GIGABYTE = MEGABYTE*
KILOBYTE
;
//! Number of bytes in a giga-byte
29
}
30
31
#endif
JMATH
Definition
JEigen3D.hh:88
JMATH::KILOBYTE
static const long long int KILOBYTE
Computing quantities.
Definition
JMath/JConstants.hh:26
JPP
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Definition
JAAnetToolkit.hh:45
Generated by
1.12.0