NumCpp  2.14.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
radians.hpp
Go to the documentation of this file.
1
28#pragma once
29
31#include "NumCpp/NdArray.hpp"
32
33namespace nc
34{
35 //============================================================================
36 // Method Description:
44 template<typename dtype>
45 constexpr auto radians(dtype inValue) noexcept
46 {
47 return deg2rad(inValue);
48 }
49
50 //============================================================================
51 // Method Description:
59 template<typename dtype>
61 {
62 return deg2rad(inArray);
63 }
64} // namespace nc
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition NdArrayCore.hpp:139
Definition Cartesian.hpp:40
constexpr auto deg2rad(dtype inValue) noexcept
Definition deg2rad.hpp:47
NdArray< dtype > arange(dtype inStart, dtype inStop, dtype inStep=1)
Definition arange.hpp:59
constexpr auto radians(dtype inValue) noexcept
Definition radians.hpp:45