Module: Van::Units::Constants::CGS

Includes:
Van::Units
Defined in:
lib/van/units/constants/cgs.rb

Overview

Constants in the CGS system (cm, g, s)

Large assortment of real world contants in c g s units.

Synopsis

include Van::Units::Constants

CGS::SPEED_OF_LIGHT   #=> 2.99792458e10 cm/s

Constant Summary collapse

SPEED_OF_LIGHT =

cm / s

Math::Constants::CGS::SPEED_OF_LIGHT.cm/s
GRAVITATIONAL_CONSTANT =

cm^3 / g s^2

Math::Constants::CGS::GRAVITATIONAL_CONSTANT.cm**3/g*s**2
PLANCKS_CONSTANT_H =

g cm^2 / s

Math::Constants::CGS::PLANCKS_CONSTANT_H.g*cm*82/s
PLANCKS_CONSTANT_HBAR =

g cm^2 / s

Math::Constants::CGS::PLANCKS_CONSTANT_HBAR.g*cm**2/s
VACUUM_PERMEABILITY =

cm g / A^2 s^2

Math::Constants::CGS::VACUUM_PERMEABILITY.cm*g/A**2*s**2
ASTRONOMICAL_UNIT =

cm

Math::Constants::CGS::ASTRONOMICAL_UNIT.cm
LIGHT_YEAR =

cm

Math::Constants::CGS::LIGHT_YEAR.cm
PARSEC =

cm

Math::Constants::CGS::PARSEC.cm
GRAV_ACCEL =

cm / s^2

Math::Constants::CGS::GRAV_ACCEL.cm/s**2
ELECTRON_VOLT =

g cm^2 / s^2

Math::Constants::CGS::ELECTRON_VOLT.g*cm**2/s**2
MASS_ELECTRON =

g

Math::Constants::CGS::MASS_ELECTRON.g
MASS_MUON =

g

Math::Constants::CGS::MASS_MUON.g
MASS_PROTON =

g

Math::Constants::CGS::MASS_PROTON.g
MASS_NEUTRON =

g

Math::Constants::CGS::MASS_NEUTRON.g
RYDBERG =

g cm^2 / s^2

Math::Constants::CGS::RYDBERG.g*cm**2/s**2
BOLTZMANN =

g cm^2 / K s^2

Math::Constants::CGS::BOLTZMANN.g*cm**2/K*s**2
BOHR_MAGNETON =

A cm^2

Math::Constants::CGS::BOHR_MAGNETON.A*cm**2
NUCLEAR_MAGNETON =

A cm^2

Math::Constants::CGS::NUCLEAR_MAGNETON.A*cm**2
ELECTRON_MAGNETIC_MOMENT =

A cm^2

Math::Constants::CGS::ELECTRON_MAGNETIC_MOMENT.A*cm**2
PROTON_MAGNETIC_MOMENT =

A cm^2

Math::Constants::CGS::PROTON_MAGNETIC_MOMENT.A*cm**2
MOLAR_GAS =

g cm^2 / K mol s^2

Math::Constants::CGS::MOLAR_GAS.g*cm**2/K*mol*s**2
STANDARD_GAS_VOLUME =

cm^3 / mol

Math::Constants::CGS::STANDARD_GAS_VOLUME.cm**3/mol
MINUTE =

s

Math::Constants::CGS::MINUTE.s
HOUR =

s

Math::Constants::CGS::HOUR.s
DAY =

s

Math::Constants::CGS::DAY.s
WEEK =

s

Math::Constants::CGS::WEEK.s
INCH =

cm

Math::Constants::CGS::INCH.cm
FOOT =

cm

Math::Constants::CGS::FOOT.cm
YARD =

cm

Math::Constants::CGS::YARD.cm
MILE =

cm

Math::Constants::CGS::MILE.cm
NAUTICAL_MILE =

cm

Math::Constants::CGS::NAUTICAL_MILE.cm
FATHOM =

cm

Math::Constants::CGS::FATHOM.cm
MIL =

cm

Math::Constants::CGS::MIL.cm
POINT =

cm

Math::Constants::CGS::POINT.cm
TEXPOINT =

cm

Math::Constants::CGS::TEXPOINT.cm
MICRON =

cm

Math::Constants::CGS::MICRON.cm
ANGSTROM =

cm

Math::Constants::CGS::ANGSTROM.cm
HECTARE =

cm^2

Math::Constants::CGS::HECTARE.cm**2
ACRE =

cm^2

Math::Constants::CGS::ACRE.cm**2
BARN =

cm^2

Math::Constants::CGS::BARN.cm**2
LITER =

cm^3

Math::Constants::CGS::LITER.cm**3
US_GALLON =

cm^3

Math::Constants::CGS::US_GALLON.cm**3
QUART =

cm^3

Math::Constants::CGS::QUART.cm**3
PINT =

cm^3

Math::Constants::CGS::PINT.cm**3
CUP =

cm^3

Math::Constants::CGS::CUP.cm**3
FLUID_OUNCE =

cm^3

Math::Constants::CGS::FLUID_OUNCE.cm**3
TABLESPOON =

cm^3

Math::Constants::CGS::TABLESPOON.cm**3
TEASPOON =

cm^3

Math::Constants::CGS::TEASPOON.cm**3
CANADIAN_GALLON =

cm^3

