Package young :: Module partition
[show private | hide private]
[frames | no frames]

Module young.partition

library for partition
Classes
Partition class for partition
SeqOfPartition class for generating partitions

Function Summary
  number_of_partition(number, k)
number_of_partition(n [,k]) -> Return the number of partitions of n.
  partition(number)
partition(n) -> Return the partitions of n.
  partition_upper_bound(n)
Ramanujan's upper bound for number of partitions of n
  _compare_max_num(number, part)
Tests whether or not the number is equal to or greater than any number of the partition.
  _down(shape)
Down operation of diagram
  _up(shape)
Up operation of diagram
  partition_with_k_parts(n, k)
Return the number of partitions of n with exactly k parts.
  partitions(n)

Function Details

number_of_partition(number, k=None)

number_of_partition(n [,k]) -> Return the number of partitions of n. If k is specified, return the number of partitions of n with k parts.

partition(number)

partition(n) -> Return the partitions of n.

partition_upper_bound(n)

Ramanujan's upper bound for number of partitions of n

_compare_max_num(number, part)

Tests whether or not the number is equal to or greater than any number of the partition.

_down(shape)

Down operation of diagram

_up(shape)

Up operation of diagram

partition_with_k_parts(n, k)

Return the number of partitions of n with exactly k parts.

Generated by Epydoc 2.1 on Sun Aug 1 02:55:58 2004 http://epydoc.sf.net