src/Colourful/Utils/Internals/MathUtils.cs
/// <summary>
/// Compute cosine of angle in degrees.
/// </summary>
/// <param name="x">Given angle.</param>
Compute cosine of angle in degrees.
Compute cosine of angle in degrees .
public static double CosDeg(in double x)
        {
            var x_rad = DegreeToRadian(in x);
            var y = Cos(x_rad);
            return y;
        }
public static double CosDeg ( in double x ) { var x_rad = DegreeToRadian ( in x ) ; var y = Cos ( x_rad ) ; return y ; }
Compute cosine of angle in degrees.
Compute cosine of angle in degrees .
double
in
x
None