csharpfftfsharpintegrationinterpolationlinear-algebramathdifferentiationmatrixnumericsrandomregressionstatisticsmathnet
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.
27 lines
802 B
27 lines
802 B
// (c) Microsoft Corporation 2005-2009.
|
|
|
|
namespace Microsoft.FSharp.NativeInterop
|
|
|
|
open Microsoft.FSharp.Math
|
|
open System.Runtime.InteropServices
|
|
|
|
[<AutoOpen>]
|
|
module NativArrayExtensionsForMatrix =
|
|
|
|
type Microsoft.FSharp.NativeInterop.PinnedArray<'T> with
|
|
|
|
/// For native interop. Pin the given object
|
|
[<NoDynamicInvocation>]
|
|
static member inline of_vector : Vector<'T> -> PinnedArray<'T>
|
|
|
|
/// For native interop. Pin the given object
|
|
[<NoDynamicInvocation>]
|
|
static member inline of_rowvec : RowVector<'T> -> PinnedArray<'T>
|
|
|
|
|
|
type Microsoft.FSharp.NativeInterop.PinnedArray2<'T> with
|
|
|
|
/// For native interop. Pin the given object
|
|
[<NoDynamicInvocation>]
|
|
static member inline of_matrix : Matrix<'T> -> PinnedArray2<'T>
|
|
|
|
|