QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ProbabilityOfNEvents Class Reference

Probability of N events. More...

#include <lossdistribution.hpp>

+ Collaboration diagram for ProbabilityOfNEvents:

Public Member Functions

 ProbabilityOfNEvents (int n)
 
Real operator() (std::vector< Real > p) const
 

Private Attributes

Size n_
 

Detailed Description

Probability of N events.

Definition at line 67 of file lossdistribution.hpp.

Constructor & Destructor Documentation

◆ ProbabilityOfNEvents()

ProbabilityOfNEvents ( int  n)
explicit

Definition at line 69 of file lossdistribution.hpp.

Member Function Documentation

◆ operator()()

Real operator() ( std::vector< Real p) const

Definition at line 128 of file lossdistribution.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ n_

Size n_
private

Definition at line 72 of file lossdistribution.hpp.