30#ifndef REMORA_KERNELS_RANDOM_HPP
31#define REMORA_KERNELS_RANDOM_HPP
38namespace remora{
namespace kernels{
40template<
class V,
class Rng,
class Device>
42 vector_expression<V, Device>& v,
44 typename V::value_type mean,
45 typename V::value_type variance
47 bindings::generate_normal(v, rng, mean, variance);
50template<
class M,
class Rng,
class Device>
52 matrix_expression<M, Device>& m,
54 typename M::value_type mean,
55 typename M::value_type variance
57 bindings::generate_normal(m, rng, mean, variance);
60template<
class V,
class Rng,
class Device>
62 vector_expression<V, Device>& v,
64 typename V::value_type low,
65 typename V::value_type high
67 bindings::generate_uniform(v, rng, low, high);
70template<
class M,
class Rng,
class Device>
72 matrix_expression<M, Device>& m,
74 typename M::value_type low,
75 typename M::value_type high
77 bindings::generate_uniform(m, rng, low, high);
80template<
class V,
class Rng,
class Device>
81void generate_discrete(
82 vector_expression<V, Device>& v,
87 bindings::generate_discrete(v, rng, low, high);
90template<
class M,
class Rng,
class Device>
91void generate_discrete(
92 matrix_expression<M, Device>& m,
97 bindings::generate_discrete(m, rng, low, high);