Example: the kinds of buffers a problem supplies
Library · Source module
Example: the kinds of buffers a problem supplies
A routine reads a vector, raw words, a pair of parameters and a threshold, and writes a cell. Its problem (NLAlib.Ops.Examples.RoutineProblems.thresholdDomain) shows every kind of slot:
* the vector, the words and the parameters are inputs, each stored with its codec; * the threshold is derived: its buffer holds the sum of the two parameters, a quantity computed from the inputs, and the problem lists it as such; * the cell is blank.
The admitted inputs are those with a nonnegative first parameter, and every such tuple is the data of exactly one input of the problem.
Main definitions
* NLAlib.Ops.Examples.RoutineProblems.thresholdDomain: the admitted inputs.
Main results
* NLAlib.Ops.Examples.RoutineProblems.derived_thresholdDomain: the one derived operand. * NLAlib.Ops.Examples.RoutineProblems.thresholdDomain_covers: coverage.