pub struct TransformPlan {
pub kind: TransformKind,
pub len: usize,
pub direction: Direction,
pub normalization: Normalization,
pub sign: SignConvention,
pub packing: SpectrumPacking,
pub length: LengthPolicy,
pub padding: PaddingPolicy,
pub stride: Stride,
pub placement: PlacementPolicy,
}Expand description
Reusable, fully explicit transform plan.
Fields§
§kind: TransformKindTransform definition.
len: usizeLogical transform length.
direction: DirectionForward or inverse application.
normalization: NormalizationScaling convention.
sign: SignConventionComplex-exponential sign convention.
packing: SpectrumPackingReal-spectrum packing.
length: LengthPolicyLength admission policy.
padding: PaddingPolicyPadding value policy.
stride: StrideInput selection stride.
placement: PlacementPolicyOutput placement policy.
Implementations§
Source§impl TransformPlan
impl TransformPlan
Sourcepub fn new(kind: TransformKind, len: usize) -> TransformPlan
pub fn new(kind: TransformKind, len: usize) -> TransformPlan
Builds the conventional forward, inverse-normalized, out-of-place plan.
Sourcepub fn validate(&self) -> Result<(), SignalError>
pub fn validate(&self) -> Result<(), SignalError>
Validates definition-level length and policy invariants.
Trait Implementations§
Source§impl Clone for TransformPlan
impl Clone for TransformPlan
Source§fn clone(&self) -> TransformPlan
fn clone(&self) -> TransformPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransformPlan
impl Debug for TransformPlan
impl Eq for TransformPlan
Source§impl PartialEq for TransformPlan
impl PartialEq for TransformPlan
impl StructuralPartialEq for TransformPlan
Auto Trait Implementations§
impl Freeze for TransformPlan
impl RefUnwindSafe for TransformPlan
impl Send for TransformPlan
impl Sync for TransformPlan
impl Unpin for TransformPlan
impl UnsafeUnpin for TransformPlan
impl UnwindSafe for TransformPlan
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more