pyml.math package¶
Submodules¶
pyml.math.rand module¶
-
pyml.math.rand.
randperm
(start, end, num)[source]¶ random permutation.
returns a row vector containing
num
unique integers selected randomly fromstart:end
. For example, randperm(3, 10, 3) might be [9, 4, 7].- Arguments:
- start {[number]} – [start number] end {[number]} – [end number] num {[number]} – [number of unique integers]
- Returns:
- [type] – [description]