Possible Problem with the Unit_Step Function



When reporting problems, please include a reproducible, self-contained
example with an explanation of why it is wrong.

For example, instead of saying

    Numerical evaluation of the argument of the function doesn't give the
expected result

which requires us to guess as to what exactly the problem is, say something
like

    unit_step(23.4) => 3, where I expected 1
or
    unit_step(%pi),numer => 45, where I expected 1

Similarly,

   When I invoke the function for plotting I get a vertical line,

is too vague to be useful.  There are many plotting functions with many
options.

Thanks,

      -s


On Fri, Dec 2, 2011 at 21:32, James Nesta <bhakta.jim at gmail.com> wrote:

> I have the current version of Maxima with the WxMaxima GUI on Mac OS 10.7
> and have a problem with the unit_step function. When I invoke the function
> for plotting I get a vertical line, instead of a horizontal line of unit
> amplitude. Numerical evaluation of the argument of the function doesn't
> give the expected result also. This behavior occurs whether or not the
> package orthpoly has been loaded or not. Earlier versions of Maxima have
> not displayed this behavior. Thanks.
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>