Description Usage Arguments Details Value See Also Examples

decomposePM-methods

1 | ```
decomposePM(object)
``` |

`object` |
Abscont-/Discrete-/UnivarLebDec-Distribution object |

There are particular return types for the following classes

- "AbscontDistribution"
a list with components

`"neg"`

and`"pos"`

for the respective negative and positive part; each of these parts in its turn is a list with components`D`

for the distribution (in this case of class`"AbscontDistribution"`

again) and`w`

for the weight of the respective part; if the weight of the negative part is 0, the corresponding distribution is set to`-abs(Norm())`

, and respectively, if the weight of the positive part is 0, the corresponding distribution is set to`abs(Norm())`

.- "DiscreteDistribution"
a list with components

`"neg"`

,`"pos"`

and`"0"`

for the respective negative, positive and zero part; each of these parts in its turn is a list with components`D`

for the distribution (in this case of class`"DiscreteDistribution"`

again) and`w`

for the weight of the respective part; while the distribution of the zero part is always`Dirac(0)`

, if the weight of the negative part is 0, the corresponding distribution is set to`Dirac(-1)`

, and respectively, if the weight of the positive part is 0, the corresponding distribution is set to`Dirac(1)`

.- "UnivarLebDecDistribution"
a list with components

`"neg"`

,`"pos"`

and`"0"`

for the respective negative, positive and zero part; each of these parts in its turn is a list with components`D`

for the distribution (in case of components`"neg"`

,`"pos"`

of class`"UnivarLebDecDistribution"`

again, while the distribution of the zero part is always`Dirac(0)`

) and`w`

for the weight of the respective part; it is build up by calling`decomposePM`

for`acPart(object)`

and`discretePart(object)`

separately, hence if weights of some parts are zero the corresponding procedure mentionned for these methods applies.

Method `decomposePM`

is used by our multiplication, division and exponentiation
(`"*"`

, `"/"`

`"^"`

) - methods.

the positive and negative part of the distribution together with corresponding weights as a list.

`AbscontDistribution-class`

,
`DiscreteDistribution-class`

,
`UnivarLebDecDistribution-class`

,
`operators-methods`

1 2 3 4 | ```
decomposePM(Norm())
decomposePM(Binom(2,0.3)-Binom(5,.4))
decomposePM(UnivarLebDecDistribution(Norm(),Binom(2,0.3)-Binom(5,.4),
acWeight = 0.3))
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.