libcuproj
24.04.00
|
Converts degrees to radians and vice versa. More...
Public Member Functions | |
CUPROJ_HOST_DEVICE Coordinate | operator() (Coordinate const &coord, direction dir) const |
Converts degrees to radians and vice versa. | |
Converts degrees to radians and vice versa.
Coordinate | The coordinate type |
Definition at line 36 of file degrees_to_radians.cuh.
|
inline |
Converts degrees to radians and vice versa.
coord | The coordinate to convert |
dir | The direction of the conversion: FORWARD converts degrees to radians, INVERSE converts radians to degrees |
Definition at line 46 of file degrees_to_radians.cuh.