diff options
| author | maxim-yurchuk <[email protected]> | 2024-10-09 12:29:46 +0300 |
|---|---|---|
| committer | maxim-yurchuk <[email protected]> | 2024-10-09 13:14:22 +0300 |
| commit | 9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80 (patch) | |
| tree | a8fb3181d5947c0d78cf402aa56e686130179049 /contrib/python/pythran/pythran/pythonic/numpy/angle_in_deg.hpp | |
| parent | a44b779cd359f06c3ebbef4ec98c6b38609d9d85 (diff) | |
publishFullContrib: true for ydb
<HIDDEN_URL>
commit_hash:c82a80ac4594723cebf2c7387dec9c60217f603e
Diffstat (limited to 'contrib/python/pythran/pythran/pythonic/numpy/angle_in_deg.hpp')
| -rw-r--r-- | contrib/python/pythran/pythran/pythonic/numpy/angle_in_deg.hpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/contrib/python/pythran/pythran/pythonic/numpy/angle_in_deg.hpp b/contrib/python/pythran/pythran/pythonic/numpy/angle_in_deg.hpp new file mode 100644 index 00000000000..a77eb7e1b92 --- /dev/null +++ b/contrib/python/pythran/pythran/pythonic/numpy/angle_in_deg.hpp @@ -0,0 +1,25 @@ +#ifndef PYTHONIC_NUMPY_ANGLEINDEG_HPP +#define PYTHONIC_NUMPY_ANGLEINDEG_HPP + +#include "pythonic/include/numpy/angle_in_deg.hpp" + +#include "pythonic/numpy/angle_in_rad.hpp" +#include "pythonic/utils/numpy_traits.hpp" +#include "pythonic/numpy/pi.hpp" + +/* NOTE: angle_in_deg is not part of the official Numpy API, + * this file is here only to split the angle function in two parts + */ + +PYTHONIC_NS_BEGIN + +namespace numpy +{ + +#define NUMPY_NARY_FUNC_NAME angle_in_deg +#define NUMPY_NARY_FUNC_SYM wrapper::angle_in_deg +#include "pythonic/types/numpy_nary_expr.hpp" +} +PYTHONIC_NS_END + +#endif |
