Celeritas  0.5.0-86+4a8eea4
Classes | Functions
CdfUtils.hh File Reference
#include <utility>
#include "corecel/cont/Array.hh"
#include "corecel/cont/Range.hh"
#include "corecel/cont/Span.hh"
This graph shows which files directly or indirectly include this file:

Classes

struct  celeritas::PostRectangleSegmentIntegrator
 Calculate the integral of a piecewise rectangular function. More...
 
struct  celeritas::TrapezoidSegmentIntegrator
 Calculate the integral of a piecewise linear function. More...
 
class  celeritas::SegmentIntegrator< I >
 Integrate a piecewise function. More...
 

Functions

template<class T , std::size_t N>
void celeritas::normalize_cdf (Span< T, N > x)
 Normalize a vector by the final value and check for monotonicity.