47 template<
typename dtype,
typename GeneratorType = std::mt19937>
50 std::shuffle(inArray.
begin(), inArray.
end(), generator);
60 template<
typename dtype>
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition NdArrayCore.hpp:139
iterator end() noexcept
Definition NdArrayCore.hpp:1623
iterator begin() noexcept
Definition NdArrayCore.hpp:1315
Definition Random/bernoulli.hpp:43
void shuffle(GeneratorType &generator, NdArray< dtype > &inArray)
Definition shuffle.hpp:48
Definition Random/bernoulli.hpp:41
std::mt19937_64 generator_
generator function
Definition generator.hpp:35
void shuffle(NdArray< dtype > &inArray)
Definition shuffle.hpp:61