pub trait FixedComplexOpwhere
Self: Sized,{
// Required method
fn complex_sqrt(f: &Self) -> Option<Complex<Self>>;
}Expand description
Interface for complex-valued fixed-point operations.
Extends the real-domain operations in FixedOp with functions whose
results may be complex-valued.
Required Methods§
Sourcefn complex_sqrt(f: &Self) -> Option<Complex<Self>>
fn complex_sqrt(f: &Self) -> Option<Complex<Self>>
Square root in complex domain.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl FixedComplexOp for FixedI64
FixedComplexOp implementation for FixedI64.
impl FixedComplexOp for FixedI64
FixedComplexOp implementation for FixedI64.
fn complex_sqrt(f: &Self) -> Option<Complex<Self>>
Source§impl FixedComplexOp for FixedI128
FixedComplexOp implementation for FixedI128.
impl FixedComplexOp for FixedI128
FixedComplexOp implementation for FixedI128.
fn complex_sqrt(f: &Self) -> Option<Complex<Self>>
Source§impl FixedComplexOp for FixedU64
FixedComplexOp implementation for FixedU64.
impl FixedComplexOp for FixedU64
FixedComplexOp implementation for FixedU64.
fn complex_sqrt(f: &Self) -> Option<Complex<Self>>
Source§impl FixedComplexOp for FixedU128
FixedComplexOp implementation for FixedU128.
impl FixedComplexOp for FixedU128
FixedComplexOp implementation for FixedU128.