Algebra.VectorVectors.
val to_string : t -> stringString representation of a vector.
val of_list : float list -> tval dim : t -> intDimension.
val scalar : float -> tval pair : (float * float) -> tval to_scalar : t -> floatval sum : t -> floatSum of the entries of the vector.
val squared_norm : t -> floatSquare of the euclidean norm.
val init : int -> (int -> float) -> tval fill : int -> float -> tval zero : int -> tval uniform : ?min:float -> ?max:float -> int -> tCreate a uniformly distributed random vector.
val max : t -> floatMaximum entry of a vector.