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