quantum_package/ocaml/Units.ml

12 lines
122 B
OCaml
Raw Permalink Normal View History

2014-10-07 19:33:11 +02:00
type units =
| Bohr
| Angstrom
;;
let angstrom_to_bohr = 1. /. 0.52917721092
let bohr_to_angstrom = 0.52917721092
;;