Elements  6.2
A C++ base framework for the Euclid Software.
Namespaces | Variables
MathConstants.h File Reference

A few math constants. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Elements
 
 Elements::Kernel
 
 Elements::Kernel::Units
 

Variables

constexpr double Elements::Kernel::Units::pi = 3.14159265358979323846
 \(\pi\) More...
 
constexpr double Elements::Kernel::Units::twopi = 2.0 * pi
 \(2\pi\) More...
 
constexpr double Elements::Kernel::Units::halfpi = pi / 2.0
 \(\pi/2\) More...
 
constexpr double Elements::Kernel::Units::pi2 = pi * pi
 \(\pi^2\) More...
 
constexpr double Elements::Kernel::Units::sqrt_of_pi = 1.77245385090551602730
 \(\sqrt{\pi}\) More...
 
constexpr double Elements::Kernel::Units::sqrt_of_two = 1.41421356237309504880
 \(\sqrt{2}\) More...
 
constexpr double Elements::Kernel::Units::sqrt_of_halfpi = 1.25331413731550025121
 \(\sqrt{\frac{\pi}{2}}\) More...
 
constexpr double Elements::Kernel::Units::gamma = 0.57721566490153286061
 The Euler-Mascheroni \(\gamma\) constant. More...
 
constexpr double Elements::Kernel::Units::e = 2.71828182845904523536
 The base of the natural logarithm \(e\). More...
 

Detailed Description

A few math constants.

Date
Dec 18, 2013
Author
Hubert Degaudenzi

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3.0 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Definition in file MathConstants.h.