NumCpp  2.4.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:
49  template<typename dtype>
51  {
53 
54  return normal<dtype>(0, 1);
55  }
56 
57  //============================================================================
58  // Method Description:
70  template<typename dtype>
72  {
74 
75  return normal<dtype>(inShape, 0, 1);
76  }
77  } // namespace random
78 } // namespace nc
StaticAsserts.hpp
normal.hpp
STATIC_ASSERT_ARITHMETIC
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition: StaticAsserts.hpp:37
nc::NdArray< dtype >
nc::random::standardNormal
dtype standardNormal()
Definition: standardNormal.hpp:50
NdArray.hpp
nc::Shape
A Shape Class for NdArrays.
Definition: Core/Shape.hpp:40
Shape.hpp
nc
Definition: Coordinate.hpp:44