ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
gsl::const_mksa Namespace Reference

Various constants. More...

Functions

double const speed_of_light ()
 
double const gravitational_constant ()
 
double const Planks_constant_h ()
 
double const Planks_constant_hbar ()
 
double const astronomical_unit ()
 
double const light_year ()
 
double const parsec ()
 
double const grav_accel ()
 
double const electron_volt ()
 
double const mass_electron ()
 
double const mass_muon ()
 
double const mass_proton ()
 
double const mass_neutron ()
 
double const Rydberg ()
 
double const Boltzmann ()
 
double const molar_gas ()
 
double const standard_gas_volume ()
 
double const minute ()
 
double const hour ()
 
double const day ()
 
double const week ()
 
double const inch ()
 
double const foot ()
 
double const yard ()
 
double const mile ()
 
double const nautical_mile ()
 
double const fathom ()
 
double const mil ()
 
double const point ()
 
double const TeXpoint ()
 
double const micron ()
 
double const angstrom ()
 
double const hectare ()
 
double const acre ()
 
double const barn ()
 
double const liter ()
 
double const gallon ()
 
double const quart ()
 
double const pint ()
 
double const cup ()
 
double const fluid_ounce ()
 
double const tablespoon ()
 
double const teaspoon ()
 
double const Canadian_gallon ()
 
double const UK_gallon ()
 
double const miles_per_hour ()
 
double const kilometers_per_hour ()
 
double const knot ()
 
double const pound_mass ()
 
double const ounce_mass ()
 
double const ton ()
 
double const metric_tonne ()
 
double const UK_ton ()
 
double const troy_ounce ()
 
double const carat ()
 
double const unified_atomic_mass ()
 
double const gram_force ()
 
double const pound_force ()
 
double const kilopound_force ()
 
double const poundal ()
 
double const calorie ()
 
double const BTU ()
 
double const therm ()
 
double const horsepower ()
 
double const bar ()
 
double const std_atmosphere ()
 
double const torr ()
 
double const meter_of_mercury ()
 
double const inch_of_mercury ()
 
double const inch_of_water ()
 
double const PSI ()
 
double const poise ()
 
double const stokes ()
 
double const stilb ()
 
double const lumen ()
 
double const lux ()
 
double const phot ()
 
double const footcandle ()
 
double const lambert ()
 
double const footlambert ()
 
double const curie ()
 
double const roentgen ()
 
double const rad ()
 
double const solar_mass ()
 
double const Bohr_radius ()
 
double const Newton ()
 
double const Dyne ()
 
double const Joule ()
 
double const erg ()
 
double const Stefan_Boltzmann_constant ()
 
double const Thomson_cross_section ()
 
double const Bohr_magneton ()
 
double const nuclear_magneton ()
 
double const electon_magnetic_moment ()
 
double const proton_magnetic_moment ()
 
double const Faraday ()
 
double const electon_charge ()
 
double const vacuum_permitivity ()
 
double const vacuum_permeability ()
 
double const Debye ()
 
double const Gauss ()
 

Detailed Description

Various constants.

This namespace is fairly pointless since all the constants are probably more sensibly use through the GSL constants, but it is here for completeness.

Function Documentation

◆ acre()

double const gsl::const_mksa::acre ( )
inline
Returns
The area of one acre

Definition at line 167 of file const_mksa.hpp.

◆ angstrom()

double const gsl::const_mksa::angstrom ( )
inline
Returns
The length of one angstrom

Definition at line 159 of file const_mksa.hpp.

◆ astronomical_unit()

double const gsl::const_mksa::astronomical_unit ( )
inline
Returns
One astronomical unit (earth–sun distance)

Definition at line 51 of file const_mksa.hpp.

◆ bar()

double const gsl::const_mksa::bar ( )
inline
Returns
The pressure of one bar

Definition at line 291 of file const_mksa.hpp.

◆ barn()

double const gsl::const_mksa::barn ( )
inline
Returns
The area of one barn

Definition at line 171 of file const_mksa.hpp.

◆ Bohr_magneton()

double const gsl::const_mksa::Bohr_magneton ( )
inline
Returns
The Bohr magneton \(\mu_{\mbox{B}}\)

