Divergent sums



On 4/22/08, Andrej Vodopivec <andrej.vodopivec at gmail.com> wrote:

>  I propose to change that so that for divergent sums maxima returns und
>  or signals an error.

OK by me to return und or some other symbol.

Errors make it harder to write programmatic interfaces to Maxima,
which, it turns out, is a major mode of use for Maxima at present.

Also OK by me to throw something e.g. throw(undefined("Divergent sum"))
although the throw--catch stuff is not much used within Maxima.

>  (%i8) integrate(1/x,x,1,inf);
>  Integral is divergent
>   -- an error.  To debug this try debugmode(true);

OK by me to change integrate to return something or throw something
in the same manner as sum.

Thanks for looking into this --

Robert Dodier