 |
NumCpp
1.0
A C++ implementation of the Python Numpy library
|
Go to the documentation of this file.
37 #include "boost/random/normal_distribution.hpp"
51 template<
typename dtype>
56 boost::random::normal_distribution<dtype> dist;
72 template<
typename dtype>
79 boost::random::normal_distribution<dtype> dist;
82 [&dist](dtype& value) ->
void
84 value = dist(generator_);
void for_each(InputIt first, InputIt last, UnaryFunction f) noexcept
Definition: StlAlgorithms.hpp:214
A Shape Class for NdArrays.
Definition: Core/Shape.hpp:41
#define STATIC_ASSERT_FLOAT(dtype)
Definition: StaticAsserts.hpp:44
iterator end() noexcept
Definition: NdArrayCore.hpp:1435
dtype randN()
Definition: randN.hpp:52
Definition: Coordinate.hpp:45
static std::mt19937_64 generator_
generator function
Definition: generator.hpp:40
iterator begin() noexcept
Definition: NdArrayCore.hpp:1091