Math.NET Numerics
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

97 lines
7.1 KiB

<HTML><HEAD><TITLE>Microsoft.FSharp.Math.Complex</TITLE><link rel="stylesheet" type="text/css"href="../msdn.css"></link></HEAD><BODY>
<br><dl>
<dt></dt><dd>
<h1>[<a href='../namespaces.html'>Home</a>] Module <a href='Microsoft.FSharp.Math.html'>Microsoft.FSharp.Math</a>.Complex </h1><br>
</dd>
<dt></dt><dd>
<table>
<tr valign='top'><td>
<dt><h3>Values</h3></dt><dd>
<table width="100%%">
<tr><th width=60%>Value</th><th>Description</th></tr>
<tr valign="top"><td><pre>val add : <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a> -> <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a> -> <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a></pre></td><td><summary>
Add two complex numbers
</summary></td></tr>
<tr valign="top"><td><pre>val cis : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__float.html'>float</a> -> <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a></pre></td><td><summary>
A complex of magnitude 1 and the given phase and , i.e. cis x = mkPolar 1.0 x
</summary></td></tr>
<tr valign="top"><td><pre>val conjugate : <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a> -> <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a></pre></td><td><summary>
The conjugate of a complex number, i.e. x-yi
</summary></td></tr>
<tr valign="top"><td><pre>val cos : <a href='Microsoft.FSharp.Math.type_Complex.html'>Complex</a> -> <a href='Microsoft.FSharp.Math.type_Complex.html'>Complex</a></pre></td><td><summary>
Cosine
</summary></td></tr>
<tr valign="top"><td><pre>val div : <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a> -> <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a> -> <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a></pre></td><td><summary>
Complex division of two complex numbers
</summary></td></tr>
<tr valign="top"><td><pre>val exp : <a href='Microsoft.FSharp.Math.type_Complex.html'>Complex</a> -> <a href='Microsoft.FSharp.Math.type_Complex.html'>Complex</a></pre></td><td><summary>
exp(x) = e^x
</summary></td></tr>
<tr valign="top"><td><pre>val imagPart : <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__float.html'>float</a></pre></td><td><summary>
The imaginary part of a complex number
</summary></td></tr>
<tr valign="top"><td><pre>val log : <a href='Microsoft.FSharp.Math.type_Complex.html'>Complex</a> -> <a href='Microsoft.FSharp.Math.type_Complex.html'>Complex</a></pre></td><td><summary>
log(x) is natural log (base e)
</summary></td></tr>
<tr valign="top"><td><pre>val magnitude : <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__float.html'>float</a></pre></td><td><summary>
The polar-coordinate magnitude of a complex number
</summary></td></tr>
<tr valign="top"><td><pre>val mkPolar : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__float.html'>float</a> * <a href='../FSharp.Core/Microsoft.FSharp.Core.type__float.html'>float</a> -> <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a></pre></td><td><summary>
Create a complex number using magnitude/phase polar coordinates
</summary></td></tr>
<tr valign="top"><td><pre>val mkRect : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__float.html'>float</a> * <a href='../FSharp.Core/Microsoft.FSharp.Core.type__float.html'>float</a> -> <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a></pre></td><td></td></tr>
<tr valign="top"><td><pre>val mul : <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a> -> <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a> -> <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a></pre></td><td><summary>
Multiply two complex numbers
</summary></td></tr>
<tr valign="top"><td><pre>val muls : <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__float.html'>float</a> -> <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a></pre></td><td><summary>
Multiply a complex number by a scalar
</summary></td></tr>
<tr valign="top"><td><pre>val neg : <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a> -> <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a></pre></td><td><summary>
Unary negation of a complex number
</summary></td></tr>
<tr valign="top"><td><pre>val one : <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a></pre></td><td><summary>
The complex number 1+0i
</summary></td></tr>
<tr valign="top"><td><pre>val onei : <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a></pre></td><td><summary>
The complex number 0+1i
</summary></td></tr>
<tr valign="top"><td><pre>val phase : <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__float.html'>float</a></pre></td><td><summary>
The polar-coordinate phase of a complex number
</summary></td></tr>
<tr valign="top"><td><pre>val pi : <a href='Microsoft.FSharp.Math.type_Complex.html'>Complex</a></pre></td><td><summary>
pi
</summary></td></tr>
<tr valign="top"><td><pre>val realPart : <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__float.html'>float</a></pre></td><td><summary>
The real part of a complex number
</summary></td></tr>
<tr valign="top"><td><pre>val sin : <a href='Microsoft.FSharp.Math.type_Complex.html'>Complex</a> -> <a href='Microsoft.FSharp.Math.type_Complex.html'>Complex</a></pre></td><td><summary>
Sine
</summary></td></tr>
<tr valign="top"><td><pre>val smul : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__float.html'>float</a> -> <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a> -> <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a></pre></td><td><summary>
Multiply a scalar by a complex number
</summary></td></tr>
<tr valign="top"><td><pre>val sqrt : <a href='Microsoft.FSharp.Math.type_Complex.html'>Complex</a> -> <a href='Microsoft.FSharp.Math.type_Complex.html'>Complex</a></pre></td><td><summary>
sqrt(x) and 0 &lt;= phase(x) &lt; pi
</summary></td></tr>
<tr valign="top"><td><pre>val sub : <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a> -> <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a> -> <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a></pre></td><td><summary>
Subtract one complex number from another
</summary></td></tr>
<tr valign="top"><td><pre>val tan : <a href='Microsoft.FSharp.Math.type_Complex.html'>Complex</a> -> <a href='Microsoft.FSharp.Math.type_Complex.html'>Complex</a></pre></td><td><summary>
Tagent
</summary></td></tr>
<tr valign="top"><td><pre>val zero : <a href='Microsoft.FSharp.Math.type__complex.html'>complex</a></pre></td><td><summary>
The complex number 0+0i
</summary></td></tr>
</table>
</dd>
</td></tr>
<tr valign='top'><td>
<dt><h3>See Also</h3></dt><dd>
<a href="Microsoft.FSharp.Math.html">Microsoft.FSharp.Math</a> </dd>
</td></tr>
</table>
</dd>
</dl>
<br /> <br/><p><i>Documentation for assembly FSharp.PowerPack, version 1.9.6.16, generated using <a href='http://research.microsoft.com/fsharp/'>F# Programming Language</a> version 1.9.6.16</i></p>
</BODY></HTML>