DrawNumericHack R¶
numeric.spad line 434 [edit on github]
R: Join(OrderedSet, IntegralDomain, ConvertibleTo Float)
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)
returnsx = c..d
wherec
andd
are the numerical values ofa
andb
.