NumCpp  2.14.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
permutation.hpp
Go to the documentation of this file.
1
28#pragma once
29
30#include <algorithm>
31
34#include "NumCpp/NdArray.hpp"
36
37namespace nc::random
38{
39 namespace detail
40 {
41 //============================================================================
42 // Method Description:
51 template<typename dtype, typename GeneratorType = std::mt19937>
60
61 //============================================================================
62 // Method Description:
71 template<typename dtype, typename GeneratorType = std::mt19937>
80 } // namespace detail
81
82 //============================================================================
83 // Method Description:
91 template<typename dtype>
96
97 //============================================================================
98 // Method Description:
106 template<typename dtype>
111} // namespace nc::random
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition StaticAsserts.hpp:39
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition NdArrayCore.hpp:139
NdArray< dtype > permutation(GeneratorType &generator, dtype inValue)
Definition permutation.hpp:52
Definition Random/bernoulli.hpp:41
NdArray< dtype > permutation(dtype inValue)
Definition permutation.hpp:92
std::mt19937_64 generator_
generator function
Definition generator.hpp:35
NdArray< dtype > arange(dtype inStart, dtype inStop, dtype inStep=1)
Definition arange.hpp:59