NumCpp  2.7.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
standardNormal.hpp
Go to the documentation of this file.
1 #pragma once
29 
31 #include "NumCpp/Core/Shape.hpp"
32 #include "NumCpp/NdArray.hpp"
33 #include "NumCpp/Random/normal.hpp"
34 
35 namespace nc
36 {
37  namespace random
38  {
39  //============================================================================
40  // Method Description:
48  template<typename dtype>
50  {
52 
53  return normal<dtype>(0, 1);
54  }
55 
56  //============================================================================
57  // Method Description:
67  template<typename dtype>
69  {
71 
72  return normal<dtype>(inShape, 0, 1);
73  }
74  } // namespace random
75 } // namespace nc
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition: StaticAsserts.hpp:37
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition: NdArrayCore.hpp:72
A Shape Class for NdArrays.
Definition: Core/Shape.hpp:41
dtype standardNormal()
Definition: standardNormal.hpp:49
Definition: Coordinate.hpp:45