iterate
/ˈɪtəreɪt/ (bre, ipa) · /ˈɪtəreɪt/ (ame, ipa) · /ˈi-tə-ˌrāt/ (ame, mw)
iterate — verb
- iteratepresent simple I / you / we / they
- iterateshe / she / it
- iteratedpast simple
- iterating-ing form
1. to carry out a set of instructions or steps many times, particularly in computin
to carry out a set of instructions or steps many times, particularly in computing, so that each round builds on the result of the one before it.
The script iterates over each file in the folder and checks the file size.
iterate + over [data structure]
Chen wrote a function that iterates through the user database to find inactive accounts.
iterate + through [collection]
The simulation iterates the calculation until the error falls below the set limit.
Rosa iterated the data-cleaning process four times before she was happy with the result.
Our program iterates over the sensor readings once every second.
文法句型
iterate + over [data structure]
iterate + through [collection]
iterate + noun phrase + [number of times]
用法筆記
Common in computing contexts with prepositions like 'over' or 'through' to describe what data is being processed. Can be used transitively (iterate a process) or intransitively (iterate over records).
常見錯誤
2. to state or do a thing more than one time, typically to make sure people notice
to state or do a thing more than one time, typically to make sure people notice or understand it properly.
The coach iterated the team rules before every practice session.
iterate + noun phrase (formal register for repeated instruction)
Hassan iterated his request for a quieter room until the hotel staff finally moved him.
Ana iterated the safety announcement three times during the flight.
The manager iterated the same feedback in each weekly meeting.
Binta iterated her apology to the neighbours until they accepted it.
- stop
cease doing something rather than doing it again
文法句型
iterate + noun phrase
iterate + noun phrase + [adverbial of frequency]
用法筆記
More formal than simply saying 'repeat'. Often used when someone repeats something for emphasis or in a public or professional setting. Similar in tone to 'reiterate'.