NumCpp  1.0
A C++ implementation of the Python Numpy library
radians.hpp
Go to the documentation of this file.
1 #pragma once
30 
32 #include "NumCpp/NdArray.hpp"
33 
34 namespace nc
35 {
36  //============================================================================
37  // Method Description:
47  template<typename dtype>
48  constexpr auto radians(dtype inValue) noexcept
49  {
50  return deg2rad(inValue);
51  }
52 
53  //============================================================================
54  // Method Description:
64  template<typename dtype>
65  auto radians(const NdArray<dtype>& inArray)
66  {
67  return deg2rad(inArray);
68  }
69 }
deg2rad.hpp
nc::NdArray< dtype >
nc::deg2rad
constexpr auto deg2rad(dtype inValue) noexcept
Definition: deg2rad.hpp:50
NdArray.hpp
nc::radians
constexpr auto radians(dtype inValue) noexcept
Definition: radians.hpp:48
nc
Definition: Coordinate.hpp:45