File PDFSegmentPowerlaw.hpp
↰ Parent directory (src/pdfs)
Class to represent a power-law segment of a PDF.
Definition (src/pdfs/PDFSegmentPowerlaw.hpp)
Detailed Description
Mark Krumholz
This class represents a power-law segment of a PDF, defined by a lower and upper limit, and a power-law index. It implements the interface defined by the PDFSegment class, providing methods to evaluate the PDF at a given point and to sample a random value from the PDF segment according to the power-law distribution. 2024-06-12
Copyright (c) 2026 Mark Krumholz. All rights reserved.
Includes
../utils/RandomDist.hpp../utils/RngThread.hppPDFCommons.hpp(File PDFCommons.hpp)PDFSegment.hpp(File PDFSegment.hpp)algorithmcmathfstreamtoml.hpp