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.
 
 
 

35 lines
2.4 KiB

<HTML><HEAD><TITLE>Microsoft.FSharp.Compatibility.Array2D</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.Compatibility.html'>Microsoft.FSharp.Compatibility</a>.Array2D </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>[<<a href='../FSharp.Core/Microsoft.FSharp.Core.type_UnverifiableAttribute.html'>UnverifiableAttribute</a> (); <a href='../FSharp.Core/Microsoft.FSharp.Core.type_NoDynamicInvocationAttribute.html'>NoDynamicInvocationAttribute</a> ()>]
val pin : 'T <a href='../FSharp.Core/Microsoft.FSharp.Core.type__[,]-1.html'>[,]</a> -> (<a href='../FSharp.Core/Microsoft.FSharp.Core.type__nativeptr-1.html'>nativeptr</a>&lt;'T&gt; -> 'b) -> 'b</pre></td><td><summary>
Pin the given array for the duration of a single call to the given function. A native pointer to
the first element in the array is passed to the given function. Cleanup the GCHandle associated with the
pin when the function completes, even if an exception is raised.
</summary></td></tr>
<tr valign="top"><td><pre>[<<a href='../FSharp.Core/Microsoft.FSharp.Core.type_UnverifiableAttribute.html'>UnverifiableAttribute</a> (); <a href='../FSharp.Core/Microsoft.FSharp.Core.type_NoDynamicInvocationAttribute.html'>NoDynamicInvocationAttribute</a> ()>]
val pinUnscoped : 'T <a href='../FSharp.Core/Microsoft.FSharp.Core.type__[,]-1.html'>[,]</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__nativeptr-1.html'>nativeptr</a>&lt;'T&gt; * <a href='http://msdn2.microsoft.com/en-us/library/System.Runtime.InteropServices.GCHandle.aspx'>GCHandle</a></pre></td><td><summary>
As for Array2D.pin, except that the caller is responsible for calling Free on the returned GCHandle in order
to release the pin.
</summary></td></tr>
</table>
</dd>
</td></tr>
<tr valign='top'><td>
<dt><h3>See Also</h3></dt><dd>
<a href="Microsoft.FSharp.Compatibility.html">Microsoft.FSharp.Compatibility</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>