Namespaces

Types

Type ISet<T>

Namespace MathNet.Numerics

Interfaces IList<T>

Methods

Public instance methods

void AddDistinct(T item)

Parameters
T item

void AddRange(IEnumerable<T> range)

Parameters
IEnumerable<T> range

void AddRangeDistinct(IEnumerable<T> range)

Parameters
IEnumerable<T> range

Set<T> ConvertAll<TOutput>(Converter<T, TOutput> convert)

Parameters
return Set<T>
Converter<T, TOutput> convert

bool Exists(Predicate<T> match)

Parameters
return bool
Predicate<T> match

bool Exists(Predicate<T> match, T& foundItem)

Parameters
return bool
Predicate<T> match
T& foundItem

T Find(Predicate<T> match)

Parameters
return T
Predicate<T> match

Set<T> FindAll(Predicate<T> match)

Parameters
return Set<T>
Predicate<T> match

int FindIndex(int startIndex, Predicate<T> match)

Parameters
return int
int startIndex
Predicate<T> match

int FindIndex(Predicate<T> match)

Parameters
return int
Predicate<T> match

int FindIndex(int startIndex, int count, Predicate<T> match)

Parameters
return int
int startIndex
int count
Predicate<T> match

T FindLast(Predicate<T> match)

Parameters
return T
Predicate<T> match

int FindLastIndex(int startIndex, Predicate<T> match)

Parameters
return int
int startIndex
Predicate<T> match

int FindLastIndex(Predicate<T> match)

Parameters
return int
Predicate<T> match

int FindLastIndex(int startIndex, int count, Predicate<T> match)

Parameters
return int
int startIndex
int count
Predicate<T> match

void ForEach(Action<T> action)

Parameters
Action<T> action

bool HasEqualElements(IEnumerable<T> c)

Parameters
return bool
IEnumerable<T> c

bool IsSubset(IEnumerable<T> c)

Parameters
return bool
IEnumerable<T> c

bool IsSuperset(IEnumerable<T> c)

Parameters
return bool
IEnumerable<T> c

int LastIndexOf(T item)

Parameters
return int
T item

int RemoveAll(Predicate<T> match)

Parameters
return int
Predicate<T> match

void RemoveDuplicates()

Remove al duplicate items from this set.

void Sort(IComparer<T> comparer)

Parameters
IComparer<T> comparer

void Sort(int index, int count, IComparer<T> comparer)

Parameters
int index
int count
IComparer<T> comparer

T[] ToArray()

Create an array with all elements of this set.
Parameters
return T[]

bool TrueForAll(Predicate<T> match)

Parameters
return bool
Predicate<T> match