Difference between revisions of "Certain"

(Added examples)
m (removed doc status)
 
Line 1: Line 1:
 
[[Category:Distribution Functions]]
 
[[Category:Distribution Functions]]
[[Category:Doc Status C]] <!-- For Lumina use, do not change -->
 
  
 
== Certain(U)==
 
== Certain(U)==

Latest revision as of 23:35, 24 March 2016


Certain(U)

Returns the value of «U».

Certain is considered to be a distribution function -- the distribution in which one outcome is certain. Therefore, its return value is different depending on whether it is evaluated in Mid-mode or Sample-mode. In Mid-mode, «U» is returned unchanged. In Sample-mode, the Run-index is added to «U» if not already there, so that the result is a sample (where every sample point is the same value).

Examples

When evaluated in Mid-mode:

Certain( 25 ) → 25

When evaluated in Sample-mode:

Certain( 25 ) → Certain usage example.png

See Also

Comments


You are not allowed to post comments.