Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1872 by carlosgs91: I want to help
http://code.google.com/p/sympy/issues/detail?id=1872

Hi, I don't know where else can I post this.

I'm using sympy in my ipod Touch and it's really cool. I'm doing new
functions and doing them shorter for the iPhone and I'd like to share with
you this new functions I'm creating, so I would like yo join the team.

Right now I'm working trying to do a taylor function for 2 variables. I've
also done another taylor function that allows you to select the grade of
taylor.

Anyway, till now I've written all this:

def sym(val):
         return Symbol(val)

def uin(f,v):
         return integrate(f,v)

def din(f,v,a,b):
         endint=integrate(f,v).subs(v,b)
         startint=integrate(f,v).subs(v,a)
         res=endint-startint-0.1+0.1
         return res

def pp(f):
         return pprint(f)

def ud(f,v):
         return diff(f,v)

def dd(f,v,a):
         ddiff=diff(f,v).subs(v,a)
         res=ddiff-0.1+0.1
         return res

def mud(f,v,d):
        mul = f
        for i in range(0,d):
                mul = ud(mul,v)
        return mul

def mdd(f,v,d,p):
        mul = f
        for i in range(0,d):
                mul = ud(mul,v)
        return mul.subs(v,p)

def fa(n):
        return factorial(n)

def ta(f,v,p,d):
        u = f.subs(v,p)
        for i in range(1,d+1):
                u = u + (mdd(f,v,i,p)*((x-p)**i))/fa(i)
        return u

def dot(u,v):
        r = 0
        for i in range(0,len(u)):
                r = r + u[i]*v[i]
        return r

def vsum(u,v):
        r = []
        for i in range(0,len(u)):
                a = 0
                a = u[i]+v[i]           
                r.append(a)
        return r

def vmin(u,v):
        r = []
        for i in range(0,len(u)):
                a = 0
                a = u[i]-v[i]           
                r.append(a)
        return r

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to