legacy...
create a linear-linear interpolating grid with both x & y set to (xmin, xmin+dx, ... xmin + dx*(count -1) ) very useful for transformaiton with other functions e.g. f=C2sin(LinearInterpolatingGrid(-0.1,0.1, 65)) creates a spline table of sin(x) slightly beyond the first period Definition at line 1349 of file C2Functions.py. 01349 : 01350 """create a linear-linear interpolating grid with both x & y set to (xmin, xmin+dx, ... xmin + dx*(count -1) ) 01351 very useful for transformaiton with other functions e.g. 01352 f=C2sin(LinearInterpolatingGrid(-0.1,0.1, 65)) creates a spline table of sin(x) slightly beyond the first period 01353 """ 01354 x=[xmin + dx*i for i in xrange(count)] 01355 return InterpolatingFunction(x,x).SetName('x') ##
|