NumCpp  2.1.0
A C++ implementation of the Python Numpy library
standardNormal.hpp
Go to the documentation of this file.
1 #pragma once
30 
32 #include "NumCpp/Core/Shape.hpp"
33 #include "NumCpp/NdArray.hpp"
34 #include "NumCpp/Random/normal.hpp"
35 
36 namespace nc
37 {
38  namespace random
39  {
40  //============================================================================
41  // Method Description:
50  template<typename dtype>
52  {
54 
55  return normal<dtype>(0, 1);
56  }
57 
58  //============================================================================
59  // Method Description:
71  template<typename dtype>
73  {
75 
76  return normal<dtype>(inShape, 0, 1);
77  }
78  } // namespace random
79 } // namespace nc
StaticAsserts.hpp
normal.hpp
STATIC_ASSERT_ARITHMETIC
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition: StaticAsserts.hpp:38
nc::NdArray< dtype >
nc::random::standardNormal
dtype standardNormal()
Definition: standardNormal.hpp:51
NdArray.hpp
nc::Shape
A Shape Class for NdArrays.
Definition: Core/Shape.hpp:41
Shape.hpp
nc
Definition: Coordinate.hpp:45