concision_core/ops/fft/fft.rs
1/*
2 Appellation: fft <mod>
3 Contrib: FL03 <jo3mccain@icloud.com>
4*/
5use super::{FftDirection, FftPlan};
6
7pub struct Fft {
8 direction: FftDirection,
9 plan: FftPlan,
10}
11
12impl Fft {
13 pub fn new(direction: FftDirection, plan: FftPlan) -> Self {
14 Self { direction, plan }
15 }
16
17 pub const fn direction(&self) -> FftDirection {
18 self.direction
19 }
20
21 pub const fn plan(&self) -> &FftPlan {
22 &self.plan
23 }
24}