Module Option.Array

type t
include Array_getters_and_setters with type t := t and type elt := t
val get : t @ local -> (int -> t) @ local
val set : t @ local -> (int -> (t -> unit) @ local) @ local
val unsafe_get : t @ local -> (int -> t) @ local
val unsafe_set : t @ local -> (int -> (t -> unit) @ local) @ local
val create : len:int -> t -> t
val length : t @ local -> int
val unsafe_blit : src:t @ local -> (src_pos:int -> (dst:t @ local -> (dst_pos:int -> (len:int -> unit) @ local) @ local) @ local) @ local
val compare : t -> t -> int
val copy : t -> t
val t_of_sexp : Core.Sexp.t -> t @@ portable
val sexp_of_t : t -> Core.Sexp.t @@ portable
val custom_sexp_of_t : (t -> Core.Sexp.t) -> t -> Core.Sexp.t
val custom_t_of_sexp : (Core.Sexp.t -> t) -> Core.Sexp.t -> t
val init : int -> f:(int -> t) -> t
val iter : t -> f:(t -> unit) -> unit
val iteri : t -> f:(int -> t -> unit) -> unit

Identity no-op conversions between t and elt array. They are the same type at runtime.

val to_float_u_array : t -> t array
val of_float_u_array : t array -> t