package tezos-benchmark

  1. Overview
  2. Docs
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 neg : t -> t
val fold : (basis -> Tezos_benchmark.Sparse_vec.R.t -> 'b -> 'b) -> t -> 'b -> 'b
val iter : (basis -> Tezos_benchmark.Sparse_vec.R.t -> unit) -> t -> unit
val find_map : (basis -> Tezos_benchmark.Sparse_vec.R.t -> 'res option) -> t -> 'res option
val get_opt : t -> basis -> Tezos_benchmark.Sparse_vec.R.t option

Returns zero if basis is not found in t.

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

Innovation. Community. Security.