Module Nvector_openmp

module Nvector_openmp: sig .. end
The OpenMP nvectors of Sundials (requires OpenMP).
Author(s): Timothy Bourke (Inria/ENS), Jun Inoue (Inria/ENS), Marc Pouzet (UPMC/ENS/Inria)
Version: 2.7.0
See sundials: NVECTOR_PARALLEL

type data = Sundials.RealArray.t 
OpenMP nvectors are based on bigarrays of floats.
type kind = [ `OpenMP | `Serial ] 
Represents the internal layout of an OpenMP nvector. OpenMP nvectors can usually be used wherever serial nvectors can.
type t = (data, kind) Nvector.t 
The type of OpenMP nvectors.
val make : int -> int -> float -> t
make nthreads n iv creates a new OpenMP nvector with nthreads threads and n elements inialized to iv.
val wrap : int -> Sundials.RealArray.t -> t
wrap nthreads a creates a new OpenMP nvector with nthreads threads over the elements of a.
val unwrap : t -> Sundials.RealArray.t
Aliases Nvector.unwrap.
val pp : Format.formatter -> t -> unit
Pretty-print an OpenMP nvector using the Format module.
val num_threads : t -> int
Returns the number of threads used within an OpenMP nvector.
module Ops: Nvector.NVECTOR_OPS  with type t = t
Underlying nvector operations on OpenMP nvectors.