MathGroup Archive 1998

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

Search the Archive

Re: Field of Functions


Hi Steffen,

funcList={};
For[i=0; i<10;i++,
  (* do something *)
  AppendTo[funcList,ithInterpolation]; ]

will work. But It seems to be better to avoid the iteration at all and
use Map[] and a nice function that operates on the list of Your data
and returns a Interpolation[] object.

Hope that helps
  Jens

-----Original Message-----
From: steffenz at gauss.fo.fh-koeln.de <steffenz at gauss.fo.fh-koeln.de> To:
mathgroup at smc.vnet.net
Subject: [mg14150] [mg14108] Field of Functions


Hi !

I am using Interpolation inside a For-Loop and would like to put  them
into an Array of Funktions.
I tried to give them indices like F[[i]], but I get an longer  then
object error.

Any Help??

Bye Steffen





  • Prev by Date: Problem calculating Transpose[a].Inverse[BB].Transpose[b]
  • Next by Date: Re: argument passing
  • Previous by thread: Re: Field of Functions
  • Next by thread: Notation Problem