10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-11-03 20:54:00 +01:00
quantum_package/ocaml/GaussianPrimitive.ml
2017-12-01 13:27:34 +01:00

18 lines
280 B
OCaml

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