Audacity 3.2.0
|
A vector of floats guaranteeing alignment as demanded by pffft. More...
#include <PowerSpectrumGetter.h>
Public Member Functions | |
PffftFloats | aligned (PffftAlignedCount c={}) |
PffftConstFloats | aligned (PffftAlignedCount c={}) const |
PffftFloats | aligned (PffftAlignedCount rowSize, size_t nRow) |
PffftConstFloats | aligned (PffftAlignedCount rowSize, size_t nRow) const |
A vector of floats guaranteeing alignment as demanded by pffft.
It also exposes aligned
which returns pointers to aligned sub-ranges only
Usual hazards of pointer invalidation or out-of-bounds subscripting still apply.
Size and capacity are NOT constrained to be aligned.
Definition at line 184 of file PowerSpectrumGetter.h.
PffftFloats PffftFloatVector::aligned | ( | PffftAlignedCount | c = {} | ) |
data() + c
Definition at line 31 of file PowerSpectrumGetter.cpp.
Referenced by MIR::GetOnsetDetectionFunction().
PffftConstFloats PffftFloatVector::aligned | ( | PffftAlignedCount | c = {} | ) | const |
data() + c
Definition at line 36 of file PowerSpectrumGetter.cpp.
|
inline |
Two-argument overload views the contiguous vector as multiple aligned rows
Definition at line 193 of file PowerSpectrumGetter.h.
|
inline |
Two-argument overload views the contiguous vector as multiple aligned rows
Definition at line 198 of file PowerSpectrumGetter.h.