diff options
Diffstat (limited to 'kalzium/src/solver/chemset.mli')
-rw-r--r-- | kalzium/src/solver/chemset.mli | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kalzium/src/solver/chemset.mli b/kalzium/src/solver/chemset.mli new file mode 100644 index 00000000..64c64bcf --- /dev/null +++ b/kalzium/src/solver/chemset.mli @@ -0,0 +1,10 @@ +type chemtbl = (string, int) Hashtbl.t +and chemrecord = { mutable hashtbl : chemtbl; mutable formula : string; } +and item = { ikey : string; itbl : chemrecord; mutable sign : int; } +and listitems = item list +val chem_addsym : chemtbl -> string -> int -> unit +val chem_add : chemrecord -> chemrecord -> chemrecord +val chem_mult : chemrecord -> int -> chemrecord +val createchem : string -> int -> chemrecord +val chem_negate : listitems -> unit +val chem_printitem : item -> unit |