Class

NumCosmoMathC

Description [src]

final class NumCosmoMath.C : GObject.Object
{
  /* No available fields */
}

Numerical and physical constants.

Mathematical and physical constants and constants manipulation functions.

The sources are:

  • High precision mathematical constants obtained from MPFR.

  • Fundamental constants: CODATA 2022 recommended values, see constants.txt distributed with NumCosmo sources.

  • The atomic weights: Commission on Isotopic Abundances and Atomic Weights (CIAAW 2021) of the International Union of Pure and Applied Chemistry (IUPAC). See also the NIST compilation.

  • Astronomical constants: IAU 2015 resolutions for the astronomical unit ncm_c_au(), parsec ncm_c_pc() and derived constants. See also [Luzum 2011][XLuzum2011].

  • Atomic Spectra: National Institute of Standards and Technology (NIST) Atomic Spectra Standard Reference Database 78 - Version 5.11 (October 2023).

Last checked: August 24, 2024.

Ancestors

Functions

ncm_c_AR

Derived from CODATA values, see [description][NcmC.description].

ncm_c_G

Using CODATA values, see [description][NcmC.description].

ncm_c_G_mass_solar

Using IAU 2015 recommendation see [description][NcmC.description].

ncm_c_Glightyear_Mpc

One giga light-year in mega parsecs.

ncm_c_HI_Lyman_wl3_8pi_2p_2P0_5

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HI_Lyman_wl3_8pi_2p_2P3_5

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HI_Lyman_wl3_8pi_2p_2Pmean

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HI_Lyman_wl3_8pi_2s_2S0_5

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HI_Lyman_wl_2p_2P0_5

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HI_Lyman_wl_2p_2P3_5

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HI_Lyman_wl_2p_2Pmean

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HI_Lyman_wl_2s_2S0_5

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HI_Lyman_wn_2p_2P0_5

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HI_Lyman_wn_2p_2P3_5

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HI_Lyman_wn_2p_2Pmean

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HI_Lyman_wn_2s_2S0_5

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HI_ion_E_1s_2S0_5

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HI_ion_E_2p_2P0_5

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HI_ion_E_2p_2P3_5

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HI_ion_E_2p_2Pmean

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HI_ion_E_2s_2S0_5

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HI_ion_wn_1s_2S0_5

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HI_ion_wn_2p_2P0_5

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HI_ion_wn_2p_2P3_5

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HI_ion_wn_2p_2Pmean

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HI_ion_wn_2s_2S0_5

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_H_bind

Energy difference from unbounded state to state $(n,\,j)$, i.e., minus the binding energy of the state $(n,\,j)$, calculated from \begin{equation} E^\mathrm{H}{n,j} = m\mathrm{e}c^2\left[1 - f(n,j)\right], \end{equation} where \begin{align} f(n, j) &= \left[1+\left(\frac{\alpha}{n - \delta(j)}\right)^2\right]^{-\frac{1}{2}}, \ \delta(j) &= j+\frac{1}{2} + \sqrt{\left(j+1/2\right)^2 - \alpha^2}. \end{align}.

ncm_c_H_reduced_energy

Reduced mass times $c^2$, $m_\mathrm{r}c^2$, see ncm_c_H_reduced_mass().

ncm_c_H_reduced_mass

Derived from CODATA values, see [description][NcmC.description].

ncm_c_HeII_ion_E_1s_2S0_5

Ionization energy for He-II $1s\,{}^2\!S_{1/2}$ state, i.e., $E_{1s\,{}^2\!S_{1/2}} = hc \times k_{1s\,{}^2\!S_{1/2}}$.

