MathGroup Archive 1997

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

Search the Archive

Re: interpolating f(x,y) from evaluation


K. Nikolaj Berntsen wrote:
> 
> Hi Group,
> 
> I want to generate an interpolatingfunction-like object for a
> complicated function of several variables; Interpolation etc. does not
> seem to be able to; but I may have missed something in the
> documentation, anyone got an idea?
> 
> I tried:
> 
> Interpolation[Table[{f[i,j].i.j},{i,3},{j,3}]]
> 
> but it did not work.


Hi,

Table[...,{i,3},{j,3}] creates a list that contains 3 Lists with 3 items
each,i.e. to much brackets to handle :-)

You can solve this problem with

Partition[Flatten[Table[...]],3]


Michaela




  • Prev by Date: Re: interpolating f(x,y) from evaluation
  • Next by Date: Re: Memory Leak in 3.0 for students?
  • Previous by thread: Re: interpolating f(x,y) from evaluation
  • Next by thread: Re: interpolating f(x,y) from evaluation