pub enum MathFn2 {
Atan2,
AngleWrapped,
Hypot,
Max,
Min,
Pow,
Pwr,
Pwrs,
}Expand description
One of the two-argument real waveform-arithmetic functions.
Variants§
Atan2
AngleWrapped
(alpha, beta) -> theta, wrapped to [0, 2*pi) — see
crate::coordinate_transforms::anglewrap, the angle-tracking half of a
synchronous-reference-frame PLL. Grouped here rather than with the other Clarke/Park
transforms since, unlike those, it is single-output — an ordinary two-argument function
like every other MathFn2, just implemented in coordinate_transforms because it’s
conceptually paired with crate::coordinate_transforms::park/
crate::coordinate_transforms::clarke_park, which consume its output.
Hypot
Max
Min
Pow
Pwr
Pwrs
Implementations§
Trait Implementations§
impl Copy for MathFn2
impl Eq for MathFn2
impl StructuralPartialEq for MathFn2
Auto Trait Implementations§
impl Forget for MathFn2
impl Freeze for MathFn2
impl Move for MathFn2
impl RefUnwindSafe for MathFn2
impl Send for MathFn2
impl Sync for MathFn2
impl Unpin for MathFn2
impl UnsafeUnpin for MathFn2
impl UnwindSafe for MathFn2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more