File partit.icn

Summary

##########################################################################

	File:     partit.icn

	Subject:  Procedures to partition integer

	Author:   Ralph E. Griswold

	Date:     January 6, 2000

###########################################################################

   This file is in the public domain.

###########################################################################

  partit(i, min, max, k) generates, as lists, the partitions of i; that is the
  ways that i can be represented as a sum of positive integers with
  minimum and maximum values.

  partcount(i, min, max) returns just the number of partitions.

  fibpart(i) returns a list of Fibonacci numbers that is a partition of i.

###########################################################################

  Links:  fastfncs, numbers

###########################################################################
Procedures:
fibpart, partcount, partit, partitret

Links:
fastfncs.icn, numbers.icn

This file is part of the (main) package.

Source code.

Details
Procedures:

fibpart(i)


partcount(i, min, max)


partit(i, min, max, k)


partitret(i, min, max, k)



This page produced by UniDoc on 2021/04/15 @ 23:59:54.