|
| template<class... Args> |
| Generator & | operator() (Args... args) |
| | Return a reference to one generator, using an array index.
|
| |
| template<class... Args> |
| const Generator & | operator() (Args... args) const |
| | Return a constant reference to one generator, using an array index.
|
| |
| Generator & | operator[] (size_t i) |
| | Return a reference to one generator, using a flat index.
|
| |
| const Generator & | operator[] (size_t i) const |
| | Return a constant reference to one generator, using a flat index.
|
| |
| Generator & | flat (size_t i) |
| | Return a reference to one generator, using a flat index.
|
| |
| const Generator & | flat (size_t i) const |
| | Return a constant reference to one generator, using a flat index.
|
| |
| auto | state () -> typename detail::return_type< uint64_t, Shape >::type |
| | Return the state of all generators.
|
| |
| template<class R > |
| R | state () |
| | Return the state of all generators.
|
| |
| auto | initstate () -> typename detail::return_type< uint64_t, Shape >::type |
| | Return the state initiator of all generators.
|
| |
| template<class R > |
| R | initstate () |
| | Return the state initiator of all generators.
|
| |
| auto | initseq () -> typename detail::return_type< uint64_t, Shape >::type |
| | Return the sequence initiator of all generators.
|
| |
| template<class R > |
| R | initseq () |
| | Return the sequence initiator of all generators.
|
| |
| template<class T > |
| auto | distance (const T &arg) -> typename detail::return_type< int64_t, Shape >::type |
| | Distance between two states.
|
| |
| template<class R , class T > |
| R | distance (const T &arg) |
| | Distance between two states.
|
| |
| template<class T > |
| void | advance (const T &arg) |
| | Advance generators.
|
| |
| template<class T > |
| void | restore (const T &arg) |
| | Restore generators from a state.
|
| |
| size_type | size () const |
| | Return the size of the array of generators.
|
| |
| const shape_type & | strides () const |
| | Return the strides of the array of generators.
|
| |
| const shape_type & | shape () const |
| | Return the shape of the array of generators.
|
| |
| auto | shape (T axis) const |
| | Return the shape of the array of generators along a specific axis.
|
| |
| auto | flat_index (const T &index) const |
| | Return a flat index based on an array index specified as a list.
|
| |
| bool | inbounds (const T &index) const |
| | Check if an index is in bounds (and of the correct rank).
|
| |
| auto | random (const S &ishape) -> typename detail::composite_return_type< double, Shape, S >::type |
| | Per generator, generate an nd-array of random numbers \( 0 \leq r \leq 1 \).
|
| |
| R | random (const S &ishape) |
| | Per generator, generate an nd-array of random numbers \( 0 \leq r \leq 1 \).
|
| |
| auto | random (const I(&ishape)[L]) -> typename detail::composite_return_type< double, Shape, std::array< size_t, L > >::type |
| | Per generator, generate an nd-array of random numbers \( 0 \leq r \leq 1 \).
|
| |
| R | random (const I(&ishape)[L]) |
| | Per generator, generate an nd-array of random numbers \( 0 \leq r \leq 1 \).
|
| |
| auto | randint (const S &ishape, T high) -> typename detail::composite_return_type< T, Shape, S >::type |
| | Per generator, generate an nd-array of random integers \( 0 \leq r \leq bound \).
|
| |
| R | randint (const S &ishape, T high) |
| | Per generator, generate an nd-array of random integers \( 0 \leq r \leq bound \).
|
| |
| auto | randint (const I(&ishape)[L], T high) -> typename detail::composite_return_type< T, Shape, std::array< size_t, L > >::type |
| | Per generator, generate an nd-array of random integers \( 0 \leq r \leq bound \).
|
| |
| R | randint (const I(&ishape)[L], T high) |
| | Per generator, generate an nd-array of random integers \( 0 \leq r \leq bound \).
|
| |
| auto | randint (const S &ishape, T low, U high) -> typename detail::composite_return_type< T, Shape, S >::type |
| | Per generator, generate an nd-array of random integers \( 0 \leq r \leq bound \).
|
| |
| R | randint (const S &ishape, T low, U high) |
| | Per generator, generate an nd-array of random integers \( 0 \leq r \leq bound \).
|
| |
| auto | randint (const I(&ishape)[L], T low, U high) -> typename detail::composite_return_type< T, Shape, std::array< size_t, L > >::type |
| | Per generator, generate an nd-array of random integers \( 0 \leq r \leq bound \).
|
| |
| R | randint (const I(&ishape)[L], T low, U high) |
| | Per generator, generate an nd-array of random integers \( 0 \leq r \leq bound \).
|
| |
| auto | delta (const S &ishape, double scale=1) -> typename detail::composite_return_type< double, Shape, S >::type |
| | Per generator, generate an nd-array of numbers that are delta distribution.
|
| |
| R | delta (const S &ishape, double scale=1) |
| | Per generator, generate an nd-array of numbers that are delta distribution.
|
| |
| auto | delta (const I(&ishape)[L], double scale=1) -> typename detail::composite_return_type< double, Shape, std::array< size_t, L > >::type |
| | Per generator, generate an nd-array of numbers that are delta distribution.
|
| |
| R | delta (const I(&ishape)[L], double scale=1) |
| | Per generator, generate an nd-array of numbers that are delta distribution.
|
| |
| auto | exponential (const S &ishape, double scale=1) -> typename detail::composite_return_type< double, Shape, S >::type |
| | Per generator, generate an nd-array of random numbers distributed according to an exponential distribution.
|
| |
| R | exponential (const S &ishape, double scale=1) |
| | Per generator, generate an nd-array of random numbers distributed according to an exponential distribution.
|
| |
| auto | exponential (const I(&ishape)[L], double scale=1) -> typename detail::composite_return_type< double, Shape, std::array< size_t, L > >::type |
| | Per generator, generate an nd-array of random numbers distributed according to an exponential distribution.
|
| |
| R | exponential (const I(&ishape)[L], double scale=1) |
| | Per generator, generate an nd-array of random numbers distributed according to an exponential distribution.
|
| |
| auto | power (const S &ishape, double k=1) -> typename detail::composite_return_type< double, Shape, S >::type |
| | Per generator, generate an nd-array of random numbers distributed according to an power distribution.
|
| |
| R | power (const S &ishape, double k=1) |
| | Per generator, generate an nd-array of random numbers distributed according to an power distribution.
|
| |
| auto | power (const I(&ishape)[L], double k=1) -> typename detail::composite_return_type< double, Shape, std::array< size_t, L > >::type |
| | Per generator, generate an nd-array of random numbers distributed according to an power distribution.
|
| |
| R | power (const I(&ishape)[L], double k=1) |
| | Per generator, generate an nd-array of random numbers distributed according to an power distribution.
|
| |
| auto | gamma (const S &ishape, double k=1, double scale=1) -> typename detail::composite_return_type< double, Shape, S >::type |
| | Per generator, generate an nd-array of random numbers distributed according to a Gamma distribution.
|
| |
| R | gamma (const S &ishape, double k=1, double scale=1) |
| | Per generator, generate an nd-array of random numbers distributed according to a Gamma distribution.
|
| |
| auto | gamma (const I(&ishape)[L], double k=1, double scale=1) -> typename detail::composite_return_type< double, Shape, std::array< size_t, L > >::type |
| | Per generator, generate an nd-array of random numbers distributed according to a Gamma distribution.
|
| |
| R | gamma (const I(&ishape)[L], double k=1, double scale=1) |
| | Per generator, generate an nd-array of random numbers distributed according to a Gamma distribution.
|
| |
| auto | pareto (const S &ishape, double k=1, double scale=1) -> typename detail::composite_return_type< double, Shape, S >::type |
| | Per generator, generate an nd-array of random numbers distributed according to a Pareto distribution.
|
| |
| R | pareto (const S &ishape, double k=1, double scale=1) |
| | Per generator, generate an nd-array of random numbers distributed according to a Pareto distribution.
|
| |
| auto | pareto (const I(&ishape)[L], double k=1, double scale=1) -> typename detail::composite_return_type< double, Shape, std::array< size_t, L > >::type |
| | Per generator, generate an nd-array of random numbers distributed according to a Pareto distribution.
|
| |
| R | pareto (const I(&ishape)[L], double k=1, double scale=1) |
| | Per generator, generate an nd-array of random numbers distributed according to a Pareto distribution.
|
| |
| auto | weibull (const S &ishape, double k=1, double scale=1) -> typename detail::composite_return_type< double, Shape, S >::type |
| | Per generator, generate an nd-array of random numbers distributed according to a Weibull distribution.
|
| |
| R | weibull (const S &ishape, double k=1, double scale=1) |
| | Per generator, generate an nd-array of random numbers distributed according to a Weibull distribution.
|
| |
| auto | weibull (const I(&ishape)[L], double k=1, double scale=1) -> typename detail::composite_return_type< double, Shape, std::array< size_t, L > >::type |
| | Per generator, generate an nd-array of random numbers distributed according to a Weibull distribution.
|
| |
| R | weibull (const I(&ishape)[L], double k=1, double scale=1) |
| | Per generator, generate an nd-array of random numbers distributed according to a Weibull distribution.
|
| |
| auto | normal (const S &ishape, double mu=0, double sigma=1) -> typename detail::composite_return_type< double, Shape, S >::type |
| | Per generator, generate an nd-array of random numbers distributed according to a normal distribution.
|
| |
| R | normal (const S &ishape, double mu=0, double sigma=1) |
| | Per generator, generate an nd-array of random numbers distributed according to a normal distribution.
|
| |
| auto | normal (const I(&ishape)[L], double mu=0, double sigma=1) -> typename detail::composite_return_type< double, Shape, std::array< size_t, L > >::type |
| | Per generator, generate an nd-array of random numbers distributed according to a normal distribution.
|
| |
| R | normal (const I(&ishape)[L], double mu=0, double sigma=1) |
| | Per generator, generate an nd-array of random numbers distributed according to a normal distribution.
|
| |
| auto | cumsum_random (const T &n) -> typename detail::return_type< double, Shape >::type |
| | Per generator, return the result of the cumulative sum of n random numbers.
|
| |
| R | cumsum_random (const T &n) |
| | Per generator, return the result of the cumulative sum of n random numbers.
|
| |
| auto | cumsum_delta (const T &n, double scale=1) -> typename detail::return_type< double, Shape >::type |
| | Per generator, return the result of the cumulative sum of n random numbers, distributed according to a delta distribution,.
|
| |
| R | cumsum_delta (const T &n, double scale=1) |
| | Per generator, return the result of the cumulative sum of n random numbers, distributed according to a delta distribution,.
|
| |
| auto | cumsum_exponential (const T &n, double scale=1) -> typename detail::return_type< double, Shape >::type |
| | Per generator, return the result of the cumulative sum of n random numbers, distributed according to an exponential distribution, see exponential_distribution(),.
|
| |
| R | cumsum_exponential (const T &n, double scale=1) |
| | Per generator, return the result of the cumulative sum of n random numbers, distributed according to an exponential distribution, see exponential_distribution(),.
|
| |
| auto | cumsum_power (const T &n, double k=1) -> typename detail::return_type< double, Shape >::type |
| | Per generator, return the result of the cumulative sum of n random numbers, distributed according to an power distribution, see power_distribution(),.
|
| |
| R | cumsum_power (const T &n, double k=1) |
| | Per generator, return the result of the cumulative sum of n random numbers, distributed according to an power distribution, see power_distribution(),.
|
| |
| auto | cumsum_gamma (const T &n, double k=1, double scale=1) -> typename detail::return_type< double, Shape >::type |
| | Per generator, return the result of the cumulative sum of n random numbers, distributed according to a gamma distribution, see gamma_distribution(),.
|
| |
| R | cumsum_gamma (const T &n, double k=1, double scale=1) |
| | Per generator, return the result of the cumulative sum of n random numbers, distributed according to a gamma distribution, see gamma_distribution(),.
|
| |
| auto | cumsum_pareto (const T &n, double k=1, double scale=1) -> typename detail::return_type< double, Shape >::type |
| | Per generator, return the result of the cumulative sum of n random numbers, distributed according to a pareto distribution, see pareto_distribution(),.
|
| |
| R | cumsum_pareto (const T &n, double k=1, double scale=1) |
| | Per generator, return the result of the cumulative sum of n random numbers, distributed according to a pareto distribution, see pareto_distribution(),.
|
| |
| auto | cumsum_weibull (const T &n, double k=1, double scale=1) -> typename detail::return_type< double, Shape >::type |
| | Per generator, return the result of the cumulative sum of n random numbers, distributed according to a weibull distribution, see weibull_distribution(),.
|
| |
| R | cumsum_weibull (const T &n, double k=1, double scale=1) |
| | Per generator, return the result of the cumulative sum of n random numbers, distributed according to a weibull distribution, see weibull_distribution(),.
|
| |
| auto | cumsum_normal (const T &n, double mu=0, double sigma=1) -> typename detail::return_type< double, Shape >::type |
| | Per generator, return the result of the cumulative sum of n random numbers, distributed according to a normal distribution, see normal_distribution(),.
|
| |
| R | cumsum_normal (const T &n, double mu=0, double sigma=1) |
| | Per generator, return the result of the cumulative sum of n random numbers, distributed according to a normal distribution, see normal_distribution(),.
|
| |
| auto | decide (const P &p) -> typename detail::return_type< bool, P >::type |
| | Decide based on probability per generator.
|
| |
| R | decide (const P &p) |
| | Decide based on probability per generator.
|
| |
| void | decide (const P &p, R &ret) |
| | Decide based on probability per generator.
|
| |
| auto | decide_masked (const P &p, const T &mask) -> typename detail::return_type< bool, P >::type |
| | Decide based on probability per generator.
|
| |
| R | decide_masked (const P &p, const T &mask) |
| | Decide based on probability per generator.
|
| |
| void | decide_masked (const P &p, const T &mask, R &ret) |
| | Decide based on probability per generator.
|
| |