Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 075e93f8191e9025f5bd0bcbc9c6d665 > files > 118

ocaml-gsl-devel-0.6.0-16.fc18.i686.rpm

<!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_math.html">
<link rel="next" href="Gsl_vector.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="Properties of complex numbers" rel="Section" href="#4_Propertiesofcomplexnumbers">
<link title="Complex arithmetic operators" rel="Section" href="#4_Complexarithmeticoperators">
<link title="Elementary complex functions" rel="Section" href="#4_Elementarycomplexfunctions">
<link title="Complex trigonometric functions" rel="Section" href="#4_Complextrigonometricfunctions">
<link title="Inverse complex trigonometric functions" rel="Section" href="#4_Inversecomplextrigonometricfunctions">
<link title="Complex hyperbolic functions" rel="Section" href="#4_Complexhyperbolicfunctions">
<link title="Inverse complex hyperbolic functions" rel="Section" href="#4_Inversecomplexhyperbolicfunctions">
<title>ocamlgsl 0.6.0 : Gsl_complex</title>
</head>
<body>
<div class="navbar"><a href="Gsl_math.html">Previous</a>
&nbsp;<a href="index.html">Up</a>
&nbsp;<a href="Gsl_vector.html">Next</a>
</div>
<center><h1>Module <a href="type_Gsl_complex.html">Gsl_complex</a></h1></center>
<br>
<pre><span class="keyword">module</span> Gsl_complex: <code class="code">sig</code> <a href="Gsl_complex.html">..</a> <code class="code">end</code></pre>Complex arithmetic and simple functions<br>
<hr width="100%">
<pre><span class="keyword">type</span> <a name="TYPEcomplex"></a><code class="type"></code>complex = <code class="type">Complex.t</code> = {</pre><table class="typetable">
<tr>
<td align="left" valign="top" >
<code>&nbsp;&nbsp;</code></td>
<td align="left" valign="top" >
<code>re&nbsp;: <code class="type">float</code>;</code></td>

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

</tr></table>
}


<pre><span class="keyword">val</span> <a name="VALcomplex"></a>complex : <code class="type">re:float -> im:float -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">type</span> <a name="TYPEcomplex_array"></a><code class="type"></code>complex_array = <code class="type">float array</code> </pre>

<pre><span class="keyword">val</span> <a name="VALset"></a>set : <code class="type"><a href="Gsl_complex.html#TYPEcomplex_array">complex_array</a> -> int -> <a href="Gsl_complex.html#TYPEcomplex">complex</a> -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALget"></a>get : <code class="type"><a href="Gsl_complex.html#TYPEcomplex_array">complex_array</a> -> int -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALunpack"></a>unpack : <code class="type"><a href="Gsl_complex.html#TYPEcomplex_array">complex_array</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a> array</code></pre><pre><span class="keyword">val</span> <a name="VALpack"></a>pack : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> array -> <a href="Gsl_complex.html#TYPEcomplex_array">complex_array</a></code></pre><pre><span class="keyword">val</span> <a name="VALmult"></a>mult : <code class="type"><a href="Gsl_complex.html#TYPEcomplex_array">complex_array</a> -> <a href="Gsl_complex.html#TYPEcomplex_array">complex_array</a> -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALrect"></a>rect : <code class="type">float -> float -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALpolar"></a>polar : <code class="type">float -> float -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><br>
<a name="4_Propertiesofcomplexnumbers"></a>
<h4>Properties of complex numbers</h4><br>
<pre><span class="keyword">val</span> <a name="VALarg"></a>arg : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> float</code></pre><pre><span class="keyword">val</span> <a name="VALabs"></a>abs : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> float</code></pre><pre><span class="keyword">val</span> <a name="VALabs2"></a>abs2 : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> float</code></pre><pre><span class="keyword">val</span> <a name="VALlogabs"></a>logabs : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> float</code></pre><br>
<a name="4_Complexarithmeticoperators"></a>
<h4>Complex arithmetic operators</h4><br>
<pre><span class="keyword">val</span> <a name="VALadd"></a>add : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALsub"></a>sub : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALmul"></a>mul : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALdiv"></a>div : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALadd_real"></a>add_real : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> float -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALsub_real"></a>sub_real : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> float -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALmul_real"></a>mul_real : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> float -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALdiv_real"></a>div_real : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> float -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALadd_imag"></a>add_imag : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> float -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALsub_imag"></a>sub_imag : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> float -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALmul_imag"></a>mul_imag : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> float -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALdiv_imag"></a>div_imag : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> float -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALconjugate"></a>conjugate : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALinverse"></a>inverse : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALnegative"></a>negative : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><br>
<a name="4_Elementarycomplexfunctions"></a>
<h4>Elementary complex functions</h4><br>
<pre><span class="keyword">val</span> <a name="VALsqrt"></a>sqrt : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALsqrt_real"></a>sqrt_real : <code class="type">float -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALpow"></a>pow : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALpow_real"></a>pow_real : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> float -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALexp"></a>exp : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALlog"></a>log : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALlog10"></a>log10 : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALlog_b"></a>log_b : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><br>
<a name="4_Complextrigonometricfunctions"></a>
<h4>Complex trigonometric functions</h4><br>
<pre><span class="keyword">val</span> <a name="VALsin"></a>sin : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALcos"></a>cos : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALtan"></a>tan : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALsec"></a>sec : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALcsc"></a>csc : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALcot"></a>cot : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><br>
<a name="4_Inversecomplextrigonometricfunctions"></a>
<h4>Inverse complex trigonometric functions</h4><br>
<pre><span class="keyword">val</span> <a name="VALarcsin"></a>arcsin : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALarcsin_real"></a>arcsin_real : <code class="type">float -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALarccos"></a>arccos : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALarccos_real"></a>arccos_real : <code class="type">float -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALarctan"></a>arctan : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALarcsec"></a>arcsec : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALarcsec_real"></a>arcsec_real : <code class="type">float -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALarccsc"></a>arccsc : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALarccsc_real"></a>arccsc_real : <code class="type">float -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALarccot"></a>arccot : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><br>
<a name="4_Complexhyperbolicfunctions"></a>
<h4>Complex hyperbolic functions</h4><br>
<pre><span class="keyword">val</span> <a name="VALsinh"></a>sinh : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALcosh"></a>cosh : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALtanh"></a>tanh : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALsech"></a>sech : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALcsch"></a>csch : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALcoth"></a>coth : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><br>
<a name="4_Inversecomplexhyperbolicfunctions"></a>
<h4>Inverse complex hyperbolic functions</h4><br>
<pre><span class="keyword">val</span> <a name="VALarcsinh"></a>arcsinh : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALarccosh"></a>arccosh : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALarccosh_real"></a>arccosh_real : <code class="type">float -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALarctanh"></a>arctanh : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALarctanh_real"></a>arctanh_real : <code class="type">float -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALarcsech"></a>arcsech : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALarccsch"></a>arccsch : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre><pre><span class="keyword">val</span> <a name="VALarccoth"></a>arccoth : <code class="type"><a href="Gsl_complex.html#TYPEcomplex">complex</a> -> <a href="Gsl_complex.html#TYPEcomplex">complex</a></code></pre></body></html>