Definition at line 399 of file const_mksa.hpp.

◆ Bohr_radius()

double const gsl::const_mksa::Bohr_radius ( )
inline
Returns
The Bohr radius \(a_0\)

Definition at line 371 of file const_mksa.hpp.

◆ Boltzmann()

double const gsl::const_mksa::Boltzmann ( )
inline
Returns
The Boltzman constant \(k\)

Definition at line 91 of file const_mksa.hpp.

◆ BTU()

double const gsl::const_mksa::BTU ( )
inline
Returns
The energy of one British thermal unit

Definition at line 279 of file const_mksa.hpp.

◆ calorie()

double const gsl::const_mksa::calorie ( )
inline
Returns
The energy of one calorie

Definition at line 275 of file const_mksa.hpp.

◆ Canadian_gallon()

double const gsl::const_mksa::Canadian_gallon ( )
inline
Returns
The volume of one Canadian gallon

Definition at line 207 of file const_mksa.hpp.

◆ carat()

double const gsl::const_mksa::carat ( )
inline
Returns
The mass of one carat

Definition at line 251 of file const_mksa.hpp.

◆ cup()

double const gsl::const_mksa::cup ( )
inline
Returns
The volume of one cup

Definition at line 191 of file const_mksa.hpp.

◆ curie()

double const gsl::const_mksa::curie ( )
inline
Returns
The activity of one curie

Definition at line 355 of file const_mksa.hpp.

◆ day()

double const gsl::const_mksa::day ( )
inline
Returns
The number of seconds in one day

Definition at line 111 of file const_mksa.hpp.

◆ Debye()

double const gsl::const_mksa::Debye ( )
inline
Returns
The electrical dipole moment of one Debye

Definition at line 431 of file const_mksa.hpp.

◆ Dyne()

double const gsl::const_mksa::Dyne ( )
inline
Returns
The force of one Dyne

Definition at line 379 of file const_mksa.hpp.

◆ electon_charge()

double const gsl::const_mksa::electon_charge ( )
inline
Returns
The charge on an electron

Definition at line 419 of file const_mksa.hpp.

◆ electon_magnetic_moment()

double const gsl::const_mksa::electon_magnetic_moment ( )
inline
Returns
The absolute value of the magnetic moment of the electron \(\mu_{\mbox{e}}\)

Definition at line 407 of file const_mksa.hpp.

◆ electron_volt()

double const gsl::const_mksa::electron_volt ( )
inline
Returns
The energy of one electron volt \(eV\)

Definition at line 67 of file const_mksa.hpp.

◆ erg()

double const gsl::const_mksa::erg ( )
inline
Returns
The energy of one erg

Definition at line 387 of file const_mksa.hpp.

◆ Faraday()

double const gsl::const_mksa::Faraday ( )
inline
Returns
The molar charge of one Faraday

Definition at line 415 of file const_mksa.hpp.

◆ fathom()

double const gsl::const_mksa::fathom ( )
inline
Returns
The length of one fathom

Definition at line 139 of file const_mksa.hpp.

◆ fluid_ounce()

double const gsl::const_mksa::fluid_ounce ( )
inline
Returns
The volume of one fluid ounce

Definition at line 195 of file const_mksa.hpp.

◆ foot()

double const gsl::const_mksa::foot ( )
inline
Returns
The length of one foot

Definition at line 123 of file const_mksa.hpp.

◆ footcandle()

double const gsl::const_mksa::footcandle ( )
inline
Returns
The luminance of one footcandle

Definition at line 343 of file const_mksa.hpp.

◆ footlambert()

double const gsl::const_mksa::footlambert ( )
inline
Returns
The luminance of one footlambert

Definition at line 351 of file const_mksa.hpp.

◆ gallon()

double const gsl::const_mksa::gallon ( )
inline
Returns
The volume of one litre

Definition at line 179 of file const_mksa.hpp.

◆ Gauss()

double const gsl::const_mksa::Gauss ( )
inline
Returns
the magnetic field of one Gauss

Definition at line 435 of file const_mksa.hpp.

◆ gram_force()

double const gsl::const_mksa::gram_force ( )
inline
Returns
The force of one gram weight

