conf, set_conf
conf, set_conf — query and set confidence factors.
conf (s_exp)
set_conf (s_exp, number|s_exp)
s_expAny Gamma or Lisp expression.
number|s_expAny number, or any expression that evaluates to a number. Non-numbers are treated as zero.
The confidence factor of the number or
s_exp.
All Gamma and Lisp expressions in Gamma have an associated confidence
factor between 0 and 100 which may be queried using the
conf function. This is typically 100, or fully
confident. Exceptions arise only when the user explicitly sets the
confidence to another value, or when the DataHub instance provides a confidence
value to the interpreter. The set_conf function will
set the confidence of an expression to any numerical value, though legal
values are between 0 and 100. Numbers less than 0 indicate indeterminate
confidence. Numbers greater than 100 will produce strange results.
Gamma>x = 3;3Gamma>set_conf(x, 40);40Gamma>conf(x);40Gamma>