Re: Function of N variable
- To: mathgroup at smc.vnet.net
- Subject: [mg121106] Re: Function of N variable
- From: Ralph Dratman <ralph.dratman at gmail.com>
- Date: Sun, 28 Aug 2011 04:06:12 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <201108271217.IAA17765@smc.vnet.net>
You could use something like F[{x1, x2,... xN}], that is, your argument to the function would be a list of coordinates, rather than a fixed number. Depending on other factors, you might or might not need an additional, single-integer argument to specify the number of dimensions. Ralph On Sat, Aug 27, 2011 at 8:17 AM, Sam Takoy <sam.takoy at yahoo.com> wrote: > Hi, > > I have put together a few function for differential geometry in 3D. > All my functions were of the kind F(z1_, z2_, z3_). Now I want to > generalize to 4D, then 5D, etc. Is there a good way to represent a > function of N variables? For example, I want to be able to say grad[F] > [???] to obtain a list of N function (partial derivatives) of N > variables. I understand these are vague questions, but I am only > looking for some keywords. > > Many thanks in advance, > > > Sam > >
- References:
- Function of N variable
- From: Sam Takoy <sam.takoy@yahoo.com>
- Function of N variable