package stdcompat

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

Module Float.ArraySource

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 -> (int -> float) -> t
Sourceval make_matrix : int -> int -> float -> t array
Sourceval init_matrix : int -> int -> (int -> int -> float) -> t array
Sourceval append : t -> t -> t
Sourceval concat : t list -> t
Sourceval sub : t -> int -> int -> t
Sourceval copy : t -> t
Sourceval fill : t -> int -> int -> float -> unit
Sourceval blit : t -> int -> t -> int -> int -> unit
Sourceval to_list : t -> float list
Sourceval of_list : float list -> t
Sourceval iter : (float -> unit) -> t -> unit
Sourceval iteri : (int -> float -> unit) -> t -> unit
Sourceval map : (float -> float) -> t -> t
Sourceval map_inplace : (float -> float) -> t -> unit
Sourceval mapi : (int -> float -> float) -> t -> t
Sourceval mapi_inplace : (int -> float -> float) -> t -> unit
Sourceval fold_left : ('acc -> float -> 'acc) -> 'acc -> t -> 'acc
Sourceval fold_right : (float -> 'acc -> 'acc) -> t -> 'acc -> 'acc
Sourceval iter2 : (float -> float -> unit) -> t -> t -> unit
Sourceval map2 : (float -> float -> float) -> t -> t -> t
Sourceval for_all : (float -> bool) -> t -> bool
Sourceval exists : (float -> bool) -> t -> bool
Sourceval mem : float -> t -> bool
Sourceval mem_ieee : float -> t -> bool
Sourceval find_opt : (float -> bool) -> t -> float option
Sourceval find_index : (float -> bool) -> t -> int option
Sourceval find_map : (float -> 'a option) -> t -> 'a option
Sourceval find_mapi : (int -> float -> 'a option) -> t -> 'a option
Sourceval sort : (float -> float -> int) -> t -> unit
Sourceval stable_sort : (float -> float -> int) -> t -> unit
Sourceval fast_sort : (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 : (float -> 'a) -> t -> 'a array
Sourceval map_from_array : ('a -> float) -> 'a array -> t
Sourceval unsafe_get : floatarray -> int -> float
Sourceval unsafe_set : floatarray -> int -> float -> unit
OCaml

Innovation. Community. Security.