package orsetto

  1. Overview
  2. Docs
A library of assorted structured data interchange languages

Install

Dune Dependency

Authors

Maintainers

Sources

r1.1.3.tar.gz
sha512=9b654edb663ae697563f150824047052f3b1bf760398f24bce6350553f031f73c46b6337239a1acd871e61238597ea92046809e3358290ff14d6ba671b449085

doc/orsetto.cf/Cf_slice_big/index.html

Module Cf_slice_big

Slices of basic vector types, i.e. arrays, byte sequences and string.

Interface
val of_array1 : ('a, 'b, 'c) Bigarray.Array1.t -> ('a, 'b, 'c) Bigarray.Array1.t Cf_slice.t

Use of_array1 a to make a slice that references all of a.

val of_subarray1 : ('a, 'b, 'c) Bigarray.Array1.t -> int -> int -> ('a, 'b, 'c) Bigarray.Array1.t Cf_slice.t

Use of_subarray1 a start limit to make a slice that references the part of a that starts at index start and is limited at index limit.

val to_array1 : ('a, 'b, 'c) Bigarray.Array1.t Cf_slice.t -> ('a, 'b, 'c) Bigarray.Array1.t

Use to_array1 a to make a new array from the elements in a.

OCaml

Innovation. Community. Security.

On This Page
  1. Interface