Definition at line 259 of file const_mksa.hpp.

◆ grav_accel()

double const gsl::const_mksa::grav_accel ( )
inline
Returns
The standard gravitational acceleration on Earth

Definition at line 63 of file const_mksa.hpp.

◆ gravitational_constant()

double const gsl::const_mksa::gravitational_constant ( )
inline
Returns
The gravitational constant \(G\)

Definition at line 39 of file const_mksa.hpp.

◆ hectare()

double const gsl::const_mksa::hectare ( )
inline
Returns
The area of one hectare

Definition at line 163 of file const_mksa.hpp.

◆ horsepower()

double const gsl::const_mksa::horsepower ( )
inline
Returns
The power of one horsepower

Definition at line 287 of file const_mksa.hpp.

◆ hour()

double const gsl::const_mksa::hour ( )
inline
Returns
The number of seconds in one hour

Definition at line 107 of file const_mksa.hpp.

◆ inch()

double const gsl::const_mksa::inch ( )
inline
Returns
The length of one inch

Definition at line 119 of file const_mksa.hpp.

◆ inch_of_mercury()

double const gsl::const_mksa::inch_of_mercury ( )
inline
Returns
The pressure of one inch of mercury

Definition at line 307 of file const_mksa.hpp.

◆ inch_of_water()

double const gsl::const_mksa::inch_of_water ( )
inline
Returns
The pressure of one inch of water

Definition at line 311 of file const_mksa.hpp.

◆ Joule()

double const gsl::const_mksa::Joule ( )
inline
Returns
The energy of one Joule

Definition at line 383 of file const_mksa.hpp.

◆ kilometers_per_hour()

double const gsl::const_mksa::kilometers_per_hour ( )
inline
Returns
The speed of one kilometer per hour

Definition at line 219 of file const_mksa.hpp.

◆ kilopound_force()

double const gsl::const_mksa::kilopound_force ( )
inline
Returns
The force of one kilopound weight

Definition at line 267 of file const_mksa.hpp.

◆ knot()

double const gsl::const_mksa::knot ( )
inline
Returns
The speed of one knot

Definition at line 223 of file const_mksa.hpp.

◆ lambert()

double const gsl::const_mksa::lambert ( )
inline
Returns
The luminance of one lambert

Definition at line 347 of file const_mksa.hpp.

◆ light_year()

double const gsl::const_mksa::light_year ( )
inline
Returns
Distance of one light year

Definition at line 55 of file const_mksa.hpp.

◆ liter()

double const gsl::const_mksa::liter ( )
inline
Returns
The volume of one litre/liter

Definition at line 175 of file const_mksa.hpp.

◆ lumen()

double const gsl::const_mksa::lumen ( )
inline
Returns
The luminous flux of one lumen

Definition at line 331 of file const_mksa.hpp.

◆ lux()

double const gsl::const_mksa::lux ( )
inline
Returns
The illuminance of one lux

Definition at line 335 of file const_mksa.hpp.

◆ mass_electron()

double const gsl::const_mksa::mass_electron ( )
inline
Returns
The mass of an electron

Definition at line 71 of file const_mksa.hpp.

◆ mass_muon()

double const gsl::const_mksa::mass_muon ( )
inline
Returns
The mass of an muon

Definition at line 75 of file const_mksa.hpp.

◆ mass_neutron()

double const gsl::const_mksa::mass_neutron ( )
inline
Returns
The mass of an neutron

Definition at line 83 of file const_mksa.hpp.

◆ mass_proton()

double const gsl::const_mksa::mass_proton ( )
inline
Returns
The mass of an proton

Definition at line 79 of file const_mksa.hpp.

◆ meter_of_mercury()

double const gsl::const_mksa::meter_of_mercury ( )
inline
Returns
The pressure of one meter of mercury

Definition at line 303 of file const_mksa.hpp.

◆ metric_tonne()

double const gsl::const_mksa::metric_tonne ( )
inline
Returns
The mass of one tonne (metric)

Definition at line 239 of file const_mksa.hpp.

◆ micron()

double const gsl::const_mksa::micron ( )
inline
Returns
The length of one micron

Definition at line 155 of file const_mksa.hpp.

◆ mil()

