1.. Copyright (c) 2016, Johan Mabille, Sylvain Corlay and Wolf Vollprecht 2 3 Distributed under the terms of the BSD 3-Clause License. 4 5 The full license is in the file LICENSE, distributed with this software. 6 7xrandom 8======= 9 10Defined in ``xtensor/xrandom.hpp`` 11 12.. warning:: xtensor uses a lazy generator for random numbers. You need to assign them or use ``eval`` to keep the generated values consistent. 13 14.. _random-get_default_random_engine-function-reference: 15.. doxygenfunction:: xt::random::get_default_random_engine 16 :project: xtensor 17 18.. _random-seed-function-reference: 19.. doxygenfunction:: xt::random::seed 20 :project: xtensor 21 22.. _random-rand-function-reference: 23.. doxygenfunction:: xt::random::rand(const S&, T, T, E&) 24 :project: xtensor 25 26.. _random-randint-function-reference: 27.. doxygenfunction:: xt::random::randint(const S&, T, T, E&) 28 :project: xtensor 29 30.. _random-randn-function-reference: 31.. doxygenfunction:: xt::random::randn(const S&, T, T, E&) 32 :project: xtensor 33 34.. _random-binomial-function-reference: 35.. doxygenfunction:: xt::random::binomial(const S&, T, D, E&) 36 :project: xtensor 37 38.. _random-geometric-function-reference: 39.. doxygenfunction:: xt::random::geometric(const S&, D, E&) 40 :project: xtensor 41 42.. _random-negative_binomial-function-reference: 43.. doxygenfunction:: xt::random::negative_binomial(const S&, T, D, E&) 44 :project: xtensor 45 46.. _random-poisson-function-reference: 47.. doxygenfunction:: xt::random::poisson(const S&, D, E&) 48 :project: xtensor 49 50.. _random-exponential-function-reference: 51.. doxygenfunction:: xt::random::exponential(const S&, T, E&) 52 :project: xtensor 53 54.. _random-gamma-function-reference: 55.. doxygenfunction:: xt::random::gamma(const S&, T, T, E&) 56 :project: xtensor 57 58.. _random-weibull-function-reference: 59.. doxygenfunction:: xt::random::weibull(const S&, T, T, E&) 60 :project: xtensor 61 62.. _random-extreme_value-function-reference: 63.. doxygenfunction:: xt::random::extreme_value(const S&, T, T, E&) 64 :project: xtensor 65 66.. _random-lognormal-function-reference: 67.. doxygenfunction:: xt::random::lognormal(const S&, T, T, E&) 68 :project: xtensor 69 70.. _random-cauchy-function-reference: 71.. doxygenfunction:: xt::random::cauchy(const S&, T, T, E&) 72 :project: xtensor 73 74.. _random-fisher_f-function-reference: 75.. doxygenfunction:: xt::random::fisher_f(const S&, T, T, E&) 76 :project: xtensor 77 78.. _random-student_t-function-reference: 79.. doxygenfunction:: xt::random::student_t(const S&, T, E&) 80 :project: xtensor 81 82.. _random-choice-function-reference: 83.. doxygenfunction:: xt::random::choice(const xexpression<T>&, std::size_t, bool, E&) 84 :project: xtensor 85.. doxygenfunction:: xt::random::choice(const xexpression<T>&, std::size_t, const xexpression<W>&, bool, E&) 86 :project: xtensor 87 88.. _random-shuffle-function-reference: 89.. doxygenfunction:: xt::random::shuffle 90 :project: xtensor 91 92.. _random-permutation-function-reference: 93.. doxygenfunction:: xt::random::permutation(T, E&) 94 :project: xtensor 95