conjugate of undeclared array



On 4/25/11, Barton Willis <willisb at unk.edu> wrote:

> I was looking at a conjugate bug and noticed the following:
>
>   (%i6) declare(e,imaginary)$
>
>   (%i7) conjugate(e[x]);
>   (%o7) -e[x]
>
>  I'd like to  remove this undocumented feature before somebody decides
> that they like it.
>
> Since  declare(e[x], imaginary),  doesn't work, a user will need to use a
> tellsimp rule to do things like conjugate(e[x]) --> -e[x].

I don't agree that it's a bug. To be able to make a collective declaration
about all e[whatever] seems like a useful feature.

I wish that declare could handle subscripted variables, but that's
a separate problem.

best

Robert Dodier