|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::vector< double > MayaFlux::Kinesis::Discrete::rotor_bank_state | ( | std::span< const double > | increments, |
| std::span< const double > | scales = {}, |
||
| std::span< const double > | phases = {} |
||
| ) |
Builds the array rotor_bank reads and writes.
| increments | Radians per sample of each sinusoid; sets the count |
| scales | Amplitude of each; missing entries are 1 |
| phases | Starting phase of each; missing entries are 0 |
Layout: [N, cos(increment), sin(increment), scales, re, im], each column N long. The rotation is precomputed here, so a call needs no sine.
Definition at line 199 of file Kernels.cpp.