using 'depends' and 'assume' on arrays



On Thu, Jul 05, 2007 at 09:56:55AM -0500, Todd Hay wrote:

> However, sometimes I need to assume that the radius of a particular sphere
> doesn't change with time so that diff(R[i],t) = 0 for some particular value
> of i. I've tried to do this by using the 'assume' function:
> 
> assume(equal(diff(R[i],t), 0))

Without knowing what you're doing with the code, perhaps you could
instead substitute 0 for diff(R[i],t) in the equation you're
manipulating, probably best to use ratsubst for this substitution.

-- 
Daniel Lakeland
dlakelan at street-artists.org
http://www.street-artists.org/~dlakelan