10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-23 04:43:45 +01:00
QuantumPackage/ocaml/GaussianPrimitive.ml

18 lines
286 B
OCaml

open Qptypes
open Sexplib.Std
type t =
{ sym : Angmom.t ;
expo : AO_expo.t ;
} [@@deriving sexp]
let to_string p =
let { sym = s ; expo = e } = p in
Printf.sprintf "(%s, %22e)"
(Angmom.to_string s)
(AO_expo.to_float e)
let of_sym_expo s e =
{ sym=s ; expo=e}