sig
type t = floatarray
val length : Float.ArrayLabels.t -> int
val get : Float.ArrayLabels.t -> int -> float
val set : Float.ArrayLabels.t -> int -> float -> unit
val make : int -> float -> Float.ArrayLabels.t
val create : int -> Float.ArrayLabels.t
val init : int -> f:(int -> float) -> Float.ArrayLabels.t
val append :
Float.ArrayLabels.t -> Float.ArrayLabels.t -> Float.ArrayLabels.t
val concat : Float.ArrayLabels.t list -> Float.ArrayLabels.t
val sub : Float.ArrayLabels.t -> pos:int -> len:int -> Float.ArrayLabels.t
val copy : Float.ArrayLabels.t -> Float.ArrayLabels.t
val fill : Float.ArrayLabels.t -> pos:int -> len:int -> float -> unit
val blit :
src:Float.ArrayLabels.t ->
src_pos:int -> dst:Float.ArrayLabels.t -> dst_pos:int -> len:int -> unit
val to_list : Float.ArrayLabels.t -> float list
val of_list : float list -> Float.ArrayLabels.t
val iter : f:(float -> unit) -> Float.ArrayLabels.t -> unit
val iteri : f:(int -> float -> unit) -> Float.ArrayLabels.t -> unit
val map : f:(float -> float) -> Float.ArrayLabels.t -> Float.ArrayLabels.t
val mapi :
f:(int -> float -> float) -> Float.ArrayLabels.t -> Float.ArrayLabels.t
val fold_left :
f:('a -> float -> 'a) -> init:'a -> Float.ArrayLabels.t -> 'a
val fold_right :
f:(float -> 'a -> 'a) -> Float.ArrayLabels.t -> init:'a -> 'a
val iter2 :
f:(float -> float -> unit) ->
Float.ArrayLabels.t -> Float.ArrayLabels.t -> unit
val map2 :
f:(float -> float -> float) ->
Float.ArrayLabels.t -> Float.ArrayLabels.t -> Float.ArrayLabels.t
val for_all : f:(float -> bool) -> Float.ArrayLabels.t -> bool
val exists : f:(float -> bool) -> Float.ArrayLabels.t -> bool
val mem : float -> set:Float.ArrayLabels.t -> bool
val mem_ieee : float -> set:Float.ArrayLabels.t -> bool
val sort : cmp:(float -> float -> int) -> Float.ArrayLabels.t -> unit
val stable_sort :
cmp:(float -> float -> int) -> Float.ArrayLabels.t -> unit
val fast_sort : cmp:(float -> float -> int) -> Float.ArrayLabels.t -> unit
val to_seq : Float.ArrayLabels.t -> float Stdlib.Seq.t
val to_seqi : Float.ArrayLabels.t -> (int * float) Stdlib.Seq.t
val of_seq : float Stdlib.Seq.t -> Float.ArrayLabels.t
val map_to_array : f:(float -> 'a) -> Float.ArrayLabels.t -> 'a array
val map_from_array : f:('a -> float) -> 'a array -> Float.ArrayLabels.t
external unsafe_get : Float.ArrayLabels.t -> int -> float
= "%floatarray_unsafe_get"
external unsafe_set : Float.ArrayLabels.t -> int -> float -> unit
= "%floatarray_unsafe_set"
end
The present documentation is copyright Institut National de Recherche en Informatique et en Automatique (INRIA). A complete version can be obtained from this page.