Variables names
- To: mathgroup at smc.vnet.net
- Subject: [mg15002] Variables names
- From: Kim Allemand <kim.allemand at epfl.ch>
- Date: Sat, 5 Dec 1998 01:30:09 -0500
- Organization: EPFL
- Sender: owner-wri-mathgroup at wolfram.com
Hi, I have a square matrix Q of dimension N and would like to generate the quadratic function $\sum_{i,j}q_{ij}x_i x_j$. The problem is how to say to Mathamatica that the variables names are x1, x2, etc. Is it possible to generate variables names in an automatic way? A possibility would be to generate manually a vector NN={x1, x2, x3, ....} of dimension N and then to pick NN[[i]] for the ith variable name, but imagine when N=1000... !! Thanks, Kim
- Follow-Ups:
- Re: Variables names
- From: Jens-Peer Kuska <kuska@informatik.uni-leipzig.de>
- RE: Variables names
- From: "Greg Arnold" <garnold@mbvlab.wpafb.af.mil>
- Re: Variables names