## Types in MathNet.Numerics

Type Constants

Namespace MathNet.Numerics

A collection of frequently used mathematical constants.

### Public fields

#### double E

The number e
 return double

#### double Log2E

The number log[2](e)
 return double

#### double Log10E

The number log[10](e)
 return double

#### double Ln2

The number log[e](2)
 return double

#### double Ln10

The number log[e](10)
 return double

#### double LnPi

The number log[e](pi)
 return double

#### double Ln2PiOver2

The number log[e](2*pi)/2
 return double

#### double InvE

The number 1/e
 return double

#### double SqrtE

The number sqrt(e)
 return double

#### double Sqrt2

The number sqrt(2)
 return double

#### double Sqrt3

The number sqrt(3)
 return double

#### double Sqrt1Over2

The number sqrt(1/2) = 1/sqrt(2) = sqrt(2)/2
 return double

#### double HalfSqrt3

The number sqrt(3)/2
 return double

#### double Pi

The number pi
 return double

#### double Pi2

The number pi*2
 return double

#### double PiOver2

The number pi/2
 return double

#### double Pi3Over2

The number pi*3/2
 return double

#### double PiOver4

The number pi/4
 return double

#### double SqrtPi

The number sqrt(pi)
 return double

#### double Sqrt2Pi

The number sqrt(2pi)
 return double

#### double SqrtPiOver2

The number sqrt(pi/2)
 return double

#### double Sqrt2PiE

The number sqrt(2*pi*e)
 return double

#### double LogSqrt2Pi

The number log(sqrt(2*pi))
 return double

#### double LogSqrt2PiE

The number log(sqrt(2*pi*e))
 return double

#### double LogTwoSqrtEOverPi

The number log(2 * sqrt(e / pi))
 return double

#### double InvPi

The number 1/pi
 return double

#### double TwoInvPi

The number 2/pi
 return double

#### double InvSqrtPi

The number 1/sqrt(pi)
 return double

#### double InvSqrt2Pi

The number 1/sqrt(2pi)
 return double

#### double TwoInvSqrtPi

The number 2/sqrt(pi)
 return double

#### double TwoSqrtEOverPi

The number 2 * sqrt(e / pi)
 return double

#### double Degree

The number (pi)/180 - factor to convert from Degree (deg) to Radians (rad).
 return double

#### double Grad

The number (pi)/200 - factor to convert from NewGrad (grad) to Radians (rad).
 return double

#### double PowerDecibel

The number ln(10)/20 - factor to convert from Power Decibel (dB) to Neper (Np). Use this version when the Decibel represent a power gain but the compared values are not powers (e.g. amplitude, current, voltage).
 return double

#### double NeutralDecibel

The number ln(10)/10 - factor to convert from Neutral Decibel (dB) to Neper (Np). Use this version when either both or neither of the Decibel and the compared values represent powers.
 return double

#### double Catalan

The Catalan constant
Sum(k=0 -> inf){ (-1)^k/(2*k + 1)2 }
 return double

#### double EulerMascheroni

The Euler-Mascheroni constant
lim(n -> inf){ Sum(k=1 -> n) { 1/k - log(n) } }
 return double

#### double GoldenRatio

The number (1+sqrt(5))/2, also known as the golden ratio
 return double

#### double Glaisher

The Glaisher constant
e^(1/12 - Zeta(-1))
 return double

#### double Khinchin

The Khinchin constant
prod(k=1 -> inf){1+1/(k*(k+2))^log(k,2)}
 return double

#### int SizeOfDouble

The size of a double in bytes.
 return int

#### int SizeOfInt

The size of an int in bytes.
 return int

#### int SizeOfFloat

The size of a float in bytes.
 return int

#### int SizeOfComplex

The size of a Complex in bytes.
 return int

#### int SizeOfComplex32

The size of a Complex in bytes.
 return int

#### double SpeedOfLight

Speed of Light in Vacuum: c_0 = 2.99792458e8 [m s^-1] (defined, exact; 2007 CODATA)
 return double

#### double MagneticPermeability

Magnetic Permeability in Vacuum: mu_0 = 4*Pi * 10^-7 [N A^-2 = kg m A^-2 s^-2] (defined, exact; 2007 CODATA)
 return double

#### double ElectricPermittivity

Electric Permittivity in Vacuum: epsilon_0 = 1/(mu_0*c_0^2) [F m^-1 = A^2 s^4 kg^-1 m^-3] (defined, exact; 2007 CODATA)
 return double

#### double CharacteristicImpedanceVacuum

Characteristic Impedance of Vacuum: Z_0 = mu_0*c_0 [Ohm = m^2 kg s^-3 A^-2] (defined, exact; 2007 CODATA)
 return double

#### double GravitationalConstant

