On 2011-08-17 19:13:48 +0200, Arnold Neumaier wrote:
Since you compute a function of two variables, you need to apply
domain to the vector consisting of both variables, not to each
variable separately!
I don't know exactily who would be responsible for applying domain,
but I think this is counter-intuitive. If I write:
z = sqrt(x) + y;
I don't expect the computation of sqrt(x) to depend on y.
If this is the user who is responsible for applying domain on the
vector explicitly before the expression, then there are risks of
mistakes (unless the language forbids expressions and works only
on functions with explicit parameters).