Modules§
Structs§
- Categorical
Cart Prod - Iterates over a set of categorical ranges
- Implicitly
Transposed Matrix - Matrix
- A lightweight Matrix abstraction that does almost nothing.
Traits§
Functions§
- argmax
- Returns the index of the largest element in xs.
- argmin
- Returns the index of the smallest element in xs.
- bincount
- Bins the entries in
xs
intok
bins. - choose2ixs
- Choose two distinct random numbers in [0, …, n-1]
- cumsum
- Cumulative sum of
xs
- is_
index_ col - logaddexp
- Perform ln(exp(x) + exp(y)) in a more numerically stable way
- mean
- The mean of a vector of f64
- mean_
var - Compute the mean and variance faster than by calling mean and var separately
- minmax
- Returns a tuple (min_elem, max_elem).
- parse_
result - Attempt to turn a
&str
into aT
- sign
- Like
signum
, but return 0.0 if the number is zero - std
- The standard deviation of a vector of f64
- transpose
- transpose_
mapvec - Turn
Vec<Map<K, V>>
intoMap<K, Vec<V>>
- unused_
components - Returns a vector, in descending order, of the indices of the unused
components in
asgn_vec
, which can take on values from 0…k-1 - var
- The variance of a vector of f64