NumericAL
A header-only C++20 lexer built on REAL
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
numerical::detail::fft_scratch< C, Slot > Class Template Reference

A transform's working space of C: the calling thread's own, kept for the next transform, up to fft_scratch_kept elements; past it, its own allocation. Each Slot is a space of its own, for spaces of one type in use at once. More...

#include <fft.hpp>

Public Member Functions

 fft_scratch (std::size_t count)
 Space for count elements.
 
C * data () const noexcept
 The first element.
 

Private Attributes

buffer< C > own_
 The space past fft_scratch_kept.
 
C * data_ {nullptr}
 The space in use.
 

Detailed Description

template<typename C, int Slot = 0>
class numerical::detail::fft_scratch< C, Slot >

A transform's working space of C: the calling thread's own, kept for the next transform, up to fft_scratch_kept elements; past it, its own allocation. Each Slot is a space of its own, for spaces of one type in use at once.

Definition at line 2004 of file fft.hpp.

Constructor & Destructor Documentation

◆ fft_scratch()

template<typename C , int Slot = 0>
numerical::detail::fft_scratch< C, Slot >::fft_scratch ( std::size_t  count)
inlineexplicit

Space for count elements.

Definition at line 2009 of file fft.hpp.

Member Function Documentation

◆ data()

template<typename C , int Slot = 0>
C * numerical::detail::fft_scratch< C, Slot >::data ( ) const
inlinenoexcept

The first element.

Definition at line 2025 of file fft.hpp.

Member Data Documentation

◆ data_

template<typename C , int Slot = 0>
C* numerical::detail::fft_scratch< C, Slot >::data_ {nullptr}
private

The space in use.

Definition at line 2033 of file fft.hpp.

◆ own_

template<typename C , int Slot = 0>
buffer<C> numerical::detail::fft_scratch< C, Slot >::own_
private

The space past fft_scratch_kept.

Definition at line 2032 of file fft.hpp.


The documentation for this class was generated from the following file: