Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Creating a Table of Functions' topicStudent Support Forum > General > Archives > "Creating a Table of Functions"

Next Comment >Help | Reply To Topic
Author Comment/Response
Matthias
05/06/12 2:02pm

Hello everybody,

I am using Mathematica of the Version 7 and I want to make a table (here a vector of Dimension n) of eigen-functions. The mathemical way to do this does not matter here and no. Let's say I want to have e.g. the Monomials functions x^k with 0<k<n.
(Monomials ={Function[x,1], Function[x,x], Function[x,x^2], , Function[x,x^n]})
First I tried the direct deklaration:

Monomials = Table[Function[x,x^k],{k,0,n}]
and then the way using: Do[..], For[...] and While[...] but all of them do not work properly. Caused by a unfavorable scope of the Parameter k, which seemed to be copied as an instance but not as a well know copy of the current value.

Does anyone know how I can create such a vector of functions correct ?

Thank You very much.

Best regards
Matthias


PS. Please understand me well: I do not want to have any build in function which gives me all Monomials. I just used this as a example. In real I build my Functions out of a Matrix.

URL: ,

Subject (listing for 'Creating a Table of Functions')
Author Date Posted
Creating a Table of Functions Matthias 05/06/12 2:02pm
Re: Creating a Table of Functions Bill Simpson 05/06/12 9:05pm
Re: Creating a Table of Functions toen 05/07/12 10:46am
Re: Creating a Table of Functions Matthias 05/09/12 11:13am
Next Comment >Help | Reply To Topic