Redzen 13.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Redzen --version 13.0.0
NuGet\Install-Package Redzen -Version 13.0.0
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="Redzen" Version="13.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Redzen --version 13.0.0
#r "nuget: Redzen, 13.0.0"
#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.
// Install Redzen as a Cake Addin
#addin nuget:?package=Redzen&version=13.0.0

// Install Redzen as a Cake Tool
#tool nuget:?package=Redzen&version=13.0.0

General purpose C# code library.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Redzen:

Package Downloads
SharpNeatLib

SharpNEAT - Evolution of Neural Networks.

SharpNeat

SharpNEAT - Evolution of Neural Networks.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Redzen:

Repository Stars
colgreen/sharpneat
SharpNEAT - Evolution of Neural Networks. A C# .NET Framework.
Version Downloads Last updated
15.0.0 1,136 7/22/2023
14.0.0 1,401 1/1/2023
13.0.0 1,194 1/9/2022
12.0.0 8,008 3/14/2021
11.0.0 3,517 8/2/2020
10.0.0 1,139 6/28/2020
9.1.3 1,034 12/30/2021
9.1.2 1,206 11/8/2020
9.1.1 6,915 7/5/2020
9.1.0 1,038 6/14/2020
9.0.0 2,434 4/24/2019
8.0.0 2,002 1/22/2019
7.2.3 2,157 6/23/2018
7.2.2 1,497 6/13/2018
7.2.1 1,744 5/20/2018
7.2.0 1,492 5/19/2018
7.1.0 1,462 5/18/2018
7.0.1 1,733 5/11/2018
7.0.0 1,693 5/10/2018
6.0.0 1,644 5/8/2018
5.0.0 1,504 4/23/2018
4.0.0 2,230 1/27/2018
3.0.2 6,785 4/23/2017
3.0.1 1,468 3/29/2017
3.0.0 1,483 3/29/2017
2.0.0 1,585 3/11/2017
1.0.5 2,774 3/9/2016
1.0.4 1,768 2/14/2016
1.0.3 1,786 2/6/2016
1.0.2 1,786 2/6/2016
1.0.1 1,748 2/5/2016
1.0.0.1 1,780 11/7/2015

General
- Target framework upgraded from net5.0 to net6.0; this allows use of some new API surface in net6.

Fixes
- BoxMullerGaussianSampler, ZiggurateSampler, BoxMullerGaussianStatelessSampler, ZigguratGaussianStatelessSampler: Fixed Span based Sampler methods to use defined distribution mean and standard deviation.

Breaking Changes
- Moved Shuffle(Span{T}) from SortUtils to SpanUtils.
- Deleted ListSortUtils.Shuffle(IList{T}), as this can now be achieved more cleanly and efficiently using CollectionsMarshall.AsSpan() and SpanUtils.Shuffle().
- Deleted ParallelSort. For most cases a multi-threaded sort is not a good choice, and for those cases where it may be a good choice, doing it with pure quicksort implemented with Parallel.Invoke() is likely not a good choice.
- Deleted ListSortUtils. For these methods that operate on IList{T} (and in one case List{T}), this functionality can now be achieved by using the Span based methods in SortUtils, in combination with CollectionsMarshal.AsSpan(). Keeping this code would just create maintenance overhead for code that exists only for legacy reasons.

New
- Added WyRandom PRNG class. This has superior statistical qualities compared to the xoshiro PRNGs, and performs at about the same speed on x86 systems with the BMI2 MULX instructions.
- Added DoubleUtils, SingleUtils, with methods IsNonNegativeReal(), IsPositiveReal(), AllNonNegativeReal(Span), AllPositiveReal(Span).
- MathSpan(): Added methods Multiply(Span,Span) for type double, float and Int32.
- IStatelessSampler: Added Sample(out T x, IRandomSource rng) method.
- ISampler: Added void Sample(out T x) for fast ref based sampling directly into an existing variable.
- Added missing class Float.BoxMullerGaussianStatelessSampler.
- ZigguratGaussian: Added void Sample(IRandomSource rng, out double x) method for fast ref based sampling directly into an existing variable.
- Added SortUtils.SortUnstable() method; for spans of IComparable{T} types.

Improvements
- DefaultRandomSeedSource: Use RandomNumberGenerator.Fill() instead of RNGCryptoServiceProvider.GetBytes() (now deprecated).
- SortUtils.IsSortedAscending: Significant performance improvements for native primitive types, by use of native comparison operators for those types.
- DiscreteDistribution: Added check for non-legal probability values. Use vectorized span sum and multiplication. Micro-optimizations.
- ZigguratGaussian, UniformDistribution: micro-optimizations: Set sign bit directly instead of conditional multiply by -1.
- ZigguratGaussian micro-optimization: Replace single divide op with multiply by reciprocal.
- Enabled SkipLocalsInit compiler setting. This provides a small performance benefit to most (all?) methods.