gsl-ocaml / doc / Gsl_vector_flat.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=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="Gsl_vector.html">
<link rel="next" href="Gsl_vector_complex.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 modules" rel=Appendix href="index_modules.html">
<link title="Gsl_error" rel="Chapter" href="Gsl_error.html">
<link title="Gsl_ieee" rel="Chapter" href="Gsl_ieee.html">
<link title="Gsl_math" rel="Chapter" href="Gsl_math.html">
<link title="Gsl_complex" rel="Chapter" href="Gsl_complex.html">
<link title="Gsl_vector" rel="Chapter" href="Gsl_vector.html">
<link title="Gsl_vector_flat" rel="Chapter" href="Gsl_vector_flat.html">
<link title="Gsl_vector_complex" rel="Chapter" href="Gsl_vector_complex.html">
<link title="Gsl_vector_complex_flat" rel="Chapter" href="Gsl_vector_complex_flat.html">
<link title="Gsl_matrix" rel="Chapter" href="Gsl_matrix.html">
<link title="Gsl_matrix_flat" rel="Chapter" href="Gsl_matrix_flat.html">
<link title="Gsl_matrix_complex" rel="Chapter" href="Gsl_matrix_complex.html">
<link title="Gsl_matrix_complex_flat" rel="Chapter" href="Gsl_matrix_complex_flat.html">
<link title="Gsl_vectmat" rel="Chapter" href="Gsl_vectmat.html">
<link title="Gsl_blas" rel="Chapter" href="Gsl_blas.html">
<link title="Gsl_blas_flat" rel="Chapter" href="Gsl_blas_flat.html">
<link title="Gsl_blas_gen" rel="Chapter" href="Gsl_blas_gen.html">
<link title="Gsl_fun" rel="Chapter" href="Gsl_fun.html">
<link title="Gsl_permut" rel="Chapter" href="Gsl_permut.html">
<link title="Gsl_sort" rel="Chapter" href="Gsl_sort.html">
<link title="Gsl_linalg" rel="Chapter" href="Gsl_linalg.html">
<link title="Gsl_eigen" rel="Chapter" href="Gsl_eigen.html">
<link title="Gsl_poly" rel="Chapter" href="Gsl_poly.html">
<link title="Gsl_interp" rel="Chapter" href="Gsl_interp.html">
<link title="Gsl_rng" rel="Chapter" href="Gsl_rng.html">
<link title="Gsl_qrng" rel="Chapter" href="Gsl_qrng.html">
<link title="Gsl_randist" rel="Chapter" href="Gsl_randist.html">
<link title="Gsl_integration" rel="Chapter" href="Gsl_integration.html">
<link title="Gsl_fit" rel="Chapter" href="Gsl_fit.html">
<link title="Gsl_multifit" rel="Chapter" href="Gsl_multifit.html">
<link title="Gsl_multifit_nlin" rel="Chapter" href="Gsl_multifit_nlin.html">
<link title="Gsl_root" rel="Chapter" href="Gsl_root.html">
<link title="Gsl_multiroot" rel="Chapter" href="Gsl_multiroot.html">
<link title="Gsl_min" rel="Chapter" href="Gsl_min.html">
<link title="Gsl_multimin" rel="Chapter" href="Gsl_multimin.html">
<link title="Gsl_diff" rel="Chapter" href="Gsl_diff.html">
<link title="Gsl_cheb" rel="Chapter" href="Gsl_cheb.html">
<link title="Gsl_sum" rel="Chapter" href="Gsl_sum.html">
<link title="Gsl_fft" rel="Chapter" href="Gsl_fft.html">
<link title="Gsl_monte" rel="Chapter" href="Gsl_monte.html">
<link title="Gsl_siman" rel="Chapter" href="Gsl_siman.html">
<link title="Gsl_odeiv" rel="Chapter" href="Gsl_odeiv.html">
<link title="Gsl_histo" rel="Chapter" href="Gsl_histo.html">
<link title="Gsl_stats" rel="Chapter" href="Gsl_stats.html">
<link title="Gsl_wavelet" rel="Chapter" href="Gsl_wavelet.html">
<link title="Gsl_bspline" rel="Chapter" href="Gsl_bspline.html">
<link title="Gsl_const" rel="Chapter" href="Gsl_const.html">
<link title="Gsl_sf" rel="Chapter" href="Gsl_sf.html">
<link title="Gsl_cdf" rel="Chapter" href="Gsl_cdf.html"><link title="Operations" rel="Section" href="#3_Operations">
<link title="No-copy operations" rel="Section" href="#3_Nocopyoperations">
<title>gsl-ocaml 0.6.0 : Gsl_vector_flat</title>
</head>
<body>
<div class="navbar"><a href="Gsl_vector.html">Previous</a>
&nbsp;<a href="index.html">Up</a>
&nbsp;<a href="Gsl_vector_complex.html">Next</a>
</div>
<center><h1>Module <a href="type_Gsl_vector_flat.html">Gsl_vector_flat</a></h1></center>
<br>
<pre><span class="keyword">module</span> Gsl_vector_flat: <code class="code">sig</code> <a href="Gsl_vector_flat.html">..</a> <code class="code">end</code></pre>Vector of floats implemented with a <code class="code">float array</code><br>
<hr width="100%">
<br><code><span id="TYPEdouble_vector_flat"><span class="keyword">type</span> <code class="type"></code>double_vector_flat</span> = private {</code><table class="typetable">
<tr>
<td align="left" valign="top" >
<code>&nbsp;&nbsp;</code></td>
<td align="left" valign="top" >
<code>data&nbsp;: <code class="type">float array</code>;</code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code>&nbsp;&nbsp;</code></td>
<td align="left" valign="top" >
<code>off&nbsp;: <code class="type">int</code>;</code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code>&nbsp;&nbsp;</code></td>
<td align="left" valign="top" >
<code>len&nbsp;: <code class="type">int</code>;</code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code>&nbsp;&nbsp;</code></td>
<td align="left" valign="top" >
<code>stride&nbsp;: <code class="type">int</code>;</code></td>

</tr></table>
}


