DrawNumericHack R

numeric.spad line 434 [edit on github]

Hack for the draw interface. DrawNumericHack provides a “coercion” from something of the form x = a..b where a and b are formal expressions to a binding of the form x = c..d where c and d are the numerical values of a and b. This “coercion” fails if a and b contains symbolic variables, but is meant for expressions involving %pi.

coerce: SegmentBinding Expression R -> SegmentBinding Float

coerce(x = a..b) returns x = c..d where c and d are the numerical values of a and b.