Redzen 12.0.0

General purpose C# code library.

Install-Package Redzen -Version 12.0.0
dotnet add package Redzen --version 12.0.0
<PackageReference Include="Redzen" Version="12.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Redzen --version 12.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Redzen, 12.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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=12.0.0

// Install Redzen as a Cake Tool
#tool nuget:?package=Redzen&version=12.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

- Target framework upgraded from netcoreapp3.1 to net5.0; this allows use of some new API surface in net5 which improves performance in places.
 - The redzen assembly is no longer strong named, as this is no longer necessary or helpful within a dotnet core runtime environment.
 - The following classes, interfaces, and methods have been 'spanified':
  - TimSort{T}, TimSort{K,V}, TimSort{K,V,W}
  - IntroSort{K,V,W}
  - SortUtils
  - NumericsUtils
  - Base64EncodingOutputStream
  - ISampler, IStatelessSampler
  - MemoryBlockStream
  - NonClosingStreamWrapper.

 - TimSort: Replaced BinarySort() method with a simple InsertionSort() method that performs much better.
 - IntroSort{K,V,W} performance tweaks.
 - Added MathSpan.Min(), Max() for double, float, and Int32.
 - Added MathSpan.SumOfSquares() for double, float values.
 - Added MathSpan Int32 overloads.
 - EnumerableUtils.RangeRandomOrder() now gets a temp array from ArrayPool (to reduce memory allocs and garbage collection).
 - Added DiscreteDistribution.SingleOutcome singleton field.
 - FileByteArray now uses smaller buffer size.
 - DefaultRandomSeedSource: Sealed the class. Use stackalloc for obaining crypto random bytes. Integer arithmetic using bitshifts (performance tweak).
 - Rename: NumericsUtils.ProbabilisticRound() to StochasticRound().
 - Rename: CalculateMedian() to Median(), and moved from NumericsUtils to MathSpan.
 - Rename: DoubleCircularBufferWithStats to CircularBufferWithStats.
 - Fix: MathUtils.Log2Ceiling(uint) gave incorrect results when the high bit was set.
 - MathUtils.IsPowerOfTwo() implementions changed to use BitOperations.PopCount() instead of arithmetic trick (performance tweak).
 - IRandomSource.NextBytes(Span{byte}) implementations reimplemented to use modern faster techniques for populating 8 bytes at a time (approx. 7% performance boost)
 - SpanUtils.Equals{T}() renamed to Equal{T}().
 - Multiple other small fixes and improvements; see repository git history for full details.

  • net5.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Redzen:

Package Downloads
SharpNeatLib
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 History

Version Downloads Last updated
12.0.0 727 3/14/2021
11.0.0 2,051 8/2/2020
10.0.0 330 6/28/2020
9.1.2 332 11/8/2020
9.1.1 1,794 7/5/2020
9.1.0 285 6/14/2020
9.0.0 1,295 4/24/2019
8.0.0 915 1/22/2019
7.2.3 998 6/23/2018
7.2.2 591 6/13/2018
7.2.1 709 5/20/2018
7.2.0 586 5/19/2018
7.1.0 581 5/18/2018
7.0.1 655 5/11/2018
7.0.0 609 5/10/2018
6.0.0 588 5/8/2018
5.0.0 608 4/23/2018
4.0.0 1,105 1/27/2018
3.0.2 1,339 4/23/2017
3.0.1 616 3/29/2017
3.0.0 577 3/29/2017
2.0.0 673 3/11/2017
1.0.5 1,882 3/9/2016
1.0.4 913 2/14/2016
1.0.3 893 2/6/2016
1.0.2 885 2/6/2016
1.0.1 857 2/5/2016
1.0.0.1 909 11/7/2015