double const gsl::const_mksa::mil ( )
inline
Returns
The length of one mil

Definition at line 143 of file const_mksa.hpp.

◆ mile()

double const gsl::const_mksa::mile ( )
inline
Returns
The length of one mile

Definition at line 131 of file const_mksa.hpp.

◆ miles_per_hour()

double const gsl::const_mksa::miles_per_hour ( )
inline
Returns
The speed of one mile per hour

Definition at line 215 of file const_mksa.hpp.

◆ minute()

double const gsl::const_mksa::minute ( )
inline
Returns
The number of seconds in one minute

Definition at line 103 of file const_mksa.hpp.

◆ molar_gas()

double const gsl::const_mksa::molar_gas ( )
inline
Returns
The molar gas constant \(R_0\)

Definition at line 95 of file const_mksa.hpp.

◆ nautical_mile()

double const gsl::const_mksa::nautical_mile ( )
inline
Returns
The length of one nautical mile

Definition at line 135 of file const_mksa.hpp.

◆ Newton()

double const gsl::const_mksa::Newton ( )
inline
Returns
The force of one Newton

Definition at line 375 of file const_mksa.hpp.

◆ nuclear_magneton()

double const gsl::const_mksa::nuclear_magneton ( )
inline
Returns
The nuclear magneton \(\mu_{\mbox{N}}\)

Definition at line 403 of file const_mksa.hpp.

◆ ounce_mass()

double const gsl::const_mksa::ounce_mass ( )
inline
Returns
The mass of one ounce

Definition at line 231 of file const_mksa.hpp.

◆ parsec()

double const gsl::const_mksa::parsec ( )
inline
Returns
Distance of one parsec

Definition at line 59 of file const_mksa.hpp.

◆ phot()

double const gsl::const_mksa::phot ( )
inline
Returns
The lluminance of one phot

Definition at line 339 of file const_mksa.hpp.

◆ pint()

double const gsl::const_mksa::pint ( )
inline
Returns
The volume of one pint

Definition at line 187 of file const_mksa.hpp.

◆ Planks_constant_h()

double const gsl::const_mksa::Planks_constant_h ( )
inline
Returns
Plank's constant \(h\)

Definition at line 43 of file const_mksa.hpp.

◆ Planks_constant_hbar()

double const gsl::const_mksa::Planks_constant_hbar ( )
inline
Returns
Plank's constant \(\hbar\)

Definition at line 47 of file const_mksa.hpp.

◆ point()

double const gsl::const_mksa::point ( )
inline
Returns
The length of one point

Definition at line 147 of file const_mksa.hpp.

◆ poise()

double const gsl::const_mksa::poise ( )
inline
Returns
The dynamic viscosity of one poise

Definition at line 319 of file const_mksa.hpp.

◆ pound_force()

double const gsl::const_mksa::pound_force ( )
inline
Returns
The force of one pound weight

Definition at line 263 of file const_mksa.hpp.

◆ pound_mass()

double const gsl::const_mksa::pound_mass ( )
inline
Returns
The mass of one pound

Definition at line 227 of file const_mksa.hpp.

◆ poundal()

double const gsl::const_mksa::poundal ( )
inline
Returns
The force of one poundal

Definition at line 271 of file const_mksa.hpp.

◆ proton_magnetic_moment()

double const gsl::const_mksa::proton_magnetic_moment ( )
inline
Returns
The absolute value of the magnetic moment of the proton \(\mu_{\mbox{p}}\)

Definition at line 411 of file const_mksa.hpp.

◆ PSI()

double const gsl::const_mksa::PSI ( )
inline
Returns
The pressure of one pound per square inch

Definition at line 315 of file const_mksa.hpp.

◆ quart()

double const gsl::const_mksa::quart ( )
inline
Returns
The volume of one gallon

Definition at line 183 of file const_mksa.hpp.

◆ rad()

double const gsl::const_mksa::rad ( )
inline
Returns
The absorbed dose of one rad

Definition at line 363 of file const_mksa.hpp.

◆ roentgen()

double const gsl::const_mksa::roentgen ( )
inline
Returns
The exposure of one roentgen

Definition at line 359 of file const_mksa.hpp.

◆ Rydberg()

