Skip to content
Back to formatted view

Raw Message

Message-ID: <42F25253.90707@metahuman.org>
Date: 2005-08-04T17:37:23Z
From: Martin C. Martin
Subject: Adding "sum" to derivatives table

Hi,

Trying this:

deriv(expression(sum(x)), "x")

Gives the error message:

        Function 'sum' is not in the derivatives table

I'd like to add it, is this difficult?  If not, where is the derivatives 
table?

However, give how basic "sum" is, I suspect it would have been added if 
it were straightforward.  Do functions in the derivatives table need to 
be vectorized?  i.e. given a vector of length n, they need to produce a 
vector of length n?  Or is there some other restriction?

Thanks,
Martin