package fast_bitvector

  1. Overview
  2. Docs
A bitvector library

Install

Dune Dependency

Authors

Maintainers

Sources

fast_bitvector-0.1.0.1.tbz
sha256=ea40f4a178c3fe4844527e4a5c44a367a9e64cd12aa923f20215eb0fa9457305
sha512=2779a84412976122a9a6c24e350566623d4d5642053be49b7d04d2b7537a10f00f03ebb6264dd2c8f8bc381f534de790d1254c849cf301be9ac634e4d2e4fa5b

doc/fast_bitvector/Fast_bitvector/index.html

Module Fast_bitvectorSource

Sourcetype t
include Sexplib0.Sexpable.S with type t := t
Sourceval t_of_sexp : Sexplib0.Sexp.t -> t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval max_length : int
Sourceval create : len:int -> t
Sourceval create_full : len:int -> t
module type Ops := sig ... end
Sourcemodule Unsafe : Ops with type with_result := dst:t -> unit

dst specifies the destination bitvector of the operation, for inplace operations, specify one of the operands as dst `

include Ops with type with_result := dst:t -> unit
Sourceval set : t -> int -> unit
Sourceval clear : t -> int -> unit
Sourceval set_to : t -> int -> bool -> unit
Sourceval get : t -> int -> bool
Sourceval equal : t -> t -> bool
Sourceval not : t -> dst:t -> unit
Sourceval and_ : t -> t -> dst:t -> unit
Sourceval or_ : t -> t -> dst:t -> unit
Sourceval xor : t -> t -> dst:t -> unit
Sourcemodule Set : sig ... end
Sourcemodule Allocate : sig ... end
Sourcemodule Bit_zero_first : sig ... end
Sourcemodule Bit_zero_last : sig ... end
Sourceval length : t -> int
Sourceval copy : t -> t
Sourceval append : t -> t -> t
Sourceval fold : init:'a -> f:('a -> bool -> 'a) -> t -> 'a
Sourceval map : t -> f:(bool -> bool) -> t
Sourceval popcount : t -> int
Sourceval set_all : t -> unit
Sourceval clear_all : t -> unit
Sourceval is_empty : t -> bool
Sourceval is_full : t -> bool
OCaml

Innovation. Community. Security.