Code for integer partitioning

bottom_up | Bottom up method of generating uniform random partitions of Q... |

conjugate | Find the conjugate of an integer partition Recoded (orginally... |

divide_and_conquer | Divide and conquer method of generating uniform random... |

get_multiplicity | Find the number of times a value k occurs in a partition that... |

get_rand_int | Generate a random integer between two integers |

last | Returns the last element of a vector |

multiplicity | multiplicity method of generating uniform random partitions... |

NrParts | Find the number of partitions for a given total Q and number... |

P | Number of partitions of Q with k or less parts. |

rand_partitions | Generate uniform random partitions of Q having N parts. |

rpartitions | rpartitions |

top_down | Top down method of generating uniform random partitions of Q... |

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.