pub trait PaprReduction {
// Required method
fn reduce(&self, ofdm: &Ofdm, data: &[C64]) -> Result<(Vec<C64>, usize)>;
// Provided methods
fn data_len(&self, ofdm: &Ofdm) -> usize { ... }
fn restore_time(&self, _block: &mut [C64]) { ... }
fn recover(
&self,
ofdm: &Ofdm,
active: Vec<C64>,
_side: usize,
) -> Result<Vec<C64>> { ... }
}Expand description
A PAPR reduction technique applied block by block by Ofdm::modulate_with.
Required Methods§
Provided Methods§
Sourcefn data_len(&self, ofdm: &Ofdm) -> usize
fn data_len(&self, ofdm: &Ofdm) -> usize
Data symbols per block (all the active subcarriers by default).
Sourcefn restore_time(&self, _block: &mut [C64])
fn restore_time(&self, _block: &mut [C64])
Undo a memoryless transformation of the time block at the receiver (the expansion of companding); nothing by default.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".