pub struct Steps {
pub n_steps: usize,
pub step_km: f64,
pub nl_length_km: f64,
}Expand description
The steps of one span: n_steps symmetric steps of step_km, the nonlinear phase
of each over nl_length_km (the step itself for the forward model, the effective
length of a coarse step for a back-propagation). Shared by SplitStep and
SplitStepF32, and given by a forward model to its back-propagation
(comnum_dsp::compensation::dbp::Dbp::forward).
Fields§
§n_steps: usizeNumber of steps.
step_km: f64Length of a step (km).
nl_length_km: f64Nonlinear length of a step (km).
Implementations§
Trait Implementations§
impl Copy for Steps
impl StructuralPartialEq for Steps
Auto Trait Implementations§
impl Freeze for Steps
impl RefUnwindSafe for Steps
impl Send for Steps
impl Sync for Steps
impl Unpin for Steps
impl UnsafeUnpin for Steps
impl UnwindSafe for Steps
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