template <class T, int N> using Wave_statistics_vector = blitz::TinyVector< Wave_statistics< T >, N >vtb::base::Mean< T > heightvtb::base::MinMaxMean< T > numbervtb::base::Mean< T > lengthtemplate <class T, int N> wave_number_grid(const Wave_statistics_vector< T, N > & waves) -> Grid< T, N >template <class T> find_extrema(blitz::Array< T, 1 > func, const Grid< T, 1 > & grid) -> std::vector< blitz::TinyVector< T, 2 > >Find coordinates of minima and maxima of a function. Uses parabola to find precise location of the peak.
template <class T> operator<<(std::ostream & out, const Wave_statistics< T > & rhs) -> std::ostream &template <class T> find_wave_halves(const std::vector< blitz::TinyVector< T, 2 >> & extrema) -> std::vector< Wave_half< T > >Find wave halves from function extrema computed previously.
template <class T> find_wave_number_range(const std::vector< Wave_half< T >> & halves, T & min_wave_number, T & max_wave_number) -> voidFind minimum and maximum wave number from wave halves computed previously.
template <class T> wave_statistics(blitz::Array< T, 2 > surface, const Grid< T, 2 > & grid) -> Wave_statistics_vector< T, 2 >template <class T> find_wave_number_range(blitz::Array< T, 2 > surface, const Grid< T, 2 > & grid) -> Grid< T, 2 >Find minimum and maximum wave number for two-dimensional surface.
template <class T> temporal_wave_statistics(blitz::Array< T, 1 > surface, const Grid< T, 1 > & grid) -> Wave_statistics< T >template <class T> operator<<(std::ostream & out, const Wave_half< T > & rhs) -> std::ostream &