<pre><span id="TYPEvector"><span class="keyword">type</span> <code class="type"></code>vector</span> = <code class="type"><a href="Gsl_vector_flat.html#TYPEdouble_vector_flat">double_vector_flat</a></code> </pre>

<pre><span id="VALcheck"><span class="keyword">val</span> check</span> : <code class="type"><a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> <a href="Gsl_vector_flat.html#TYPEvector">vector</a></code></pre><div class="info">
<b>Raises</b> <code>Failure</code> if <code class="code">off</code>, <code class="code">len</code> or <code class="code">stride</code> designate an invalid
      subvector of <code class="code">data</code><br>
</div>
<br>
<span id="3_Operations"><h3>Operations</h3></span><br>
<pre><span id="VALcreate"><span class="keyword">val</span> create</span> : <code class="type">?init:float -> int -> <a href="Gsl_vector_flat.html#TYPEvector">vector</a></code></pre><pre><span id="VALof_array"><span class="keyword">val</span> of_array</span> : <code class="type">float array -> <a href="Gsl_vector_flat.html#TYPEvector">vector</a></code></pre><pre><span id="VALto_array"><span class="keyword">val</span> to_array</span> : <code class="type"><a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> float array</code></pre><pre><span id="VALlength"><span class="keyword">val</span> length</span> : <code class="type"><a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> int</code></pre><pre><span id="VALget"><span class="keyword">val</span> get</span> : <code class="type"><a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> int -> float</code></pre><pre><span id="VALset"><span class="keyword">val</span> set</span> : <code class="type"><a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> int -> float -> unit</code></pre><pre><span id="VALset_all"><span class="keyword">val</span> set_all</span> : <code class="type"><a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> float -> unit</code></pre><pre><span id="VALset_zero"><span class="keyword">val</span> set_zero</span> : <code class="type"><a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> unit</code></pre><pre><span id="VALset_basis"><span class="keyword">val</span> set_basis</span> : <code class="type"><a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> int -> unit</code></pre><pre><span id="VALmemcpy"><span class="keyword">val</span> memcpy</span> : <code class="type">src:<a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> dst:<a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> unit</code></pre><pre><span id="VALcopy"><span class="keyword">val</span> copy</span> : <code class="type"><a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> <a href="Gsl_vector_flat.html#TYPEvector">vector</a></code></pre><pre><span id="VALswap_element"><span class="keyword">val</span> swap_element</span> : <code class="type"><a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> int -> int -> unit</code></pre><pre><span id="VALreverse"><span class="keyword">val</span> reverse</span> : <code class="type"><a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> unit</code></pre><pre><span id="VALadd"><span class="keyword">val</span> add</span> : <code class="type"><a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> <a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> unit</code></pre><pre><span id="VALsub"><span class="keyword">val</span> sub</span> : <code class="type"><a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> <a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> unit</code></pre><pre><span id="VALmul"><span class="keyword">val</span> mul</span> : <code class="type"><a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> <a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> unit</code></pre><pre><span id="VALdiv"><span class="keyword">val</span> div</span> : <code class="type"><a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> <a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> unit</code></pre><pre><span id="VALscale"><span class="keyword">val</span> scale</span> : <code class="type"><a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> float -> unit</code></pre><pre><span id="VALadd_constant"><span class="keyword">val</span> add_constant</span> : <code class="type"><a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> float -> unit</code></pre><pre><span id="VALis_null"><span class="keyword">val</span> is_null</span> : <code class="type"><a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> bool</code></pre><pre><span id="VALmax"><span class="keyword">val</span> max</span> : <code class="type"><a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> float</code></pre><pre><span id="VALmin"><span class="keyword">val</span> min</span> : <code class="type"><a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> float</code></pre><pre><span id="VALminmax"><span class="keyword">val</span> minmax</span> : <code class="type"><a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> float * float</code></pre><pre><span id="VALmax_index"><span class="keyword">val</span> max_index</span> : <code class="type"><a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> int</code></pre><pre><span id="VALmin_index"><span class="keyword">val</span> min_index</span> : <code class="type"><a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> int</code></pre><pre><span id="VALminmax_index"><span class="keyword">val</span> minmax_index</span> : <code class="type"><a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> int * int</code></pre><br>
<span id="3_Nocopyoperations"><h3>No-copy operations</h3></span><br>
<pre><span id="VALsubvector"><span class="keyword">val</span> subvector</span> : <code class="type">?stride:int -><br>       <a href="Gsl_vector_flat.html#TYPEvector">vector</a> -> off:int -> len:int -> <a href="Gsl_vector_flat.html#TYPEvector">vector</a></code></pre><pre><span id="VALview_array"><span class="keyword">val</span> view_array</span> : <code class="type">?stride:int -> ?off:int -> ?len:int -> float array -> <a href="Gsl_vector_flat.html#TYPEvector">vector</a></code></pre></body></html>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.