Newtonian Constant of Gravitation: G = 6.67429e-11 [m^3 kg^-1 s^-2] (2007 CODATA)
 return double

#### double PlancksConstant

Planck's constant: h = 6.62606896e-34 [J s = m^2 kg s^-1] (2007 CODATA)
 return double

#### double DiracsConstant

Reduced Planck's constant: h_bar = h / (2*Pi) [J s = m^2 kg s^-1] (2007 CODATA)
 return double

#### double PlancksMass

Planck mass: m_p = (h_bar*c_0/G)^(1/2) [kg] (2007 CODATA)
 return double

#### double PlancksTemperature

Planck temperature: T_p = (h_bar*c_0^5/G)^(1/2)/k [K] (2007 CODATA)
 return double

#### double PlancksLength

Planck length: l_p = h_bar/(m_p*c_0) [m] (2007 CODATA)
 return double

#### double PlancksTime

Planck time: t_p = l_p/c_0 [s] (2007 CODATA)
 return double

#### double ElementaryCharge

Elementary Electron Charge: e = 1.602176487e-19 [C = A s] (2007 CODATA)
 return double

#### double MagneticFluxQuantum

Magnetic Flux Quantum: theta_0 = h/(2*e) [Wb = m^2 kg s^-2 A^-1] (2007 CODATA)
 return double

#### double ConductanceQuantum

Conductance Quantum: G_0 = 2*e^2/h [S = m^-2 kg^-1 s^3 A^2] (2007 CODATA)
 return double

#### double JosephsonConstant

Josephson Constant: K_J = 2*e/h [Hz V^-1] (2007 CODATA)
 return double

#### double VonKlitzingConstant

Von Klitzing Constant: R_K = h/e^2 [Ohm = m^2 kg s^-3 A^-2] (2007 CODATA)
 return double

#### double BohrMagneton

Bohr Magneton: mu_B = e*h_bar/2*m_e [J T^-1] (2007 CODATA)
 return double

#### double NuclearMagneton

Nuclear Magneton: mu_N = e*h_bar/2*m_p [J T^-1] (2007 CODATA)
 return double

#### double FineStructureConstant

Fine Structure Constant: alpha = e^2/4*Pi*e_0*h_bar*c_0 [1] (2007 CODATA)
 return double

#### double RydbergConstant

Rydberg Constant: R_infty = alpha^2*m_e*c_0/2*h [m^-1] (2007 CODATA)
 return double

#### double BohrRadius

Bor Radius: a_0 = alpha/4*Pi*R_infty [m] (2007 CODATA)
 return double

#### double HartreeEnergy

Hartree Energy: E_h = 2*R_infty*h*c_0 [J] (2007 CODATA)
 return double

#### double QuantumOfCirculation

Quantum of Circulation: h/2*m_e [m^2 s^-1] (2007 CODATA)
 return double

#### double FermiCouplingConstant

Fermi Coupling Constant: G_F/(h_bar*c_0)^3 [GeV^-2] (2007 CODATA)
 return double

#### double WeakMixingAngle

Weak Mixin Angle: sin^2(theta_W) [1] (2007 CODATA)
 return double

#### double ElectronMass

Electron Mass: [kg] (2007 CODATA)
 return double

#### double ElectronMassEnergyEquivalent

Electron Mass Energy Equivalent: [J] (2007 CODATA)
 return double

#### double ElectronMolarMass

Electron Molar Mass: [kg mol^-1] (2007 CODATA)
 return double

#### double ComptonWavelength

Electron Compton Wavelength: [m] (2007 CODATA)
 return double

#### double ClassicalElectronRadius

Classical Electron Radius: [m] (2007 CODATA)
 return double

#### double ThomsonCrossSection

Thomson Cross Section: [m^2] (2002 CODATA)
 return double

#### double ElectronMagneticMoment

Electron Magnetic Moment: [J T^-1] (2007 CODATA)
 return double

#### double ElectronGFactor

Electon G-Factor: [1] (2007 CODATA)
 return double

#### double MuonMass

Muon Mass: [kg] (2007 CODATA)
 return double

#### double MuonMassEnegryEquivalent

Muon Mass Energy Equivalent: [J] (2007 CODATA)
 return double

#### double MuonMolarMass

Muon Molar Mass: [kg mol^-1] (2007 CODATA)
 return double

#### double MuonComptonWavelength

Muon Compton Wavelength: [m] (2007 CODATA)
 return double

#### double MuonMagneticMoment

Muon Magnetic Moment: [J T^-1] (2007 CODATA)
 return double

#### double MuonGFactor

Muon G-Factor: [1] (2007 CODATA)
 return double

#### double TauMass

Tau Mass: [kg] (2007 CODATA)
 return double

#### double TauMassEnergyEquivalent

Tau Mass Energy Equivalent: [J] (2007 CODATA)
 return double

#### double TauMolarMass

