mirror of
https://github.com/LCPQ/quantum_package
synced 2024-11-15 02:23:56 +01:00
16 lines
241 B
OCaml
16 lines
241 B
OCaml
open Qptypes;;
|
|
open Core.Std;;
|
|
|
|
type t =
|
|
{ sym : Symmetry.t ;
|
|
expo : Positive_float.t ;
|
|
}
|
|
|
|
let to_string p =
|
|
let { sym = s ; expo = e } = p in
|
|
Printf.sprintf "(%s, %f)"
|
|
(Symmetry.to_string s)
|
|
(Positive_float.to_float e)
|
|
;;
|
|
|