Skip to main content

from_degrees

Function from_degrees 

Source
pub fn from_degrees(magnitude: f64, degrees: f64) -> Cx
Expand description

The unit complex at degrees, exact on the quadrant boundaries — both references answer 2ad90 with 0j2, not with a cosine’s rounding of it.