MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: lists of variables


dh wrote:
> Hi Heath,
> You already got many answers, but I think the solution to create
> a variable name as a string and using ToExpression  is not the
> appropriate way to do this.
> Array[..] is made for this purpose.

I agree that using ToExpression to construct code is awkward and tends
to obscure what the code is, but for functions such as Minimize, that
require names of variables in their calling sequence, how else would
you handle problems in which the number of variables is not fixed?


  • Prev by Date: Re: Mathematica program generating sequence of points stalls for no apparent reason.
  • Next by Date: Re: Question about Plotting with boundary constriants
  • Previous by thread: Re: lists of variables
  • Next by thread: Re: Re: lists of variables