Ranges for Variables

*To*: mathgroup at yoda.physics.unc.edu (Mathematica User's Group)*Subject*: Ranges for Variables*From*: Keith Clay <clay at galileo.phys.washington.edu>*Date*: Mon, 12 Oct 92 23:10:21 MDT

Dear group: This one seems simple, but a general solution evades me. Let's say I want to tell Mathematica that every time the variable called "a" appears it is positive, or that every time the variable "b" appears it is between, say, 0 and 1. This avoids searching for factors of I Pi when Mathematica spits out output containing Log[-a] or Sqrt[b-1]. One can write chains of "ConditionQ" statements each time a function call is made, but is there a direct way of doing this in advance so that the conditions will be applied for the rest of a Mma session? Keith (clay at galileo.phys.washington.edu)