MathGroup Archive 1998

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

Search the Archive

Variables names


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



  • Prev by Date: BUG in Calculus`VectorAnalysis` CoordinatesFromCartesian?
  • Next by Date: error from MathLink, plotting results from a c++ simulation
  • Previous by thread: Re: BUG in Calculus`VectorAnalysis` CoordinatesFromCartesian?
  • Next by thread: RE: Variables names