Tau Molar Mass: [kg mol^-1] (2007 CODATA)
 return double

#### double TauComptonWavelength

Tau Compton Wavelength: [m] (2007 CODATA)
 return double

#### double ProtonMass

Proton Mass: [kg] (2007 CODATA)
 return double

#### double ProtonMassEnergyEquivalent

Proton Mass Energy Equivalent: [J] (2007 CODATA)
 return double

#### double ProtonMolarMass

Proton Molar Mass: [kg mol^-1] (2007 CODATA)
 return double

#### double ProtonComptonWavelength

Proton Compton Wavelength: [m] (2007 CODATA)
 return double

#### double ProtonMagneticMoment

Proton Magnetic Moment: [J T^-1] (2007 CODATA)
 return double

#### double ProtonGFactor

Proton G-Factor: [1] (2007 CODATA)
 return double

#### double ShieldedProtonMagneticMoment

Proton Shielded Magnetic Moment: [J T^-1] (2007 CODATA)
 return double

#### double ProtonGyromagneticRatio

Proton Gyro-Magnetic Ratio: [s^-1 T^-1] (2007 CODATA)
 return double

#### double ShieldedProtonGyromagneticRatio

Proton Shielded Gyro-Magnetic Ratio: [s^-1 T^-1] (2007 CODATA)
 return double

#### double NeutronMass

Neutron Mass: [kg] (2007 CODATA)
 return double

#### double NeutronMassEnegryEquivalent

Neutron Mass Energy Equivalent: [J] (2007 CODATA)
 return double

#### double NeutronMolarMass

Neutron Molar Mass: [kg mol^-1] (2007 CODATA)
 return double

#### double NeutronComptonWavelength

Neuron Compton Wavelength: [m] (2007 CODATA)
 return double

#### double NeutronMagneticMoment

Neutron Magnetic Moment: [J T^-1] (2007 CODATA)
 return double

#### double NeutronGFactor

Neutron G-Factor: [1] (2007 CODATA)
 return double

#### double NeutronGyromagneticRatio

Neutron Gyro-Magnetic Ratio: [s^-1 T^-1] (2007 CODATA)
 return double

#### double DeuteronMass

Deuteron Mass: [kg] (2007 CODATA)
 return double

#### double DeuteronMassEnegryEquivalent

Deuteron Mass Energy Equivalent: [J] (2007 CODATA)
 return double

#### double DeuteronMolarMass

Deuteron Molar Mass: [kg mol^-1] (2007 CODATA)
 return double

#### double DeuteronMagneticMoment

Deuteron Magnetic Moment: [J T^-1] (2007 CODATA)
 return double

#### double HelionMass

Helion Mass: [kg] (2007 CODATA)
 return double

#### double HelionMassEnegryEquivalent

Helion Mass Energy Equivalent: [J] (2007 CODATA)
 return double

#### double HelionMolarMass

Helion Molar Mass: [kg mol^-1] (2007 CODATA)
 return double

#### double Avogadro

Avogadro constant: [mol^-1] (2010 CODATA)
 return double

#### double Yotta

The SI prefix factor corresponding to 1 000 000 000 000 000 000 000 000
 return double

#### double Zetta

The SI prefix factor corresponding to 1 000 000 000 000 000 000 000
 return double

#### double Exa

The SI prefix factor corresponding to 1 000 000 000 000 000 000
 return double

#### double Peta

The SI prefix factor corresponding to 1 000 000 000 000 000
 return double

#### double Tera

The SI prefix factor corresponding to 1 000 000 000 000
 return double

#### double Giga

The SI prefix factor corresponding to 1 000 000 000
 return double

#### double Mega

The SI prefix factor corresponding to 1 000 000
 return double

#### double Kilo

The SI prefix factor corresponding to 1 000
 return double

#### double Hecto

The SI prefix factor corresponding to 100
 return double

#### double Deca

The SI prefix factor corresponding to 10
 return double

#### double Deci

The SI prefix factor corresponding to 0.1
 return double

#### double Centi

The SI prefix factor corresponding to 0.01
 return double

#### double Milli

The SI prefix factor corresponding to 0.001
 return double

#### double Micro

The SI prefix factor corresponding to 0.000 001
 return double

#### double Nano

The SI prefix factor corresponding to 0.000 000 001
 return double

#### double Pico

The SI prefix factor corresponding to 0.000 000 000 001
 return double

#### double Femto

The SI prefix factor corresponding to 0.000 000 000 000 001
 return double

#### double Atto

The SI prefix factor corresponding to 0.000 000 000 000 000 001
 return double

#### double Zepto

The SI prefix factor corresponding to 0.000 000 000 000 000 000 001
 return double

#### double Yocto

The SI prefix factor corresponding to 0.000 000 000 000 000 000 000 001
 return double