You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdeedu/kalzium/src/solver/chemset.mli

11 lines
476 B

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