Skip to content

About

A Personal MathNet Helper Library

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

A Personal MathNet Helper Library

Key Design

  • Modernized SafeNativeMethods into MklNative.cs using compile-time source-generated [LibraryImport] rather than runtime-marshaled [DllImport].
    • Replaced T[] with Span<T> and ReadOnlySpan<T> for zero-allocation native interop.
    • Native interop declarations in MklNative are kept public (instead of internal) to allow direct call access when necessary.
  • High-Level wrappers (MklWrapper)
    • MatrixMultiply / MatrixMultiplyWithUpdate: Non-allocating APIs for matrix-matrix and matrix-vector multiplication.
    • DotProduct

Native Runtime Requirements

This library acts as a P/Invoke wrapper around libMathNetNumericsMKL.dll. To run, you must supply the native library, e.g., by referencing:

<PackageReference Include="MathNet.Numerics.MKL.Win-x64" Version="3.0.0" />

About

A Personal MathNet Helper Library

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages