Algorithm
An algorithm is a fixed sequence of computation steps. Each step depends only on the input and on the steps before it, and chance plays no part. Sorting and summing work this way, and so do a Newton iteration and a circuit solver.
The result y is a function of the input x. It depends on nothing else.
Same inputs, same outputs. Tests rely on that, and so does recomputing a result or passing an audit.
- Reproducible
- Testable against a spec
- Every step traceable