36 packages tagged with “shuffle”
A lightweight library of common utilities for working with random numbers
Cryptographically secure random value generators for Integer, DateTime, String (and Passphrase), Guid, and Byte types.
The Cuemon.Extensions.Collections.Generic namespace contains extension methods that complements the Cuemon.Collections.Generic namespace while being an addition to the System.Collections.Generic namespace.
Spreads Native methods
This library has utilities to shuffle lists of generic types using the Fisher–Yates shuffle algorithm.
RandomShuffler uses even distribution and is closer to simulating real cards or dice than a rand function. There is RandomShuffler and LargeNumberShuffler is faster for big numbers. This project has been updated to .NET 10. Use 9.x for .NET 9, 8.x for .NET 8, etc.
Spreads low-level IL unsafe methods
shuffle/randomize a list easily
The Shuffle Runner can both export and import data and solutions by the Shuffle schema definition file. Installing this tool, will also include the other tools for the Shuffle: Shuffle Builder and Shuffle Deployer. Read more: https://jonasr.app/shuffle
The Shuffle Builder helps you to create schema definition files. Installing this tool, will also include the other tools for the Shuffle: Shuffle Runner and Shuffle Deployer. Read more: https://jonasr.app/shuffle
Classes, methods and extension methods dealing with randomness, shuffling, and auxiliary classes and methods. The static class "R" contains static methods "Next", "NextDouble" and "NextFloat" which use an internal static Random instance, and also contains extension methods "Shuffle" (which randomizes a list), "GetRandom" (which takes a random element from a list) and "GetRandomWithoutReplacement" (which takes a number of random unique elements from a list).
The Shuffle Deployer can deploy datas and solutions defined by the Shuffle definitions in a controlled way - without advanced pipelines. Installing this tool, will also include the other tools for the Shuffle: Shuffle Builder and Shuffle Runner. Read more: https://jonasr.app/shuffle
Generate big numbers; Shuffle numbers simply
Thread-safe list shuffle extension library, using Fisher-Yates shuffle and optional cryptographically-strong random.
This is a direct port of RandomShuffler for Dot Net Framework. Everything should work the same. I am starting with the same version the Dot Net Framework was at, but since this is the first version for Dot Net Core, use with caution.
The RandomEnumerableExtensions class library implements Random() and Shuffle() extension methods so they are available as methods on any collection that implements IEnumerable<T>. The Random() method returns one item randomly chosen from the collection. The Shuffle() method reorders the collection. If the collection implements IList<T>, the items are shuffled in place. Otherwise, the collection is copied in random order. Now targets .NET Standard 2.0 or .NET 5.0, and supports nullable reference types.
A library for playing cards (standard and custom), draw piles and shuffling.
IEnumerable extension methods that are useful in day to day programming.
Helps creating random strings.
Methods for shuffling IList and IEnumerable
VB.NET source file that contains an extension method that allows to shuffle an array or other IList. Supported versions: .NET Framework 3.5 .NET Framework 4.0 .NET Framework 4.5 .NET Framework 4.5.1 .NET Framework 4.5.2 .NET Framework 4.6 .NET Framework 4.6.1 Language requirement: Visual Basic 9 (shipped in 2007 with .NET 3.5) This package is part of the "SingleFile.VB" collection that consists of small utilities in the form of VB.NET source files, usually two of them per package, namely the code file and the test file (Microsoft standard unit tests) as well as the license files that are shared over all "Single.VB" packages. Some philosophy: Extension methods and other static utility functions are not shared accross projects resp. assemblies but included wherever they are needed. For that reason they are declared "Friend" and namespace-less as they are supposed to be part of the project's current namespace. Unit test files are added directly to the project and declared "Public" because of limitations of that framework, but they are only compiled in debug mode (through a compiler directive that checks for the "DEBUG" keyword). This allows to keep the tests very near to the code which simplifies access to internal members but does not bulk the published version. The reference to "Microsoft.VisualStudio.TestTools.UnitTesting" (assembly "Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll") is only needed during development and may be declared with "Copy Local = False". The NuGet package version is global across all "Single.VB" packages, and they always reference other packages of the same version (most recent at the time of publishing). This greatly simplifies my dependency handling and therefore improves the quality of the NuGet packages, but may leed to an updated package that does not contain any code change. I apologize for that inconvenience. Your feedback and/or contribution is welcome. Please contact me on singlefile.vb@gmail.com.
Shuffle Array (shuffle-array) binding library for Bridge.NET projects.
Extension methods that are useful in day to day programming. This package includes extension methods for collections and Linq
A simple and efficient shuffle bag implementation for .NET.
This just shuffle a hello world string
Simple helper library to get exponential and normal distributed number(s) and shuffling of list
This .NET library is a super light implementation of the `Xoshiro256**` algorithm with inclusive min and max values, and it's only 1 file large. You can supply your own seeds/states or not, the outputted values are evenly distributed, and it returns Boolean/8bit/16bit/32bit/64bit/Single/Double. You can inherit from the `KRand` class too and add other stuff. You can also shuffle `IList`s and `Span`s. Performance is the focus; no allocations unless absolutely necessary! Project URL and Samples ― https://github.com/Kermalis/KRand
Unified algorithm support for indexed .NET collections.