Deriscope Function


In Deriscope terminology, a Deriscope Function refers to an operation that produces a certain result after it has been fed with a set of input parameters.
Each Deriscope Function is defined within the scope of a certain
Deriscope Type and may be either a static function or a local function.
In addition, every Deriscope Function is also available within the scope of any
subtype of the Deriscope Type where that Deriscope Function is originally defined.

For example, the
Price is a Deriscope Function defined within the Deriscope Type Tradable and is therefore accessible through any subtype of Tradable.
That Deriscope Function is capable of calculating the price of a financial instrument provided it is fed with the appropriate input, which in this case comprises the instrument definition, market data and model assumptions.