PSVsymdif_o:
Filter:
miSCellaneous_lib/Classes (extension) | Libraries > miSCellaneous > Sieves and Psieve Patterns | Streams-Patterns-Events > Sieves and Psieve Patterns

PSVsymdif_o
ExtensionExtension

Sieve pattern for symmetric difference of integer generators with offsets and point output

Description

Pattern for symmetric difference of integer generators with offsets and point output. Corresponds to Sieve's methods Sieve: *symdif_o and Sieve: -symdif_o. For an introduction and more examples see Sieves_and_Psieve_patterns.

Class Methods

.new

Creates a new PSVsymdif_o object.

Arguments:

genList

An array of generators and corresponding offsets. Allowed generators: Integers, Streams or Patterns producing intervals or Sieves itself. Integers and Stream/Pattern output must be strictly positive. Integers as generators produce zero and its positive multiples. Offsets must be integers.

maxLength

Integer. Maximum number of items, which the stream will return. Defaults to inf.

limit

Integer. Limit up to which integers can be returned by the stream. If no limit is passed, returned integers might go up to default limit 65536.

Examples