Skip to content

sweepIsOrderIndependent

sweepIsOrderIndependent(program, points, options?, tolerance?): boolean

Defined in: packages/runtime/src/settle.ts:1194

Does this program give the same swept answers backwards as forwards?

settledSweep’s saving comes from not restarting, which makes it order-dependent for any circuit carrying state across a control change. This is the check: sweep the points, sweep them reversed, and compare the levels. false means the packet needs independent renders.

Program

readonly readonly readonly [string, number][][]

SettledRenderOptions = {}

number = 1e-9

boolean