NumCpp
2.4.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
radians.hpp
Go to the documentation of this file.
1
#pragma once
29
30
#include "
NumCpp/Functions/deg2rad.hpp
"
31
#include "
NumCpp/NdArray.hpp
"
32
33
namespace
nc
34
{
35
//============================================================================
36
// Method Description:
46
template
<
typename
dtype>
47
constexpr
auto
radians
(dtype inValue) noexcept
48
{
49
return
deg2rad
(inValue);
50
}
51
52
//============================================================================
53
// Method Description:
63
template
<
typename
dtype>
64
auto
radians
(
const
NdArray<dtype>
& inArray)
65
{
66
return
deg2rad
(inArray);
67
}
68
}
// namespace nc
deg2rad.hpp
nc::NdArray< dtype >
nc::deg2rad
constexpr auto deg2rad(dtype inValue) noexcept
Definition:
deg2rad.hpp:49
NdArray.hpp
nc::radians
constexpr auto radians(dtype inValue) noexcept
Definition:
radians.hpp:47
nc
Definition:
Coordinate.hpp:44
include
NumCpp
Functions
radians.hpp
Generated by
1.8.17