NumericAL
A header-only C++20 lexer built on REAL
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
numerical::detail::fft_output< Out > Struct Template Reference

The result of a transform along one axis, allocated before its plan, whose tables grow with the points: a result past memory refused at once, an empty one planned for nothing. More...

#include <fft.hpp>

Public Member Functions

 fft_output (std::vector< std::size_t > input_shape, std::size_t index, std::size_t out_points)
 
tensor< Out > take () &&
 The result as a tensor.
 

Static Public Member Functions

static std::size_t counted (const std::vector< std::size_t > &extents)
 The elements of extents.
 
static std::vector< std::size_t > resized (std::vector< std::size_t > extents, std::size_t index, std::size_t extent)
 extents, the one at index made extent.
 

Public Attributes

std::vector< std::size_t > shape
 The input's shape, the axis out_points long.
 
buffer< Out > out
 Its elements, uninitialized.
 

Detailed Description

template<typename Out>
struct numerical::detail::fft_output< Out >

The result of a transform along one axis, allocated before its plan, whose tables grow with the points: a result past memory refused at once, an empty one planned for nothing.

Definition at line 2313 of file fft.hpp.

Constructor & Destructor Documentation

◆ fft_output()

template<typename Out >
numerical::detail::fft_output< Out >::fft_output ( std::vector< std::size_t >  input_shape,
std::size_t  index,
std::size_t  out_points 
)
inline

Definition at line 2318 of file fft.hpp.

Member Function Documentation

◆ counted()

template<typename Out >
static std::size_t numerical::detail::fft_output< Out >::counted ( const std::vector< std::size_t > &  extents)
inlinestatic

The elements of extents.

Exceptions
dimension_errorIf they are more than a buffer holds.

Definition at line 2325 of file fft.hpp.

◆ resized()

template<typename Out >
static std::vector< std::size_t > numerical::detail::fft_output< Out >::resized ( std::vector< std::size_t >  extents,
std::size_t  index,
std::size_t  extent 
)
inlinestatic

extents, the one at index made extent.

Definition at line 2335 of file fft.hpp.

◆ take()

template<typename Out >
tensor< Out > numerical::detail::fft_output< Out >::take ( ) &&
inline

The result as a tensor.

Definition at line 2344 of file fft.hpp.

Member Data Documentation

◆ out

Its elements, uninitialized.

Definition at line 2316 of file fft.hpp.

◆ shape

template<typename Out >
std::vector<std::size_t> numerical::detail::fft_output< Out >::shape

The input's shape, the axis out_points long.

Definition at line 2315 of file fft.hpp.


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