ncm_c_HeII_ion_wn_1s_2S0_5

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_Balmer_E_kb_2p_1P1_2s_1S0

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_Balmer_E_kb_2p_3Pmean_2s_3S1

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_Balmer_wn_2p_1P1_2s_1S0

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_Balmer_wn_2p_3Pmean_2s_3S1

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_Lyman_wl3_8pi_2p_1P1

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_Lyman_wl3_8pi_2p_3P0

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_Lyman_wl3_8pi_2p_3P1

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_Lyman_wl3_8pi_2p_3P2

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_Lyman_wl3_8pi_2p_3Pmean

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_Lyman_wl3_8pi_2s_1S0

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_Lyman_wl3_8pi_2s_3S1

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_Lyman_wl_2p_1P1

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_Lyman_wl_2p_3P0

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_Lyman_wl_2p_3P1

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_Lyman_wl_2p_3P2

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_Lyman_wl_2p_3Pmean

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_Lyman_wl_2s_1S0

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_Lyman_wl_2s_3S1

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_Lyman_wn_2p_1P1

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_Lyman_wn_2p_3P0

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_Lyman_wn_2p_3P1

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_Lyman_wn_2p_3P2

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_Lyman_wn_2p_3Pmean

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_Lyman_wn_2s_1S0

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_Lyman_wn_2s_3S1

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_ion_E_1s_1S0

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_ion_E_2p_1P1

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_ion_E_2p_3P0

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_ion_E_2p_3P1

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_ion_E_2p_3P2

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_ion_E_2p_3Pmean

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_ion_E_2s_1S0

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_ion_E_2s_3S1

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_ion_wn_1s_1S0

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_ion_wn_2p_1P1

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_ion_wn_2p_3P0

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_ion_wn_2p_3P1

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_ion_wn_2p_3P2

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_ion_wn_2p_3Pmean

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_ion_wn_2s_1S0

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_HeI_ion_wn_2s_3S1

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_Mpc

Using IAU 2015 recommendation see [description][NcmC.description].

ncm_c_Rinf

Using CODATA values, see [description][NcmC.description].

ncm_c_Ry

Using CODATA values, see [description][NcmC.description].

ncm_c_au

Using IAU 2015 recommendation see [description][NcmC.description], compatible with NASA JPL recommendations (as in 5 January 2016).

ncm_c_blackbody_energy_density

