Module Free_variable.Sparse_vec

type t
type basis = t
val is_empty : t -> bool
val compare : t -> t -> int
val equal : t -> t -> bool
val zero : t
val add : t -> t -> t
val smul : Mavryk_benchmark.Sparse_vec.R.t -> t -> t
val neg : t -> t
val fold : (basis -> Mavryk_benchmark.Sparse_vec.R.t -> 'b -> 'b) -> t -> 'b -> 'b
val iter : (basis -> Mavryk_benchmark.Sparse_vec.R.t -> unit) -> t -> unit
val find_map : (basis -> Mavryk_benchmark.Sparse_vec.R.t -> 'res option) -> t -> 'res option
val set : t -> basis -> Mavryk_benchmark.Sparse_vec.R.t -> t
val get_exn : t -> basis -> Mavryk_benchmark.Sparse_vec.R.t
val get_opt : t -> basis -> Mavryk_benchmark.Sparse_vec.R.t option
val get : t -> basis -> Mavryk_benchmark.Sparse_vec.R.t

Returns zero if basis is not found in t.

val swap : t -> basis -> basis -> t
val of_list : (basis * Mavryk_benchmark.Sparse_vec.R.t) list -> t
val to_list : t -> (basis * Mavryk_benchmark.Sparse_vec.R.t) list
val pp : pp_basis:(Stdlib.Format.formatter -> basis -> unit) -> pp_element: (Stdlib.Format.formatter -> Mavryk_benchmark.Sparse_vec.R.t -> unit) -> Stdlib.Format.formatter -> t -> unit
module Op : sig ... end