double const gsl::const_mksa::Rydberg ( )
inline
Returns
The Rydberg constant in energy units

Definition at line 87 of file const_mksa.hpp.

◆ solar_mass()

double const gsl::const_mksa::solar_mass ( )
inline
Returns
The mass of the Sun

Definition at line 367 of file const_mksa.hpp.

◆ speed_of_light()

double const gsl::const_mksa::speed_of_light ( )
inline
Returns
Speed of light in a vacuum

Definition at line 35 of file const_mksa.hpp.

◆ standard_gas_volume()

double const gsl::const_mksa::standard_gas_volume ( )
inline
Returns
The molar standard gas volume \(V_0\)

Definition at line 99 of file const_mksa.hpp.

◆ std_atmosphere()

double const gsl::const_mksa::std_atmosphere ( )
inline
Returns
The pressure of one standard atmosphere

Definition at line 295 of file const_mksa.hpp.

◆ Stefan_Boltzmann_constant()

double const gsl::const_mksa::Stefan_Boltzmann_constant ( )
inline
Returns
The Stefan–Boltzman radiation constant \(\sigma\)

Definition at line 391 of file const_mksa.hpp.

◆ stilb()

double const gsl::const_mksa::stilb ( )
inline
Returns
The luminance of one stilb

Definition at line 327 of file const_mksa.hpp.

◆ stokes()

double const gsl::const_mksa::stokes ( )
inline
Returns
The kinematic viscosity of one stokes

Definition at line 323 of file const_mksa.hpp.

◆ tablespoon()

double const gsl::const_mksa::tablespoon ( )
inline
Returns
The volume of one tablespoon

Definition at line 199 of file const_mksa.hpp.

◆ teaspoon()

double const gsl::const_mksa::teaspoon ( )
inline
Returns
The volume of one teaspoon

Definition at line 203 of file const_mksa.hpp.

◆ TeXpoint()

double const gsl::const_mksa::TeXpoint ( )
inline
Returns
The length of one \(\mbox{\TeX}\) point

Definition at line 151 of file const_mksa.hpp.

◆ therm()

double const gsl::const_mksa::therm ( )
inline
Returns
The energy of one therm

Definition at line 283 of file const_mksa.hpp.

◆ Thomson_cross_section()

double const gsl::const_mksa::Thomson_cross_section ( )
inline
Returns
The Thomson cross section \(\sigma_{\mbox{T}}\)

Definition at line 395 of file const_mksa.hpp.

◆ ton()

double const gsl::const_mksa::ton ( )
inline
Returns
The mass of one ton

Definition at line 235 of file const_mksa.hpp.

◆ torr()

double const gsl::const_mksa::torr ( )
inline
Returns
The pressure of one torr

Definition at line 299 of file const_mksa.hpp.

◆ troy_ounce()

double const gsl::const_mksa::troy_ounce ( )
inline
Returns
The mass of one troy ounce

Definition at line 247 of file const_mksa.hpp.

◆ UK_gallon()

double const gsl::const_mksa::UK_gallon ( )
inline
Returns
The volume of one UK gallon

Definition at line 211 of file const_mksa.hpp.

◆ UK_ton()

double const gsl::const_mksa::UK_ton ( )
inline
Returns
The mass of one UK ton

Definition at line 243 of file const_mksa.hpp.

◆ unified_atomic_mass()

double const gsl::const_mksa::unified_atomic_mass ( )
inline
Returns
The unified atomic mass amu

Definition at line 255 of file const_mksa.hpp.

◆ vacuum_permeability()

double const gsl::const_mksa::vacuum_permeability ( )
inline
Returns
The permeability of free space

Definition at line 427 of file const_mksa.hpp.

◆ vacuum_permitivity()

double const gsl::const_mksa::vacuum_permitivity ( )
inline
Returns
The permitivity of free space

Definition at line 423 of file const_mksa.hpp.

◆ week()

double const gsl::const_mksa::week ( )
inline
Returns
The number of seconds in one week

Definition at line 115 of file const_mksa.hpp.

◆ yard()

double const gsl::const_mksa::yard ( )
inline
Returns
The length of one yard

Definition at line 127 of file const_mksa.hpp.