Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1997

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

Search the Archive

Re: mathematica question

  • To: mathgroup at
  • Subject: [mg9234] Re: mathematica question
  • From: "Xah" <xah at>
  • Date: Fri, 24 Oct 1997 01:00:49 -0400
  • Organization:
  • Sender: owner-wri-mathgroup at

At 10:03 PM -0800 1997.10.20, Tom wrote:
>I have a set of functions that take no inputs, they are called q1[],
>q2[], q3[] and so on. 
>How can I get Mathematica to run the correct function given a list of
>numbers as input. 

Hi Tom,

The following will do

(ToExpression at StringJoin["q",ToString at #,"[]"]&)/@(Range at 5)

 Xah, xah at
 "Java -- the modern version of backward language"

  • Prev by Date: Re: Help with findroot
  • Next by Date: Integrate and Distribution over terms
  • Previous by thread: Re: mathematica question
  • Next by thread: Re: mathematica question