Linq Extensions.Lookup<TKey, T> Class
Defines an indexer, size property, and Boolean search method for
LinqExtensions.Grouping<TKey, T> objects.
Definition
Namespace: Numerics.NET.DataAnalysis.Linq
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public class Lookup<TKey, T> : IEnumerable<LinqExtensions.Grouping<TKey, T>>,
IEnumerable
- Inheritance
- Object → LinqExtensions.Lookup<TKey, T>
- Implements
- IEnumerable<LinqExtensions.Grouping<TKey, T>>, IEnumerable
Type Parameters
- TKey
- The type of the key.
- T
- The type of the elements of the collection.
Constructors
Linq | Constructs a new lookup object. |
Properties
Count | Gets the number of key/value collection pairs. |
Item | Gets the sequence of values indexed by the specified key. |
Methods
Contains | Determines whether a specific key exists in the lookup. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
Get | |
Get | Serves as the default hash function. (Inherited from Object) |
Get | Gets the Type of the current instance. (Inherited from Object) |
Memberwise | Creates a shallow copy of the current Object. (Inherited from Object) |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Extension Methods
Group<LinqExtensions.Grouping<TKey, T>> |
Returns a grouping by the unique elements in a sequence.
(Defined by Grouping) |
Group<LinqExtensions.Grouping<TKey, T>> |
Returns a grouping by the unique elements in a sequence
using the specified comparer to determine equality.
(Defined by Grouping) |
Standard |
Returns the standard deviation of the elements of a sequence.
(Defined by Stats) |
Sum<LinqExtensions.Grouping<TKey, T>> |
Computes the sum of the sequence of values.
(Defined by ArrayMath) |
Sum<LinqExtensions.Grouping<TKey, 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<LinqExtensions.Grouping<TKey, 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) |