Re: lists of variables
- To: mathgroup at smc.vnet.net
- Subject: [mg58245] Re: lists of variables
- From: "Ray Koopman" <koopman at sfu.ca>
- Date: Fri, 24 Jun 2005 02:50:07 -0400 (EDT)
- References: <d9630u$q1t$1@smc.vnet.net><d9e10o$ge4$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
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?
- Follow-Ups:
- Re: Re: lists of variables
- From: Andrzej Kozlowski <andrzej@akikoz.net>
- Re: Re: lists of variables