|
static double | Clamp01 (double t) |
| Clamps the value between 0 and 1. More...
|
|
static double[] | CumSum (IList< double > values) |
| Returns the cumulative sums of the list. More...
|
|
static void | CumSum (IList< double > values, List< double > result) |
| Adds the cumulative sum of the list to teh specified results list. More...
|
|
static double[] | CumSum (IList< float > values) |
| Returns the cumulative sums of the list. More...
|
|
static void | CumSum (IList< float > values, List< double > result) |
| Adds the cumulative sum of the list to teh specified results list. More...
|
|
static double | Lerp (double a, double b, double t) |
| Linearly interpolates between two points based on a fractional distance parameter. This method will clamp the parameter to [0, 1]. More...
|
|
static double | LerpUnclamped (double a, double b, double t) |
| Linearly interpolates between two points based on a fractional distance parameter. More...
|
|
static int | MaxIndex (IList< double > values) |
| Returns the index in the collection where the first maximum value occurs. Returns -1 if the collection is empty. More...
|
|
static int | MaxIndex (IList< float > values) |
| Returns the index in the collection where the first maximum value occurs. Returns -1 if the collection is empty. More...
|
|
static int | MaxIndex (IList< int > values) |
| Returns the index in the collection where the first maximum value occurs. Returns -1 if the collection is empty. More...
|
|
static int | MinIndex (IList< double > values) |
| Returns the index in the collection where the first minimum value occurs. Returns -1 if the collection is empty. More...
|
|
static int | MinIndex (IList< float > values) |
| Returns the index in the collection where the first minimum value occurs. Returns -1 if the collection is empty. More...
|
|
static int | MinIndex (IList< int > values) |
| Returns the index in the collection where the first minimum value occurs. Returns -1 if the collection is empty. More...
|
|
static double[] | Softmax (IList< double > values) |
| Returns the softmax of the collection of values. More...
|
|
static double[] | Softmax (IList< float > values) |
| Returns the softmax of the collection of values. More...
|
|
Contains extra math operations.
Definition at line 9 of file Maths.cs.