Kiyote.Buffers.Numerics
0.8.0
dotnet add package Kiyote.Buffers.Numerics --version 0.8.0
NuGet\Install-Package Kiyote.Buffers.Numerics -Version 0.8.0
<PackageReference Include="Kiyote.Buffers.Numerics" Version="0.8.0" />
<PackageVersion Include="Kiyote.Buffers.Numerics" Version="0.8.0" />
<PackageReference Include="Kiyote.Buffers.Numerics" />
paket add Kiyote.Buffers.Numerics --version 0.8.0
#r "nuget: Kiyote.Buffers.Numerics, 0.8.0"
#:package Kiyote.Buffers.Numerics@0.8.0
#addin nuget:?package=Kiyote.Buffers.Numerics&version=0.8.0
#tool nuget:?package=Kiyote.Buffers.Numerics&version=0.8.0
Kiyote.Buffers.Numerics
Provides a INumericBufferOperator to perform actions on large numeric buffers. These operations are vectorized where possible for performance.
Overview
This library was created to service the needs of large buffer operations in other libraries. It offers a way to reduce boilerplate code such that you only write the operation you wish to perform on the buffer and the library will handle the rest.
Getting Started
Register the factories and operators with the DI container:
services.AddNumericBuffers();
Then inject the INumericBufferOperator into your class and use it to perform operations on buffers.
public class MyClass
{
private readonly INumericBufferFactory _bufferFactory;
private readonly INumericBufferOperator _bufferOperator;
public MyClass(
INumericBufferFactory bufferFactory,
INumericBufferOperator bufferOperator
) {
_bufferFactory = bufferFactory;
_bufferOperator = bufferOperator;
}
public void ProcessBuffer()
{
IBuffer<float> buffer = _bufferFactory.Create( 100, 100, 0 );
// Fill the buffer with whatever
_bufferOperator.Normalize( buffer );
// Now the buffer will contain normalized values between 0 and 1
}
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Kiyote.Buffers (>= 0.8.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.