Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
Math.hpp File Reference
#include <toolbox/Config.h>
#include <bit>
#include <cmath>
Include dependency graph for Math.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  toolbox::util::VarAccum
 

Namespaces

namespace  toolbox
 
namespace  toolbox::util
 

Functions

constexpr bool toolbox::util::is_pow2 (std::size_t n) noexcept
 
unsigned toolbox::util::next_pow2 (unsigned n) noexcept
 
unsigned long toolbox::util::next_pow2 (unsigned long n) noexcept
 
template<int BitsN>
constexpr std::size_t toolbox::util::ceil_pow2 (std::size_t size) noexcept
 
double toolbox::util::var (const VarAccum &v) noexcept
 
double toolbox::util::varp (const VarAccum &v) noexcept
 
double toolbox::util::stdev (const VarAccum &v) noexcept
 
double toolbox::util::stdevp (const VarAccum &v) noexcept
 
double toolbox::util::zscore (double mean, double sd, double val) noexcept
 
double toolbox::util::pctile95 (double mean, double sd) noexcept
 
double toolbox::util::pctile99 (double mean, double sd) noexcept
 
double toolbox::util::pctile999 (double mean, double sd) noexcept
 
constexpr std::size_t toolbox::util::ceil (std::size_t dividend, std::size_t divisor) noexcept