1 #ifndef jb_fftw_tde_result_hpp 2 #define jb_fftw_tde_result_hpp 36 template <
typename container_t,
typename value_t>
75 template <
typename T, std::
size_t K,
typename A,
typename value_t>
93 return record_.data()[pos];
100 return record_.data()[pos];
120 template <
typename T,
typename A,
typename value_t>
158 #endif // jb_fftw_tde_result_hpp
std::size_t size() const
size of tde_result record_type, holds only one value
value_type & operator[](std::size_t pos)
tde_result holds only one value, we overload the subscription operator to allow generic usage of the ...
value_type const & operator[](std::size_t pos) const
tde_result value held by a const object.
jb::fftw::aligned_multi_array< T, 1 > array_type
boost::multi_array< T, K, A > array_type
tde_result(container_t const &a)
value_type const & operator[](std::size_t pos) const
tde_result value held by a const object.
value_type & operator[](std::size_t pos)
tde_result holds a multi array, we overload the subscription operator to allow generic usage of the t...
tde_result(array_type const &a)
constructor based on a array_type of dimensionaltity 1
value_type & operator[](std::size_t pos)
tde_result holds only one value, we overload the subscription operator to allow generic usage of the ...
std::size_t size() const
size of tde_result record_type, holds only one value
A time-delay estimator (TDE) is an algorithm to compare two families of timeseries and return the est...
boost::multi_array< value_type, num_dims, jb::fftw::allocator< value_type > > aligned_multi_array
Alias boost::multi_array with properly allocated storage for FFTW3.
std::size_t array_shape(container_type const &a)
Return the shape of the container in a form suitable for construction of a vector-like container...
value_type const & operator[](std::size_t pos) const
tde_result value held by a const object.
jb::fftw::aligned_multi_array< value_type, K - 1 > record_type
std::size_t size() const
size is number of elements stored on the multi array record_
std::size_t element_count(container_type const &a)
Count the number of elements for a vector-like container.
tde_result(array_type const &a)
constructor based on a multi_array of dimensionality K the last dimension is ignored size is reduced ...
The top-level namespace for the JayBeams library.