package prbnmcn-linalg

  1. Overview
  2. Docs

Array_backed yields a module that allows to create vectors backed by arrays.

Parameters

module S : Intf.Tensor with type 'a m = 'a Repr.m
module A : Basic_structures.Basic_intf.Lang.Array with type index = S.pos and type 'a m = 'a Repr.m

Signature

val in_of_array : A.t Repr.m -> (S.pos S.t, S.pos Repr.m, A.elt Repr.m) Intf.vec
val out_of_array : A.t Repr.m -> (S.pos S.t, S.pos Repr.m, A.elt Repr.m, unit Repr.m) Intf.ovec
OCaml

Innovation. Community. Security.