Free_variable.Sparse_vec
type basis = t
val is_empty : t -> bool
val zero : t
val smul : Mavryk_benchmark.Sparse_vec.R.t -> 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 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