accessors: Accessor methods for the generator class

Description Usage Arguments Details

Description

get_start

Get the starting state of a generator

get_state

Get the current state of a generator

get_series

Get the current series value of a generator

get_update

Get the updating function of a generator

get_wrapper

Get the wrapper/ yield function of a generator

is_limited

Binary: show if the generator has a limiting function

is_exhausted

Binary: show if the generator is exhausted

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
get_start(.generator)

get_state(.generator)

get_series(.generator)

get_update(.generator)

get_wrapper(.generator)

is_limited(.generator)

is_exhausted(.generator)

Arguments

.generator

A function with the class generator

Details

These functions make it possible to access various aspects of the generator class.


michaelquinn32/generators documentation built on May 22, 2019, 9:52 p.m.