50 template<
typename dtype,
typename GeneratorType = std::mt19937>
55 return detail::normal<dtype>(generator, 0, 1);
71 template<
typename dtype,
typename GeneratorType = std::mt19937>
76 return detail::normal<dtype>(generator, inShape, 0, 1);
90 template<
typename dtype>
93 return detail::standardNormal<dtype>(
generator_);
108 template<
typename dtype>
111 return detail::standardNormal<dtype>(
generator_, inShape);
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition: StaticAsserts.hpp:39
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition: NdArrayCore.hpp:139
A Shape Class for NdArrays.
Definition: Core/Shape.hpp:41
dtype standardNormal(GeneratorType &generator)
Definition: standardNormal.hpp:51
Definition: Random/bernoulli.hpp:41
static std::mt19937_64 generator_
generator function
Definition: generator.hpp:35
dtype standardNormal()
Definition: standardNormal.hpp:91