 |
NumCpp
2.4.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
|
Go to the documentation of this file.
39 #include "boost/random/uniform_on_sphere.hpp"
59 template<
typename dtype>
64 boost::random::uniform_on_sphere<dtype> dist(inDims);
67 for (
uint32 row = 0; row < inNumPoints; ++row)
78 #endif // #ifndef NO_USE_BOOST
std::uint32_t uint32
Definition: Types.hpp:40
#define STATIC_ASSERT_FLOAT(dtype)
Definition: StaticAsserts.hpp:43
OutputIt copy(InputIt first, InputIt last, OutputIt destination) noexcept
Definition: StlAlgorithms.hpp:95
iterator end() noexcept
Definition: NdArrayCore.hpp:1431
Definition: Coordinate.hpp:44
static std::mt19937_64 generator_
generator function
Definition: generator.hpp:39
NdArray< dtype > uniformOnSphere(uint32 inNumPoints, uint32 inDims=2)
Definition: uniformOnSphere.hpp:60
iterator begin() noexcept
Definition: NdArrayCore.hpp:1087