Functions with Variables with Indices
- To: mathgroup at smc.vnet.net
- Subject: [mg29394] Functions with Variables with Indices
- From: "Benjamin Müller" <Benjamin.M at gmx.de>
- Date: Sat, 16 Jun 2001 22:43:45 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
I recently began programming Mathematica and wonder if it is possible to plot functions with variables that have indices. There's always the error: f[variable with index] is not a machine-size real number at ... . Variables without index and following blank (i.e. f[x_]) work fine. However, the kernel doesn't understand the blank_ after a variable with index and interprets this as "Times". Is there an easy solution, without programming several lines to make the kernel understand the subscript in the right way? Thanks a lot, Benjamin e-mail response appreciated: Benjamin.M at gmx.de