sandbox
Loading...
Searching...
No Matches
sbx::core::sampler< Type > Class Template Reference

Public Types

using value_type = Type
 
using size_type = std::size_t
 

Public Member Functions

 sampler (const std::size_t capacity)
 
 sampler (const sampler &other)
 
auto record (const value_type value) -> void
 
template<typename Other >
auto average_as () const -> Other
 
auto size () const -> size_type
 
auto data () const -> const value_type *
 
void clear ()
 
auto write_in_order (std::span< value_type > target) const -> void
 

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