Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 536 Bytes

File metadata and controls

14 lines (10 loc) · 536 Bytes

HEP Constants

This is a project for the generation of C++ header files automatically from CODATA values of physical constants.

It takes advantage of unit and SI prefix definitions from the SciKit-HEP project hepunits and uses some lightweight symbolic manipulation from sympy to be able to output C++ constexpr expressions.

Constants, units and prefixes are all are organised in namespaces.

This is a work in progress, contributions welcome.