package core_bench

  1. Overview
  2. Docs


type t = float array
val t_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> t
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val copy : t -> t

Copy a vector

val create0 : int -> t

create0 len sreate a vector of 0s of length len.

val sumsq : t -> float

The sum of squares of entries in a vector

val norm : t -> float

The Euclidean length of a vector