Math::Constants::CGS::CANADIAN_GALLON.cm**3
UK_GALLON =

cm^3

Math::Constants::CGS::UK_GALLON.cm**3
MILES_PER_HOUR =

cm / s

Math::Constants::CGS::MILES_PER_HOUR.cm/s
KILOMETERS_PER_HOUR =

cm / s

Math::Constants::CGS::KILOMETERS_PER_HOUR.cm/s
KNOT =

cm / s

Math::Constants::CGS::KNOT.cm/s
POUND_MASS =

g

Math::Constants::CGS::POUND_MASS.g
OUNCE_MASS =

g

Math::Constants::CGS::OUNCE_MASS.g
TON =

g

Math::Constants::CGS::TON.g
METRIC_TON =

g

Math::Constants::CGS::METRIC_TON.g
UK_TON =

g

Math::Constants::CGS::UK_TON.g
TROY_OUNCE =

g

Math::Constants::CGS::TROY_OUNCE.g
CARAT =

g

Math::Constants::CGS::CARAT.g
UNIFIED_ATOMIC_MASS =

g

Math::Constants::CGS::UNIFIED_ATOMIC_MASS.g
GRAM_FORCE =

cm g / s^2

Math::Constants::CGS::GRAM_FORCE.cm*g/s**2
POUND_FORCE =

cm g / s^2

Math::Constants::CGS::POUND_FORCE.cm*g/s**2
KILOPOUND_FORCE =

cm g / s^2

Math::Constants::CGS::KILOPOUND_FORCE.cm*g/s**2
POUNDAL =

cm g / s^2

Math::Constants::CGS::POUNDAL.cm*g/s**2
CALORIE =

g cm^2 / s^2

Math::Constants::CGS::CALORIE.g*cm**2/s**2
BTU =

g cm^2 / s^2

Math::Constants::CGS::BTU.g*cm**2/s**2
THERM =

g cm^2 / s^2

Math::Constants::CGS::THERM.g*cm**2/s**2
HORSEPOWER =

g cm^2 / s^3

Math::Constants::CGS::HORSEPOWER.g*cm**2/s**3
BAR =

g / cm s^2

Math::Constants::CGS::BAR.g/cm*s**2
STD_ATMOSPHERE =

g / cm s^2

Math::Constants::CGS::STD_ATMOSPHERE.g/cm*s**2
TORR =

g / cm s^2

Math::Constants::CGS::TORR.g/cm*s**2
METER_OF_MERCURY =

g / cm s^2

Math::Constants::CGS::METER_OF_MERCURY.g/cm*s**2
INCH_OF_MERCURY =

g / cm s^2

Math::Constants::CGS::INCH_OF_MERCURY.g/cm*s**2
INCH_OF_WATER =

g / cm s^2

Math::Constants::CGS::INCH_OF_WATER.g/cm*s**2
PSI =

g / cm s^2

Math::Constants::CGS::PSI.g/cm*s**2
POISE =

g / cm s

Math::Constants::CGS::POISE.g/cm*s
STOKES =

cm^2 / s

Math::Constants::CGS::STOKES.cm**2/s
FARADAY =

A s / mol

Math::Constants::CGS::FARADAY.A*s/mol
ELECTRON_CHARGE =

A s

Math::Constants::CGS::ELECTRON_CHARGE.A*s
GAUSS =

g / A s^2

Math::Constants::CGS::GAUSS.g/A*s**2
STILB =

cd / cm^2

Math::Constants::CGS::STILB.cd/cm**2
LUMEN =

cd sr

Math::Constants::CGS::LUMEN.cd*sr
LUX =

cd sr / cm^2

Math::Constants::CGS::LUX.cd*sr/cm*2
PHOT =

cd sr / cm^2

Math::Constants::CGS::PHOT.cd*sr/cm*2
FOOTCANDLE =

cd sr / cm^2

Math::Constants::CGS::FOOTCANDLE.cd*sr/cm*2
LAMBERT =

cd sr / cm^2

Math::Constants::CGS::LAMBERT.cd*sr/cm*2
FOOTLAMBERT =

cd sr / cm^2

Math::Constants::CGS::FOOTLAMBERT.cd*sr/cm*2
CURIE =

1 / s

Math::Constants::CGS::CURIE*1/1.s
ROENTGEN =

A s / g

Math::Constants::CGS::ROENTGEN.A*s/g
RAD =

cm^2 / s^2

Math::Constants::CGS::RAD.cm**2/s**2
SOLAR_MASS =

g

Math::Constants::CGS::SOLAR_MASS.g
BOHR_RADIUS =

cm

Math::Constants::CGS::BOHR_RADIUS.cm
VACUUM_PERMITTIVITY =

A^2 s^4 / g cm^3

Math::Constants::CGS::VACUUM_PERMITTIVITY.A**2*s**4/g*cm*83
NEWTON =

cm g / s^2

Math::Constants::CGS::NEWTON.cm*g/s**2
DYNE =

cm g / s^2

Math::Constants::CGS::DYNE.cm*g/s**2
JOULE =

g cm^2 / s^2

Math::Constants::CGS::JOULE.g*cm**2/s**2
ERG =

g cm^2 / s^2

Math::Constants::CGS::ERG.g*cm**2/s**2

Method Summary

Methods included from Van::Units

append_features, #const_missing, #method_missing, with_unit_converter

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Van::Units