package stdcompat

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Float.ArrayLabelsSource

Sourcetype t = floatarray
Sourceval length : t -> int
Sourceval get : t -> int -> float
Sourceval set : t -> int -> float -> unit
Sourceval make : int -> float -> t
Sourceval create : int -> t
Sourceval init : int -> f:(int -> float) -> t
Sourceval make_matrix : dimx:int -> dimy:int -> float -> t array
Sourceval init_matrix : dimx:int -> dimy:int -> f:(int -> int -> float) -> t array
Sourceval append : t -> t -> t
Sourceval concat : t list -> t
Sourceval sub : t -> pos:int -> len:int -> t
Sourceval copy : t -> t
Sourceval fill : t -> pos:int -> len:int -> float -> unit
Sourceval blit : src:t -> src_pos:int -> dst:t -> dst_pos:int -> len:int -> unit
Sourceval to_list : t -> float list
Sourceval of_list : float list -> t
Sourceval iter : f:(float -> unit) -> t -> unit
Sourceval iteri : f:(int -> float -> unit) -> t -> unit
Sourceval map : f:(float -> float) -> t -> t
Sourceval map_inplace : f:(float -> float) -> t -> unit
Sourceval mapi : f:(int -> float -> float) -> t -> t
Sourceval mapi_inplace : f:(int -> float -> float) -> t -> unit
Sourceval fold_left : f:('acc -> float -> 'acc) -> init:'acc -> t -> 'acc
Sourceval fold_right : f:(float -> 'acc -> 'acc) -> t -> init:'acc -> 'acc
Sourceval iter2 : f:(float -> float -> unit) -> t -> t -> unit
Sourceval map2 : f:(float -> float -> float) -> t -> t -> t
Sourceval for_all : f:(float -> bool) -> t -> bool
Sourceval exists : f:(float -> bool) -> t -> bool
Sourceval mem : float -> set:t -> bool
Sourceval mem_ieee : float -> set:t -> bool
Sourceval find_opt : f:(float -> bool) -> t -> float option
Sourceval find_index : f:(float -> bool) -> t -> int option
Sourceval find_map : f:(float -> 'a option) -> t -> 'a option
Sourceval find_mapi : f:(int -> float -> 'a option) -> t -> 'a option
Sourceval sort : cmp:(float -> float -> int) -> t -> unit
Sourceval stable_sort : cmp:(float -> float -> int) -> t -> unit
Sourceval fast_sort : cmp:(float -> float -> int) -> t -> unit
Sourceval shuffle : rand:(int -> int) -> t -> unit
Sourceval to_seq : t -> unit -> float Seq.node
Sourceval to_seqi : t -> unit -> (int * float) Seq.node
Sourceval of_seq : (unit -> float Seq.node) -> t
Sourceval map_to_array : f:(float -> 'a) -> t -> 'a array
Sourceval map_from_array : f:('a -> float) -> 'a array -> t
Sourceval unsafe_get : floatarray -> int -> float
Sourceval unsafe_set : floatarray -> int -> float -> unit