# Generation of random formal series

### Description

Generation of random formal series with coefficients and exponents of variables from uniform discrete distribution.

### Usage

1 |

### Arguments

`var` |
number of variables of formal series |

`cf` |
number of generating coefficients |

`k` |
the greater parameter in |

`m` |
the greater parameter in |

### Details

The exponents of variables are generate from discrete uniform distribution *U[0,k]*. The coefficients are from *U[0,m]* but additionally multiply by -1 or 1 with equal probability.

### Author(s)

Tomasz Zmorzynski

### See Also

`fseries`

### Examples

1 2 | ```
rfseries(2,10,3,5) #random formal series of 2 variables with exponents from U[0,3] distribution,
#10 coefficients from U[0,5] distribution
``` |

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.