31 #ifndef NUMCPP_NO_USE_BOOST
39 #include "boost/random/uniform_on_sphere.hpp"
58 template<
typename dtype>
68 boost::random::uniform_on_sphere<dtype> dist(
static_cast<int>(inDims));
71 for (
uint32 row = 0; row < inNumPoints; ++row)
#define STATIC_ASSERT_FLOAT(dtype)
Definition: StaticAsserts.hpp:43
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition: NdArrayCore.hpp:72
iterator begin() noexcept
Definition: NdArrayCore.hpp:1166
NdArray< dtype > uniformOnSphere(uint32 inNumPoints, uint32 inDims=2)
Definition: uniformOnSphere.hpp:59
static std::mt19937_64 generator_
generator function
Definition: generator.hpp:39
OutputIt copy(InputIt first, InputIt last, OutputIt destination) noexcept
Definition: StlAlgorithms.hpp:95
Definition: Coordinate.hpp:45
std::uint32_t uint32
Definition: Types.hpp:40