fortplot
Examples
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Programs
normalize_angle
Function
5 statements
Source File
fortplot_polar.f90
fortplot_polar
normalize_angle
Contents
public pure function normalize_angle(theta) result(normalized)
Normalize angle to [0, 2*pi) range
Arguments
Type
Intent
Optional
Attributes
Name
real(kind=wp),
intent(in)
::
theta
Return Value
real(kind=wp)