SIMDUtils 1.0.0-alpha1
This is a prerelease version of SIMDUtils.
dotnet add package SIMDUtils --version 1.0.0-alpha1
NuGet\Install-Package SIMDUtils -Version 1.0.0-alpha1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SIMDUtils" Version="1.0.0-alpha1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SIMDUtils" Version="1.0.0-alpha1" />
<PackageReference Include="SIMDUtils" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SIMDUtils --version 1.0.0-alpha1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SIMDUtils, 1.0.0-alpha1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SIMDUtils@1.0.0-alpha1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SIMDUtils&version=1.0.0-alpha1&prerelease
#tool nuget:?package=SIMDUtils&version=1.0.0-alpha1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
SIMD Utils
A set of generic utilities for efficient SIMD processing of arbitrary Vector transformers funcs.
Example Usage
Define a selector value func:
struct SimpleSelector : IVectorFunc<float>
{
private static readonly Vector<float> _five = new(5f);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public Vector<float> Invoke(Vector<float> val) => (val * 5 + _five) / _five;
}
Use it with Vectorizer.Select
public void TransformDate(float[] inputData)
{
var dataSpan = inputData.AsSpan();
Vectorizer.Select(dataSpan, new SimpleSelector());
// any other transforms required...
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.0-alpha1 | 132 | 7/31/2023 |