Module Evd.Filter
val identity : t
The identity filter.
val filter_list : t -> 'a list -> 'a list
Filter a list. Sizes must coincide.
val filter_array : t -> 'a array -> 'a array
Filter an array. Sizes must coincide.
val compose : t -> t -> t
Horizontal composition :
compose f1 f2
only keeps parts off2
wheref1
is set. In particular,f1
andf2
must have the same length.
val apply_subfilter : t -> bool list -> t
apply_subfilter f1 f2
applies filterf2
wheref1
istrue
. In particular, the length off2
is the number of timesf1
istrue
val map_along : (bool -> 'a -> bool) -> t -> 'a list -> t
Apply the function on the filter and the list. Sizes must coincide.
val make : bool list -> t
Create out of a list
val repr : t -> bool list option
Observe as a bool list.