Index<T> Methods

Methods

Append(T) Appends the specified value to the index and returns the result.
Append(Index<T>, Boolean) Appends the specified index at the end of the current index and returns the result.
CheckOrder Verifies whether the elements appear in increasing or decreasing order.
CheckUnique Verifies whether the elements in an index are unique.
Contains Returns whether the specified key is present in the index.
CopyTo Copies the elements of the index to an array beginning at the specified index.
Equals(Index<T>) Indicates whether the current index is equal to another index.
Equals(Object)Determines 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)
GetEnumerator Returns an enumerator that iterates through a collection.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetObjectData Populates a SerializationInfo with the values needed to serialize the target object.
GetSlice(Slice) Returns a slice of the current index.
GetSlice(T, T) Returns a slice of the current sorted index.
GetSlice(Int32, Int32, Int32) Returns a slice of the current index.
GetSubset Returns a subset of the current index.
GetTypeGets the Type of the current instance.
(Inherited from Object)
GetValue Gets the value of the index at the specified position.
JoinNearest Returns the index that results from joining each key in an index to the nearest key in this index.
Lookup(IEnumerable<T>) Maps a sequence of keys to their position in the index.
Lookup(T) Maps the specified key to its position in the index.
LookupNearest(IEnumerable<T>, Direction) Maps a sequence of keys to the position of the nearest key in the index.
LookupNearest(T, Direction) Finds the key nearest to the specified value in the index.
MakeJoinIndex Converts the index to an index that can serve as a key in a join operation.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Nest<U> Returns a new index that adds a new level containing all the values in the specified index.
Permute Permutes the elements of the index and returns the result.
Remove Removes the element with the specified key in the index.
RemoveAt Removes the element at the specified position in the index.
ToArray Returns an array containing the keys in the index.
ToStringReturns a string that represents the current object.
(Inherited from Object)
TryLookup Tries to find the specified key in the index.
TryLookupNearest Tries to find the key nearest to the specified value in the index.

Extension Methods

Group<T> Returns a grouping by the unique elements in a list.
(Defined by Grouping)
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 list using the specified comparer to determine equality.
(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)
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)

See Also