Namespace NumSharp.Backends
Classes
- DefaultEngine
Default Tensor Engine implemented in pure micro-optimized C#.
- MultiThread
Global configuration for NumSharp's multithreaded kernels.
Currently governs the fused 1-D dot product (numpy.dot vector·vector) for contiguous float / double inputs; other kernels remain single-threaded. Disabled by default — enable via multithreading(bool, int) so existing behavior (and bit-for-bit summation order) is unchanged unless the caller opts in.
Parallelism is gated on work size: tiny and medium reductions stay on one thread because thread fan-out (a few microseconds) would dominate. Only when there is enough work to amortize that cost are chunks dispatched across cores.
- UnmanagedStorage
Serves as a typed storage for an array.
Interfaces
- IBlasBackend
An external BLAS/LAPACK a TensorEngine may delegate its matrix products and factorisations to.
- ISlidingDotBackend
An optional capability a IBlasBackend MAY also implement to supply the byte-parity level-1 dot product (NumPy's per-dtype
dotfunc) behind the sliding multiply-accumulate family —np.correlateandnp.convolve.