RandomizedCollection<T> Class

Represents a collection whose elements are enumerated in random order.

Definition

Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public class RandomizedCollection<T> : IEnumerable<T>, 
	IEnumerable
Inheritance
Object  →  RandomizedCollection<T>
Implements
IEnumerable<T>, IEnumerable

Type Parameters

T

Constructors

RandomizedCollection<T>(IEnumerable<T>) Constructs a new RandomizedCollection<T>.
RandomizedCollection<T>(IEnumerable<T>, Random) Constructs a new RandomizedCollection<T>.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetEnumeratorGets an IEnumerator that can be used to iterate through the elements of the collection.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Extension Methods

Group<T> Returns a grouping by the unique elements in a sequence.
(Defined by Grouping)
Group<T> Returns a grouping by the unique elements in a sequence using the specified comparer to determine equality.
(Defined by Grouping)
StandardDeviation<T> Returns the standard deviation of the elements of a sequence.
(Defined by Stats)
Sum<T> Computes the sum of the sequence of values.
(Defined by ArrayMath)
Sum<T, U> Computes the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by ArrayMath)
Sum<T, T2, U> Computes the sum of the sequence of values that are obtained by invoking a transform function on each pair of elements of the input sequences.
(Defined by ArrayMath)

See Also