Summary
###########################################################################
File: intpdco.icn
Subject: Procedures for programmer-defined control operations
Authors: Ralph E. Griswold and Robert J. Alexander
Date: August 14, 1996
###########################################################################
This file is in the public domain.
###########################################################################
These procedures use co-expressions to perform operations on
integer sequences.
Compl{e} produces the integers not in e
Delta{e, i} produces the difference of values in e by
i places
Selfrepl{e, j} produces i * j copies of i, where i is from
e1
Sumlimit{e, i, j} produces values of e until their sum exceeds
i. Values less than j are discarded.
###########################################################################
Requires: co-expressions
###########################################################################
Procedures:
Compl, Delta, Selfrepl, Sumlimit
This file is part of the (main) package.
Source code.
Compl(L)
: PDCO to generate integers not in sequence
Delta(L)
: PDCO to generate differences in sequences
Selfrepl(L)
: PDCO to produce multiple of values in sequence
Sumlimit(L)
: PDCO to sum sequence to a limit
This page produced by UniDoc on 2021/04/15 @ 23:59:54.