## Types

Type SampleList

Namespace MathNet.Numerics

Interfaces ICloneable, IDictionary

### Events

#### SampleAltered

Event which notifies when a sample has been altered.

### Public instance methods

#### void Add(double t, double x)

Add a new sample to the list.
 `double` t key t, where x=f(t) or (t,x). `double` x value x, where x=f(t) or (t,x).

#### SampleList Clone()

Create a copy of this sample list.
 return `SampleList`

#### bool ContainsT(double t)

True if this sample list contains a sample at t
 return `bool` `double` t

#### bool ContainsX(double x)

True if this sample list contains a sample value x
 return `bool` `double` x

#### bool Equals(object obj)

 return `bool` `object` obj

#### int GetHashCode()

 return `int`

#### double GetT(int index)

Get the key t stored at the given index, where x=f(t) or (t,x).
 return `double` `int` index

#### Type GetType()

 return `Type`

#### double GetX(int index)

Get the value x stored at the given index, where x=f(t) or (t,x).
 return `double` `int` index

#### int Locate(double t, int nearIndex)

Find the index i of a sample near t such that t[i] <= t <= t[i+1].
This method is faster if the expected index is near nearIndex (compared to the list size) but may be slower otherwise (worst case: factor 2 slower, best case: log2(n) faster).
 return `int` `double` t `int` nearIndex

#### int Locate(double t)

Find the index i of a sample near t such that t[i] <= t <= t[i+1].
 return `int` `double` t

#### void Remove(double t)

Remove all samples with a key exactly equal to t, where x=f(t) or (t,x).
 `double` t

#### void RemoveAt(int index)

Remove the sample at the given index.
 `int` index

#### string ToString()

 return `string`

### Public properties

#### int Capacity get; set;

The count of unique samples supported.
 `return int`

#### int Count get;

The count of unique samples stored.
 `return int`

#### double MaxT get;

The biggest key t in the sample list, where x=f(t) or (t,x).
 `return double`

#### double MinT get;

The smallest key t in the sample list, where x=f(t) or (t,x).
 `return double`