 |
NumCpp
1.0
A C++ implementation of the Python Numpy library
|
Go to the documentation of this file.
40 #include "boost/random/uniform_on_sphere.hpp"
58 template<
typename dtype>
68 boost::random::uniform_on_sphere<dtype> dist(inDims);
71 for (
uint32 row = 0; row < inNumPoints; ++row)
std::uint32_t uint32
Definition: Types.hpp:41
#define STATIC_ASSERT_FLOAT(dtype)
Definition: StaticAsserts.hpp:44
OutputIt copy(InputIt first, InputIt last, OutputIt destination) noexcept
Definition: StlAlgorithms.hpp:96
iterator end() noexcept
Definition: NdArrayCore.hpp:1435
Definition: Coordinate.hpp:45
static std::mt19937_64 generator_
generator function
Definition: generator.hpp:40
#define THROW_INVALID_ARGUMENT_ERROR(msg)
Definition: Error.hpp:37
NdArray< dtype > uniformOnSphere(uint32 inNumPoints, uint32 inDims=2)
Definition: uniformOnSphere.hpp:59
iterator begin() noexcept
Definition: NdArrayCore.hpp:1091