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.
 
 
 

46 lines
2.6 KiB

<HTML><HEAD><TITLE>Microsoft.FSharp.Math.GlobalAssociations</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>.GlobalAssociations </h1><br>
</dd>
<dt></dt><dd>
<table>
<tr valign='top'><td><summary>
Associations are a way of associating dictionaries of
operations with given types at runtime. Associations are global to a
.NET application domain. Once specified an association may not be deleted
or modified.
In this release the system of associations is simply
limited to a registry of types that support dictionaries (i.e. interface objects)
of numeric operations. The following types are pre-registered with associated numeric
operations: float, int32, int64, bigint, float32, Complex, bignum. Other types must be
registered explicitly by user code.
</summary>
<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 GetNumericAssociation : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__unit.html'>unit</a> -> <a href='Microsoft.FSharp.Math.type_INumeric-1.html'>INumeric</a>&lt;'a&gt;</pre></td><td><summary>
Attempt to determine a numeric association for the given type, i.e. a registered dictionary of
numeric operations. The interface can be queried dynamically for additional functionality in the numerics
hierarchy.
</summary></td></tr>
<tr valign="top"><td><pre>val RegisterNumericAssociation : <a href='Microsoft.FSharp.Math.type_INumeric-1.html'>INumeric</a>&lt;'a&gt; -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__unit.html'>unit</a></pre></td><td><summary>
Record an AppDomain-wide association between the given type and the given dictionary of
numeric operations. Raise an error if an existing association already exists.
</summary></td></tr>
<tr valign="top"><td><pre>val TryGetNumericAssociation : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__unit.html'>unit</a> -> <a href='Microsoft.FSharp.Math.type_INumeric-1.html'>INumeric</a>&lt;'a&gt; <a href='../FSharp.Core/Microsoft.FSharp.Core.type__option-1.html'>option</a></pre></td><td></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>