solve(x/sqrt(x+2)=1,x)



Thanks, Leo, I have used grep for over 30 years, and in fact finally did
resort to looking through the share directories, which no user should have
to do. Your regexp works, but of course if the name had been changed to
%solve (as apparently it will be!) or whatever, or if the package had been
rewritten in Lisp, or if the arguments were on a separate line, etc. it
would not.

                -s

On Fri, Oct 30, 2009 at 3:43 AM, Leo Butler <l.butler at ed.ac.uk> wrote:

>
>
> On Thu, 29 Oct 2009, Barton Willis wrote:
>
> < Stavros,
> <
> < Sorry for wasted time. One thing I'll do that might help: I'll change the
> < deprecated topoly_solver.mac to load the non-deprecated to_poly_solver.
>
> For future reference, 'grep' will find what you want, even with a small
> amount of information about the name of the function:
>
> $ time grep -r -e '_*poly_*sol.\+\?(.\+\?) *:=' .
>
> ./maxima/share/contrib/to_poly_solver.mac:to_poly_solve(e,v,[extraargs])
> := block([vc, all_vars, sol, solvedomain, parameter_list,
>
> ./maxima/share/contrib/to_poly_solver.mac:to_poly_solve_h(e,v,
> simpfuncs, maxdepth, grob) := block([eqs : set(), nonalg : set(),
> listconstvars : false,
>
> ./maxima/share/contrib/topoly_solver.mac:to_poly_solve(e,vars) :=
> block([listconstantvars : false, x, v, ineq : [], eq, eqs : [], sol, acc
> : [],gg],
>
> real    0m1.554s
> user    0m0.816s
> sys     0m0.704s
>
> Leo
>
> --
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>