Hello,

tell please, how to access spline like function? for example i have:

p=list();
p.append([1,1]);
p.append([2,1.5]);
p.append([3,2]);
p.append([4,0]);
s=spline(p)

and i can get value of s in any point: s(1) or s(3) etc.

so, i want to use this spline like function:
g(x)=s(x)+1;
or
def g(x):
     return s(x)*sin(x);

or for example what should i do to integrate s?

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to