# compositepdf Class Reference

Abstract composition of pdfs, a base for specific classes. More...

`#include <libBM.h>`

Inheritance diagram for compositepdf:

[legend]

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
void | setindices (const RV &rv)
| fill all rv*inrv* according to
void | setrvcinrv (const RV &rvc, Array< ivec > &rvcind)
| Function fills Array by indeces of mpdfs inside given rv.
## Protected Attributes
int | n
| Number of mpdfs in the composite.
Array< mpdf * > | mpdfs
| Elements of composition.
Array< ivec > | rvsinrv
| Indeces of rvs in common rv.
Array< ivec > | rvcsinrv
| Indeces of rvc in common rv.
Array< ivec > | rvinrvcs
| Indeces of common rv in rvc.

## Detailed Description

Abstract composition of pdfs, a base for specific classes.

## Member Function Documentation

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

find common rv, flag

Parameters:

  | checkoverlap | modifies whether overlaps are acceptable

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

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

- work/git/mixpp/bdm/stat/libBM.h
- work/git/mixpp/bdm/stat/libBM.cpp