# bdm::compositepdf Class Reference

Abstract composition of pdfs, will be used for specific classes this abstract class is common to epdf and mpdf. More...

`#include <libBM.h>`

List of all members.

## Public Member Functions
| compositepdf (Array< mpdf * > A0)
RV | getrv (bool checkoverlap=false)
| find common rv, flag
void | setrvc (const RV &rv, RV &rvc)
| common rvc of all mpdfs is written to rvc
## Protected Attributes
int | n
| Number of mpdfs in the composite.
Array< mpdf * > | mpdfs
| Elements of composition.

## Detailed Description

Abstract composition of pdfs, will be used for specific classes this abstract class is common to epdf and mpdf.

## Member Function Documentation

RV bdm::compositepdf::getrv | ( | bool | checkoverlap = `false` | ) |

find common rv, flag

Parameters:

  | checkoverlap | modifies whether overlaps are acceptable

References bdm::RV::add(), mpdfs, and n.

Referenced by bdm::merger::merger(), and bdm::mprod::mprod().

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

- libBM.h
- libBM.cpp