MyMediaLite
3.04
|
Class containing utility functions. More...
Static Public Member Functions | |
static Type[] | GetTypesInNamespace (string name_space) |
Get all types of a namespace. | |
static Func< A, R > | Memoize< A, R > (this Func< A, R > f) |
Memoize a function. | |
static void | Shuffle< T > (this IList< T > list) |
Shuffle a list in-place. |
Class containing utility functions.
static Type [] GetTypesInNamespace | ( | string | name_space | ) | [inline, static] |
Get all types of a namespace.
name_space | a string describing the namespace |
static Func<A, R> Memoize< A, R > | ( | this Func< A, R > | f | ) | [inline, static] |
Memoize a function.
f | The function to memoize |
static void Shuffle< T > | ( | this IList< T > | list | ) | [inline, static] |
Shuffle a list in-place.
Fisher-Yates shuffle, see http://en.wikipedia.org/wiki/Fisher–Yates_shuffle