This functions returns the black body energy density divided by $T^4$. Defined as \begin{equation} \frac{\rho_{\text{BL}}}{T^4} = \frac{8\pi^2k_{\text{b}}^4}{15 \left( hc \right)^3}, \end{equation} where $\rho_{\text{BL}}$ is the black body energy density, $T$ is the temperature, $k_{\text{b}}$ is the Boltzmann constant (#ncm_c_kb()), $h$ is the Planck constant (#ncm_c_h()) and $c$ is the speed of light (#ncm_c_c()).

ncm_c_blackbody_per_crit_density_h2

This functions returns ncm_c_blackbody_energy_density () $/$ ncm_c_crit_density_h2 ().

ncm_c_boltzmann_factor_HI_1s_2S0_5

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_boltzmann_factor_HI_2p_2P0_5

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_boltzmann_factor_HI_2p_2P3_5

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_boltzmann_factor_HI_2p_2Pmean

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_boltzmann_factor_HI_2s_2S0_5

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_boltzmann_factor_HeI_1s_1S0

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_boltzmann_factor_HeI_2p_1P1

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_boltzmann_factor_HeI_2p_3P0

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_boltzmann_factor_HeI_2p_3P1

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_boltzmann_factor_HeI_2p_3P2

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_boltzmann_factor_HeI_2p_3Pmean

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_boltzmann_factor_HeI_2s_1S0

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_boltzmann_factor_HeI_2s_3S1

NIST compilation of atomic spectra see [description][NcmC.description].

ncm_c_c

Using CODATA values, see [description][NcmC.description].

ncm_c_c2

Derived from CODATA values, see [description][NcmC.description].

ncm_c_crit_density_h2

The critical density is defined as \begin{equation} \rho_{\mathrm{crit}0} = \frac{3 c^2 H_0^2}{8\pi G}, \end{equation} where $G$ is the gravitational constant (#ncm_c_G()), $c$ is the speed of light (#ncm_c_c()) and $H_0$ is the Hubble parameter, $$H_0 = 100 \times \mathsf{h} \,\left[\text{km}\,\text{s}^{-1}\,\text{Mpc}^{-1}\right].$$.

ncm_c_crit_mass_density_h2

This function computes the critical mass density over $\mathsf{h}^2 \times c^2$.

ncm_c_crit_mass_density_h2_solar_mass_Mpc3

This function computes the critical mass density in units of solar mass $M_\odot$ and Mpc.

ncm_c_crit_number_density_n

This function computes the neutron number density in units of its rest energy. Calculated using ncm_c_crit_density_h2 () $/$ ncm_c_rest_energy_n ().

ncm_c_crit_number_density_p

This function computes the proton number density in units of its rest energy. Calculated using ncm_c_crit_density_h2 () $/$ ncm_c_rest_energy_p ().

ncm_c_decay_H_rate_2s_1s

Theoretical value for the two photons decay rate for Hydrogen $2\mathrm{s} \to 1\mathrm{s}$ states [Goldman 1989][XGoldman1989].

ncm_c_decay_He_rate_2s_1s

Theoretical value for the two photons decay rate for Helium $2\mathrm{s} \to 1\mathrm{s}$ states [Drake 1969][XDrake1969].

ncm_c_deg2_steradian

The convertion factor from degrees squared to steradian.

ncm_c_degree_to_radian
No description available.

ncm_c_eV

Using CODATA values, see [description][NcmC.description].

ncm_c_electric_constant

Derived from CODATA values, see [description][NcmC.description].

ncm_c_fine_struct

Using CODATA values, see [description][NcmC.description].

ncm_c_fine_struct_square

Derived from CODATA values, see [description][NcmC.description].

ncm_c_h

Using CODATA values, see [description][NcmC.description].

ncm_c_hbar

Using CODATA values, see [description][NcmC.description].

ncm_c_hc

Derived from CODATA values, see [description][NcmC.description].

ncm_c_hubble_cte_hst

HST Hubble constant final result. See [Freedman (2001)][X2001ApJ…553…47F] [arXiv].

ncm_c_hubble_cte_planck6_base

Planck VI Hubble constant base-$\Lambda$CDM model TT,TE,EE$+$lowE$+$lensing final result. See [Planck Collaboration (2018)][X2018arXiv180706209P] [arXiv].

ncm_c_hubble_radius_hm1_Mpc

Hubble radius in units of $\mathsf{h}^{-1} \, \text{Mpc}$ defined as \begin{equation} R_H h^{-1} = \frac{c}{100 \mathsf{h} \, \text{km} \, \text{sec}^{-1} \, \text{Mpc}^{-1}} \, , \end{equation} where $c$ is the speed of light (#ncm_c_c()). Calculated using ncm_c_c() $/$ $10^{5}$.

ncm_c_hubble_radius_hm1_planck

Hubble radius in units of $\mathsf{h}^{-1} \, l_{\text{p}}$. Calculated using ncm_c_hubble_radius_hm1_Mpc () $\times$ ncm_c_Mpc () $/$ ncm_c_planck_length ().

ncm_c_kb

Using CODATA values, see [description][NcmC.description].

ncm_c_kpc

Using IAU 2015 recommendation see [description][NcmC.description].

ncm_c_lightyear

One year times the speed of light ncm_c_c() in meters.

ncm_c_lightyear_pc

One light-year in parsecs.

ncm_c_ln2
No description available.

ncm_c_ln2pi
No description available.

ncm_c_ln3
No description available.

ncm_c_lnpi
No description available.

ncm_c_lnpi_4
No description available.

ncm_c_magnetic_constant

Using CODATA values, see [description][NcmC.description].

ncm_c_mass_1H

Obtained from CIAAW commission of IUPAC, see [description][NcmC.description]. Calculated using ncm_c_mass_1H_u() $\times$ ncm_c_mass_atomic().

ncm_c_mass_1H_u

Obtained from CIAAW commission of IUPAC, see [description][NcmC.description].

ncm_c_mass_2H

Obtained from CIAAW commission of IUPAC, see [description][NcmC.description]. Calculated using ncm_c_mass_2H_u() $\times$ ncm_c_mass_atomic().

ncm_c_mass_2H_u

Obtained from CIAAW commission of IUPAC, see [description][NcmC.description].

ncm_c_mass_3H

Obtained from CIAAW commission of IUPAC, see [description][NcmC.description]. Calculated using ncm_c_mass_3H_u() $\times$ ncm_c_mass_atomic().

ncm_c_mass_3H_u

Obtained from CIAAW commission of IUPAC, see [description][NcmC.description].

ncm_c_mass_3He

Obtained from CIAAW commission of IUPAC, see [description][NcmC.description]. Calculated using ncm_c_mass_3He_u() $\times$ ncm_c_mass_atomic().

ncm_c_mass_3He_u

Obtained from CIAAW commission of IUPAC, see [description][NcmC.description].

ncm_c_mass_4He

Obtained from CIAAW commission of IUPAC, see [description][NcmC.description]. Calculated using ncm_c_mass_4He_u() $\times$ ncm_c_mass_atomic().

ncm_c_mass_4He_u

Obtained from CIAAW commission of IUPAC, see [description][NcmC.description].

ncm_c_mass_atomic

Using CODATA values, see [description][NcmC.description].

ncm_c_mass_e

Using CODATA values, see [description][NcmC.description].

ncm_c_mass_n

Using CODATA values, see [description][NcmC.description].

ncm_c_mass_p

Using CODATA values, see [description][NcmC.description].

ncm_c_mass_ratio_4He_1H

Obtained from CIAAW commission of IUPAC, see [description][NcmC.description]. Calculated using ncm_c_mass_4He_u() / ncm_c_mass_1H_u().

ncm_c_mass_ratio_alpha_p

Using CODATA values, see [description][NcmC.description].

ncm_c_mass_ratio_e_p

Using CODATA values, see [description][NcmC.description].

ncm_c_mass_solar

Using IAU 2015 recommendation see [description][NcmC.description].

ncm_c_pc

Using IAU 2015 recommendation see [description][NcmC.description].

ncm_c_pi
No description available.

ncm_c_planck_length
No description available.

ncm_c_planck_length2

Derived from CODATA values, see [description][NcmC.description].

ncm_c_radian_0_2pi
No description available.

ncm_c_radian_to_degree
No description available.

ncm_c_radiation_temp_to_h2Omega_r0
No description available.

ncm_c_rest_energy_1H

Obtained from CIAAW commission of IUPAC, see [description][NcmC.description]. Calculated using ncm_c_mass_1H_u() $\times$ ncm_c_rest_energy_atomic().

ncm_c_rest_energy_2H

Obtained from CIAAW commission of IUPAC, see [description][NcmC.description]. Calculated using ncm_c_mass_2H_u() $\times$ ncm_c_rest_energy_atomic().

ncm_c_rest_energy_3H

Obtained from CIAAW commission of IUPAC, see [description][NcmC.description]. Calculated using ncm_c_mass_3H_u() $\times$ ncm_c_rest_energy_atomic().

ncm_c_rest_energy_3He

Obtained from CIAAW commission of IUPAC, see [description][NcmC.description]. Calculated using ncm_c_mass_3He_u() $\times$ ncm_c_rest_energy_atomic().

ncm_c_rest_energy_4He

Obtained from CIAAW commission of IUPAC, see [description][NcmC.description]. Calculated using ncm_c_mass_4He_u() $\times$ ncm_c_rest_energy_atomic().

ncm_c_rest_energy_atomic

Derived from CODATA values, see [description][NcmC.description].

ncm_c_rest_energy_e

Derived from CODATA values, see [description][NcmC.description].

ncm_c_rest_energy_n

Derived from CODATA values, see [description][NcmC.description].

ncm_c_rest_energy_p

Derived from CODATA values, see [description][NcmC.description].

ncm_c_sign_sin
No description available.

ncm_c_sqrt_1_4pi
No description available.

ncm_c_sqrt_2pi
No description available.

ncm_c_sqrt_3_4pi
No description available.

ncm_c_sqrt_pi
No description available.

ncm_c_sqrt_pi_2
No description available.

ncm_c_stats_1sigma

The integral of a Gaussian distribution with mean $\mu$ and standard deviation $\sigma$ in $(\mu - 1 \sigma, \mu + 1 \sigma)$.

ncm_c_stats_2sigma

The integral of a Gaussian distribution with mean $\mu$ and standard deviation $\sigma$ in $(\mu - 2 \sigma, \mu + 2 \sigma)$.

ncm_c_stats_3sigma

The integral of a Gaussian distribution with mean $\mu$ and standard deviation sigma in $(\mu - 3 \sigma, \mu + 3 \sigma)$.

ncm_c_stefan_boltzmann

Using CODATA values, see [description][NcmC.description].

ncm_c_tan_1arcsec
No description available.

ncm_c_thermal_wl_e

Derived from CODATA values, see [description][NcmC.description].

ncm_c_thermal_wl_n

Derived from CODATA values, see [description][NcmC.description].

ncm_c_thermal_wl_p

Derived from CODATA values, see [description][NcmC.description].

ncm_c_thermal_wn_e

Derived from CODATA values, see [description][NcmC.description].

ncm_c_thermal_wn_n

Derived from CODATA values, see [description][NcmC.description].

ncm_c_thermal_wn_p

Derived from CODATA values, see [description][NcmC.description].

ncm_c_thomson_cs

Using CODATA values, see [description][NcmC.description].

ncm_c_two_pi_2
No description available.

ncm_c_year

One year ($365.25$ days) in seconds.

Instance methods

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct NumCosmoMathCClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.