Processing math: 100%
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Engineering LibreTexts

12.9: Glossary

( \newcommand{\kernel}{\mathrm{null}\,}\)

tuple:
An immutable sequence of elements.
tuple assignment:
An assignment with a sequence on the right side and a tuple of variables on the left. The right side is evaluated and then its elements are assigned to the variables on the left.
gather:
An operation that collects multiple arguments into a tuple.
scatter:
An operation that makes a sequence behave like multiple arguments.
zip object:
The result of calling a built-in function zip; an object that iterates through a sequence of tuples.
iterator:
An object that can iterate through a sequence, but which does not provide list operators and methods.
data structure:
A collection of related values, often organized in lists, dictionaries, tuples, etc.
shape error:
An error caused because a value has the wrong shape; that is, the wrong type or size.

This page titled 12.9: Glossary is shared under a CC BY-NC 3.0 license and was authored, remixed, and/or curated by Allen B. Downey (Green Tea Press) via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?