ocaml-containers/0.21/CCArray1.html
2016-11-03 16:14:53 +01:00

280 lines
No EOL
23 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="CCBigstring.html">
<link rel="next" href="CCPool.html">
<link rel="Up" href="index.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of class methods" rel=Appendix href="index_methods.html">
<link title="Index of class types" rel=Appendix href="index_class_types.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="CCVector" rel="Chapter" href="CCVector.html">
<link title="CCPrint" rel="Chapter" href="CCPrint.html">
<link title="CCError" rel="Chapter" href="CCError.html">
<link title="CCHeap" rel="Chapter" href="CCHeap.html">
<link title="CCList" rel="Chapter" href="CCList.html">
<link title="CCOpt" rel="Chapter" href="CCOpt.html">
<link title="CCPair" rel="Chapter" href="CCPair.html">
<link title="CCFun" rel="Chapter" href="CCFun.html">
<link title="CCHash" rel="Chapter" href="CCHash.html">
<link title="CCInt" rel="Chapter" href="CCInt.html">
<link title="CCBool" rel="Chapter" href="CCBool.html">
<link title="CCFloat" rel="Chapter" href="CCFloat.html">
<link title="CCArray" rel="Chapter" href="CCArray.html">
<link title="CCRef" rel="Chapter" href="CCRef.html">
<link title="CCSet" rel="Chapter" href="CCSet.html">
<link title="CCOrd" rel="Chapter" href="CCOrd.html">
<link title="CCRandom" rel="Chapter" href="CCRandom.html">
<link title="CCString" rel="Chapter" href="CCString.html">
<link title="CCHashtbl" rel="Chapter" href="CCHashtbl.html">
<link title="CCMap" rel="Chapter" href="CCMap.html">
<link title="CCFormat" rel="Chapter" href="CCFormat.html">
<link title="CCIO" rel="Chapter" href="CCIO.html">
<link title="CCInt64" rel="Chapter" href="CCInt64.html">
<link title="CCChar" rel="Chapter" href="CCChar.html">
<link title="CCResult" rel="Chapter" href="CCResult.html">
<link title="Containers" rel="Chapter" href="Containers.html">
<link title="CCKTree" rel="Chapter" href="CCKTree.html">
<link title="CCKList" rel="Chapter" href="CCKList.html">
<link title="CCLazy_list" rel="Chapter" href="CCLazy_list.html">
<link title="CCMultiMap" rel="Chapter" href="CCMultiMap.html">
<link title="CCMultiSet" rel="Chapter" href="CCMultiSet.html">
<link title="CCTrie" rel="Chapter" href="CCTrie.html">
<link title="CCFlatHashtbl" rel="Chapter" href="CCFlatHashtbl.html">
<link title="CCCache" rel="Chapter" href="CCCache.html">
<link title="CCPersistentHashtbl" rel="Chapter" href="CCPersistentHashtbl.html">
<link title="CCDeque" rel="Chapter" href="CCDeque.html">
<link title="CCFQueue" rel="Chapter" href="CCFQueue.html">
<link title="CCBV" rel="Chapter" href="CCBV.html">
<link title="CCMixtbl" rel="Chapter" href="CCMixtbl.html">
<link title="CCMixmap" rel="Chapter" href="CCMixmap.html">
<link title="CCRingBuffer" rel="Chapter" href="CCRingBuffer.html">
<link title="CCIntMap" rel="Chapter" href="CCIntMap.html">
<link title="CCPersistentArray" rel="Chapter" href="CCPersistentArray.html">
<link title="CCMixset" rel="Chapter" href="CCMixset.html">
<link title="CCHashconsedSet" rel="Chapter" href="CCHashconsedSet.html">
<link title="CCGraph" rel="Chapter" href="CCGraph.html">
<link title="CCHashSet" rel="Chapter" href="CCHashSet.html">
<link title="CCBitField" rel="Chapter" href="CCBitField.html">
<link title="CCHashTrie" rel="Chapter" href="CCHashTrie.html">
<link title="CCBloom" rel="Chapter" href="CCBloom.html">
<link title="CCWBTree" rel="Chapter" href="CCWBTree.html">
<link title="CCRAL" rel="Chapter" href="CCRAL.html">
<link title="CCAllocCache" rel="Chapter" href="CCAllocCache.html">
<link title="CCImmutArray" rel="Chapter" href="CCImmutArray.html">
<link title="CCHet" rel="Chapter" href="CCHet.html">
<link title="Containers_string" rel="Chapter" href="Containers_string.html">
<link title="CCKMP" rel="Chapter" href="CCKMP.html">
<link title="CCLevenshtein" rel="Chapter" href="CCLevenshtein.html">
<link title="CCApp_parse" rel="Chapter" href="CCApp_parse.html">
<link title="CCParse" rel="Chapter" href="CCParse.html">
<link title="CCBigstring" rel="Chapter" href="CCBigstring.html">
<link title="CCArray1" rel="Chapter" href="CCArray1.html">
<link title="CCPool" rel="Chapter" href="CCPool.html">
<link title="CCLock" rel="Chapter" href="CCLock.html">
<link title="CCSemaphore" rel="Chapter" href="CCSemaphore.html">
<link title="CCThread" rel="Chapter" href="CCThread.html">
<link title="CCBlockingQueue" rel="Chapter" href="CCBlockingQueue.html">
<link title="CCTimer" rel="Chapter" href="CCTimer.html">
<link title="Containers_advanced" rel="Chapter" href="Containers_advanced.html">
<link title="CCLinq" rel="Chapter" href="CCLinq.html">
<link title="CCBatch" rel="Chapter" href="CCBatch.html">
<link title="CCCat" rel="Chapter" href="CCCat.html">
<link title="CCMonadIO" rel="Chapter" href="CCMonadIO.html">
<link title="Containers_io_is_deprecated" rel="Chapter" href="Containers_io_is_deprecated.html">
<link title="CCUnix" rel="Chapter" href="CCUnix.html">
<link title="CCSexp" rel="Chapter" href="CCSexp.html">
<link title="CCSexpM" rel="Chapter" href="CCSexpM.html"><link title="used types" rel="Section" href="#2_usedtypes">
<link title="Type Declarations" rel="Section" href="#2_TypeDeclarations">
<link title="Basic Operations" rel="Section" href="#2_BasicOperations">
<link title="Boolean Vectors" rel="Section" href="#2_BooleanVectors">
<link title="Operations" rel="Section" href="#2_Operations">
<link title="Conversions" rel="Section" href="#2_Conversions">
<link title="Serialization" rel="Section" href="#2_Serialization">
<link title="Views" rel="Section" href="#2_Views">
<title>Containers doc : CCArray1</title>
</head>
<body>
<div class="navbar"><a class="pre" href="CCBigstring.html" title="CCBigstring">Previous</a>
&nbsp;<a class="up" href="index.html" title="Index">Up</a>
&nbsp;<a class="post" href="CCPool.html" title="CCPool">Next</a>
</div>
<h1>Module <a href="type_CCArray1.html">CCArray1</a></h1>
<pre><span class="keyword">module</span> CCArray1: <code class="code"><span class="keyword">sig</span></code> <a href="CCArray1.html">..</a> <code class="code"><span class="keyword">end</span></code></pre><div class="info module top">
<span class="warning">Deprecated.</span>do not use, this was always experimental
<b>NOTE this module will be removed soon and should not be depended upon</b>
<p>
<b>status: deprecated</b><br>
<h1 id="1_Bigarraysofdimension1">Bigarrays of dimension 1</h1><br>
<b>Since</b> 0.12<br>
</div>
<hr width="100%">
<br>
<h2 id="2_usedtypes">used types</h2><br>
<pre><span id="TYPEprinter"><span class="keyword">type</span> <code class="type">'a</code> printer</span> = <code class="type">Format.formatter -> 'a -> unit</code> </pre>
<pre><span id="TYPEsequence"><span class="keyword">type</span> <code class="type">'a</code> sequence</span> = <code class="type">('a -> unit) -> unit</code> </pre>
<pre><span id="TYPEor_error"><span class="keyword">type</span> <code class="type">'a</code> or_error</span> = <code class="type">[ `Error of string | `Ok of 'a ]</code> </pre>
<pre><span id="TYPErandom"><span class="keyword">type</span> <code class="type"></code>random</span> = <code class="type">Random.State.t</code> </pre>
<pre><span id="TYPEjson"><span class="keyword">type</span> <code class="type"></code>json</span> = <code class="type">[ `Assoc of (string * <a href="CCArray1.html#TYPEjson">json</a>) list<br> | `Bool of bool<br> | `Float of float<br> | `Int of int<br> | `List of <a href="CCArray1.html#TYPEjson">json</a> list<br> | `Null<br> | `String of string ]</code> </pre>
<pre><span id="TYPEto_json"><span class="keyword">type</span> <code class="type">'a</code> to_json</span> = <code class="type">'a -> <a href="CCArray1.html#TYPEjson">json</a></code> </pre>
<pre><span id="TYPEof_json"><span class="keyword">type</span> <code class="type">'a</code> of_json</span> = <code class="type"><a href="CCArray1.html#TYPEjson">json</a> -> 'a <a href="CCArray1.html#TYPEor_error">or_error</a></code> </pre>
<br>
<h2 id="2_TypeDeclarations">Type Declarations</h2><br>
<pre><span id="TYPEt"><span class="keyword">type</span> <code class="type">('a, 'b, [< `R | `W ])</code> t</span> </pre>
<div class="info ">
Array of OCaml values of type <code class="code"><span class="keywordsign">'</span>a</code> with C representation of type <code class="code">b'</code>
with permissions <code class="code"><span class="keywordsign">'</span>perm</code><br>
</div>
<pre><span id="TYPEarray_"><span class="keyword">type</span> <code class="type">('a, 'b, [< `R | `W ])</code> array_</span> = <code class="type">('a, 'b, [< `R | `W ] as 'c) <a href="CCArray1.html#TYPEt">t</a></code> </pre>
<pre><span id="EXCEPTIONWrongDimension"><span class="keyword">exception</span> WrongDimension</span></pre>
<div class="info ">
Raised when arrays do not have expected length<br>
</div>
<br>
<h2 id="2_BasicOperations">Basic Operations</h2><br>
<pre><span id="VALmake"><span class="keyword">val</span> make</span> : <code class="type">?x:'a -><br> kind:('a, 'b) Bigarray.kind -> int -> ('a, 'b, [< `R | `W ]) <a href="CCArray1.html#TYPEt">t</a></code></pre><div class="info ">
New array with undefined elements<br>
</div>
<div class="param_info"><code class="code">x</code> : optional element to fill every slot</div>
<div class="param_info"><code class="code">kind</code> : the kind of bigarray</div>
<pre><span id="VALmake_int"><span class="keyword">val</span> make_int</span> : <code class="type">int -> (int, Bigarray.int_elt, [< `R | `W ]) <a href="CCArray1.html#TYPEt">t</a></code></pre>
<pre><span id="VALmake_char"><span class="keyword">val</span> make_char</span> : <code class="type">int -> (char, Bigarray.int8_unsigned_elt, [< `R | `W ]) <a href="CCArray1.html#TYPEt">t</a></code></pre>
<pre><span id="VALmake_int8s"><span class="keyword">val</span> make_int8s</span> : <code class="type">int -> (int, Bigarray.int8_signed_elt, [< `R | `W ]) <a href="CCArray1.html#TYPEt">t</a></code></pre>
<pre><span id="VALmake_int8u"><span class="keyword">val</span> make_int8u</span> : <code class="type">int -> (int, Bigarray.int8_unsigned_elt, [< `R | `W ]) <a href="CCArray1.html#TYPEt">t</a></code></pre>
<pre><span id="VALmake_int16s"><span class="keyword">val</span> make_int16s</span> : <code class="type">int -> (int, Bigarray.int16_signed_elt, [< `R | `W ]) <a href="CCArray1.html#TYPEt">t</a></code></pre>
<pre><span id="VALmake_int16u"><span class="keyword">val</span> make_int16u</span> : <code class="type">int -> (int, Bigarray.int16_unsigned_elt, [< `R | `W ]) <a href="CCArray1.html#TYPEt">t</a></code></pre>
<pre><span id="VALmake_int32"><span class="keyword">val</span> make_int32</span> : <code class="type">int -> (int32, Bigarray.int32_elt, [< `R | `W ]) <a href="CCArray1.html#TYPEt">t</a></code></pre>
<pre><span id="VALmake_int64"><span class="keyword">val</span> make_int64</span> : <code class="type">int -> (int64, Bigarray.int64_elt, [< `R | `W ]) <a href="CCArray1.html#TYPEt">t</a></code></pre>
<pre><span id="VALmake_native"><span class="keyword">val</span> make_native</span> : <code class="type">int -> (nativeint, Bigarray.nativeint_elt, [< `R | `W ]) <a href="CCArray1.html#TYPEt">t</a></code></pre>
<pre><span id="VALmake_float32"><span class="keyword">val</span> make_float32</span> : <code class="type">int -> (float, Bigarray.float32_elt, [< `R | `W ]) <a href="CCArray1.html#TYPEt">t</a></code></pre>
<pre><span id="VALmake_float64"><span class="keyword">val</span> make_float64</span> : <code class="type">int -> (float, Bigarray.float64_elt, [< `R | `W ]) <a href="CCArray1.html#TYPEt">t</a></code></pre>
<pre><span id="VALmake_complex32"><span class="keyword">val</span> make_complex32</span> : <code class="type">int -> (Complex.t, Bigarray.complex32_elt, [< `R | `W ]) <a href="CCArray1.html#TYPEt">t</a></code></pre>
<pre><span id="VALmake_complex64"><span class="keyword">val</span> make_complex64</span> : <code class="type">int -> (Complex.t, Bigarray.complex64_elt, [< `R | `W ]) <a href="CCArray1.html#TYPEt">t</a></code></pre>
<pre><span id="VALinit"><span class="keyword">val</span> init</span> : <code class="type">kind:('a, 'b) Bigarray.kind -><br> f:(int -> 'a) -> int -> ('a, 'b, [< `R | `W ]) <a href="CCArray1.html#TYPEt">t</a></code></pre><div class="info ">
Initialize with given size and initialization function<br>
</div>
<pre><span id="VALof_bigarray"><span class="keyword">val</span> of_bigarray</span> : <code class="type">('a, 'b, Bigarray.c_layout) Bigarray.Array1.t -><br> ('a, 'b, [< `R | `W ]) <a href="CCArray1.html#TYPEt">t</a></code></pre><div class="info ">
Convert from a big array<br>
</div>
<pre><span id="VALto_bigarray"><span class="keyword">val</span> to_bigarray</span> : <code class="type">('a, 'b, [ `R | `W ]) <a href="CCArray1.html#TYPEt">t</a> -><br> ('a, 'b, Bigarray.c_layout) Bigarray.Array1.t</code></pre><div class="info ">
Obtain the underlying array<br>
</div>
<pre><span id="VALro"><span class="keyword">val</span> ro</span> : <code class="type">('a, 'b, [< `R | `W > `R ]) <a href="CCArray1.html#TYPEt">t</a> -> ('a, 'b, [ `R ]) <a href="CCArray1.html#TYPEt">t</a></code></pre><div class="info ">
Change permission (old reference to array might still be mutable!)<br>
</div>
<pre><span id="VALwo"><span class="keyword">val</span> wo</span> : <code class="type">('a, 'b, [< `R | `W > `W ]) <a href="CCArray1.html#TYPEt">t</a> -> ('a, 'b, [ `W ]) <a href="CCArray1.html#TYPEt">t</a></code></pre><div class="info ">
Change permission<br>
</div>
<pre><span id="VALlength"><span class="keyword">val</span> length</span> : <code class="type">('a, 'b, [< `R | `W > `R ]) <a href="CCArray1.html#TYPEt">t</a> -> int</code></pre><div class="info ">
Number of elements<br>
</div>
<pre><span id="VALset"><span class="keyword">val</span> set</span> : <code class="type">('a, 'b, [< `R | `W > `W ]) <a href="CCArray1.html#TYPEt">t</a> -> int -> 'a -> unit</code></pre><div class="info ">
set n-th element<br>
</div>
<pre><span id="VALget"><span class="keyword">val</span> get</span> : <code class="type">('a, 'b, [< `R | `W > `R ]) <a href="CCArray1.html#TYPEt">t</a> -> int -> 'a</code></pre><div class="info ">
Get n-th element<br>
</div>
<pre><span id="VALfill"><span class="keyword">val</span> fill</span> : <code class="type">('a, 'b, [< `R | `W > `W ]) <a href="CCArray1.html#TYPEt">t</a> -> 'a -> unit</code></pre><div class="info ">
<code class="code">fill a x</code> fills <code class="code">a</code> with <code class="code">x</code><br>
</div>
<pre><span id="VALsub"><span class="keyword">val</span> sub</span> : <code class="type">('a, 'b, [< `R | `W ] as 'c) <a href="CCArray1.html#TYPEt">t</a> -><br> int -> int -> ('a, 'b, 'c) <a href="CCArray1.html#TYPEt">t</a></code></pre><div class="info ">
<code class="code">sub a i len</code> takes the slice of length <code class="code">len</code> starting at offset <code class="code">i</code><br>
</div>
<pre><span id="VALblit"><span class="keyword">val</span> blit</span> : <code class="type">('a, 'b, [< `R | `W > `R ]) <a href="CCArray1.html#TYPEt">t</a> -><br> ('a, 'b, [< `R | `W > `W ]) <a href="CCArray1.html#TYPEt">t</a> -> unit</code></pre><div class="info ">
blit the first array to the second<br>
</div>
<pre><span id="VALcopy"><span class="keyword">val</span> copy</span> : <code class="type">('a, 'b, [< `R | `W > `R ]) <a href="CCArray1.html#TYPEt">t</a> -> ('a, 'b, [< `R | `W ]) <a href="CCArray1.html#TYPEt">t</a></code></pre><div class="info ">
Fresh copy<br>
</div>
<pre><span id="VALiter"><span class="keyword">val</span> iter</span> : <code class="type">f:('a -> unit) -> ('a, 'b, [< `R | `W > `R ]) <a href="CCArray1.html#TYPEt">t</a> -> unit</code></pre><div class="info ">
<code class="code">iter a ~f</code> calls <code class="code">f v</code> where <code class="code">get a i = v</code> for each <code class="code">i &lt; length a</code>.
It iterates on all bits in increasing order<br>
</div>
<pre><span id="VALiteri"><span class="keyword">val</span> iteri</span> : <code class="type">f:(int -> 'a -> unit) -> ('a, 'b, [< `R | `W > `R ]) <a href="CCArray1.html#TYPEt">t</a> -> unit</code></pre><div class="info ">
<code class="code">iteri a ~f</code> calls <code class="code">f i v</code> where <code class="code">get a i = v</code> for each <code class="code">i &lt; length a</code>.
It iterates on all elements in increasing order<br>
</div>
<pre><span id="VALfoldi"><span class="keyword">val</span> foldi</span> : <code class="type">('b -> int -> 'a -> 'b) -> 'b -> ('a, 'c, [< `R | `W > `R ]) <a href="CCArray1.html#TYPEt">t</a> -> 'b</code></pre>
<pre><span id="VALfor_all"><span class="keyword">val</span> for_all</span> : <code class="type">f:('a -> bool) -> ('a, 'b, [< `R | `W > `R ]) <a href="CCArray1.html#TYPEt">t</a> -> bool</code></pre>
<pre><span id="VALexists"><span class="keyword">val</span> exists</span> : <code class="type">f:('a -> bool) -> ('a, 'b, [< `R | `W > `R ]) <a href="CCArray1.html#TYPEt">t</a> -> bool</code></pre>
<pre><span id="VALpp"><span class="keyword">val</span> pp</span> : <code class="type">'a <a href="CCArray1.html#TYPEprinter">printer</a> -><br> ('a, 'b, [< `R | `W > `R ]) <a href="CCArray1.html#TYPEt">t</a> <a href="CCArray1.html#TYPEprinter">printer</a></code></pre><div class="info ">
Print the SDR nicely<br>
</div>
<br>
<h2 id="2_BooleanVectors">Boolean Vectors</h2><br>
<pre><span class="keyword">module</span> <a href="CCArray1.Bool.html">Bool</a>: <code class="code"><span class="keyword">sig</span></code> <a href="CCArray1.Bool.html">..</a> <code class="code"><span class="keyword">end</span></code></pre><br>
<h2 id="2_Operations">Operations</h2><br>
<pre><span id="VALmap"><span class="keyword">val</span> map</span> : <code class="type">?res:('a, 'b, [< `R | `W > `W ] as 'c) <a href="CCArray1.html#TYPEt">t</a> -><br> f:('a -> 'a) -><br> ('a, 'b, [< `R | `W > `R ]) <a href="CCArray1.html#TYPEt">t</a> -> ('a, 'b, 'c) <a href="CCArray1.html#TYPEt">t</a></code></pre>
<pre><span id="VALmap2"><span class="keyword">val</span> map2</span> : <code class="type">?res:('a, 'b, [< `R | `W > `W ] as 'c) <a href="CCArray1.html#TYPEt">t</a> -><br> f:('a -> 'a2 -> 'a) -><br> ('a, 'b, [< `R | `W > `R ]) <a href="CCArray1.html#TYPEt">t</a> -><br> ('a2, 'd, [< `R | `W > `R ]) <a href="CCArray1.html#TYPEt">t</a> -> ('a, 'b, 'c) <a href="CCArray1.html#TYPEt">t</a></code></pre>
<pre><span id="VALappend"><span class="keyword">val</span> append</span> : <code class="type">?res:('a, 'b, [< `R | `W > `W ] as 'c) <a href="CCArray1.html#TYPEt">t</a> -><br> ('a, 'b, [< `R | `W > `R ]) <a href="CCArray1.html#TYPEt">t</a> -><br> ('a, 'b, [< `R | `W > `R ]) <a href="CCArray1.html#TYPEt">t</a> -> ('a, 'b, 'c) <a href="CCArray1.html#TYPEt">t</a></code></pre><div class="info ">
<code class="code">append a b ~into</code> assumes <code class="code">length a + length b = length into</code> and
copies <code class="code">a</code> and <code class="code">b</code> side by side in <code class="code">into</code><br>
<b>Raises</b> <code>WrongDimension</code> if dimensions do not match<br>
</div>
<pre><span id="VALfilter"><span class="keyword">val</span> filter</span> : <code class="type">?res:(Bigarray.int8_unsigned_elt, [< `R | `W > `W ] as 'c) <a href="CCArray1.Bool.html#TYPEt">Bool.t</a> -><br> f:('a -> bool) -><br> ('a, 'b, [< `R | `W > `R ]) <a href="CCArray1.html#TYPEt">t</a> -><br> (Bigarray.int8_unsigned_elt, 'c) <a href="CCArray1.Bool.html#TYPEt">Bool.t</a></code></pre>
<pre><span class="keyword">module type</span> <a href="CCArray1.S.html">S</a> = <code class="code"><span class="keyword">sig</span></code> <a href="CCArray1.S.html">..</a> <code class="code"><span class="keyword">end</span></code></pre>
<pre><span class="keyword">module</span> <a href="CCArray1.Int.html">Int</a>: <code class="type"><a href="CCArray1.S.html">S</a></code><code class="type"> with type elt = int</code></pre>
<pre><span class="keyword">module</span> <a href="CCArray1.Float.html">Float</a>: <code class="type"><a href="CCArray1.S.html">S</a></code><code class="type"> with type elt = float</code></pre><br>
<h2 id="2_Conversions">Conversions</h2><br>
<pre><span id="VALto_list"><span class="keyword">val</span> to_list</span> : <code class="type">('a, 'b, [< `R | `W > `R ]) <a href="CCArray1.html#TYPEt">t</a> -> 'a list</code></pre>
<pre><span id="VALto_array"><span class="keyword">val</span> to_array</span> : <code class="type">('a, 'b, [< `R | `W > `R ]) <a href="CCArray1.html#TYPEt">t</a> -> 'a array</code></pre>
<pre><span id="VALto_seq"><span class="keyword">val</span> to_seq</span> : <code class="type">('a, 'b, [< `R | `W > `R ]) <a href="CCArray1.html#TYPEt">t</a> -> 'a <a href="CCArray1.html#TYPEsequence">sequence</a></code></pre>
<pre><span id="VALof_array"><span class="keyword">val</span> of_array</span> : <code class="type">kind:('a, 'b) Bigarray.kind -> 'a array -> ('a, 'b, [< `R | `W ]) <a href="CCArray1.html#TYPEt">t</a></code></pre><br>
<h2 id="2_Serialization">Serialization</h2><br>
<pre><span id="VALto_yojson"><span class="keyword">val</span> to_yojson</span> : <code class="type">'a <a href="CCArray1.html#TYPEto_json">to_json</a> -><br> ('a, 'b, [< `R | `W > `R ]) <a href="CCArray1.html#TYPEt">t</a> <a href="CCArray1.html#TYPEto_json">to_json</a></code></pre>
<pre><span id="VALof_yojson"><span class="keyword">val</span> of_yojson</span> : <code class="type">kind:('a, 'b) Bigarray.kind -><br> 'a <a href="CCArray1.html#TYPEof_json">of_json</a> -> ('a, 'b, [< `R | `W ]) <a href="CCArray1.html#TYPEt">t</a> <a href="CCArray1.html#TYPEof_json">of_json</a></code></pre>
<pre><span id="VALint_to_yojson"><span class="keyword">val</span> int_to_yojson</span> : <code class="type">int <a href="CCArray1.html#TYPEto_json">to_json</a></code></pre>
<pre><span id="VALint_of_yojson"><span class="keyword">val</span> int_of_yojson</span> : <code class="type">int <a href="CCArray1.html#TYPEof_json">of_json</a></code></pre>
<pre><span id="VALfloat_to_yojson"><span class="keyword">val</span> float_to_yojson</span> : <code class="type">float <a href="CCArray1.html#TYPEto_json">to_json</a></code></pre>
<pre><span id="VALfloat_of_yojson"><span class="keyword">val</span> float_of_yojson</span> : <code class="type">float <a href="CCArray1.html#TYPEof_json">of_json</a></code></pre><br>
<h2 id="2_Views">Views</h2><br>
<pre><span class="keyword">module</span> <a href="CCArray1.View.html">View</a>: <code class="code"><span class="keyword">sig</span></code> <a href="CCArray1.View.html">..</a> <code class="code"><span class="keyword">end</span></code></pre></body></html>