Re: Issue 1905 in sympy: Differentiation and Geometric Algebra

2013-07-26 Thread sympy
Comment #12 on issue 1905 by julien.r...@gmail.com: Differentiation and Geometric Algebra http://code.google.com/p/sympy/issues/detail?id=1905 It doesn't subclass from Expr. -- You received this message because this project is configured to send all issue notifications to this address. Yo

Re: Issue 1905 in sympy: Differentiation and Geometric Algebra

2013-07-25 Thread sympy
Comment #11 on issue 1905 by asmeu...@gmail.com: Differentiation and Geometric Algebra http://code.google.com/p/sympy/issues/detail?id=1905 Does MV subclass from Expr? Usually the logic itself is in _eval_deriative, and diff() and .diff() call it automatically from the superclass. -- You

Re: Issue 1905 in sympy: Differentiation and Geometric Algebra

2013-07-25 Thread sympy
Comment #10 on issue 1905 by julien.r...@gmail.com: Differentiation and Geometric Algebra http://code.google.com/p/sympy/issues/detail?id=1905 It's described in sympy/core/function.py (see the Derivative class) and for MV I think it would just be def _eval_derivative(self, x): return

Re: Issue 1905 in sympy: Differentiation and Geometric Algebra

2013-07-25 Thread sympy
Comment #9 on issue 1905 by abro...@verizon.net: Differentiation and Geometric Algebra http://code.google.com/p/sympy/issues/detail?id=1905 OK F.diff(x) refers to the partial derivative and there is only one partial derivative so that could be made consistent with the rest of sympy. I will l

Re: Issue 1905 in sympy: Differentiation and Geometric Algebra

2013-07-25 Thread sympy
Comment #8 on issue 1905 by julien.r...@gmail.com: Differentiation and Geometric Algebra http://code.google.com/p/sympy/issues/detail?id=1905 Certainly the same ambiguity exists for F.diff(x), but a choice was made and diff(F, x) would mean the same as what F.diff(x) currently means. Or e

Re: Issue 1905 in sympy: Differentiation and Geometric Algebra

2013-07-25 Thread sympy
Comment #7 on issue 1905 by abro...@verizon.net: Differentiation and Geometric Algebra http://code.google.com/p/sympy/issues/detail?id=1905 The question is which derivative should diff mean. If F is a multivector function and grad is the derivative operator then grad*F, F*grad, grad^F, F^gr

Re: Issue 1905 in sympy: Differentiation and Geometric Algebra

2013-07-25 Thread sympy
Updates: Status: Valid Comment #6 on issue 1905 by julien.r...@gmail.com: Differentiation and Geometric Algebra http://code.google.com/p/sympy/issues/detail?id=1905 It should be better integrated with SymPy's diff() by defining the appropriate _eval_derivative stuff. -- You receiv

Re: Issue 1905 in sympy: Differentiation and Geometric Algebra

2010-04-20 Thread sympy
Comment #5 on issue 1905 by abro...@verizon.net: Differentiation and Geometric Algebra http://code.google.com/p/sympy/issues/detail?id=1905 I 'A' is a multivector function do not use diff(A,x) since diff is not part of the GA module and does not test to see if A is a multivector. Use A.dif

Re: Issue 1905 in sympy: Differentiation and Geometric Algebra

2010-04-20 Thread sympy
Comment #4 on issue 1905 by jdeko...@hotmail.com: Differentiation and Geometric Algebra http://code.google.com/p/sympy/issues/detail?id=1905 Thanks for answering so quickly to my issue, but I don't quite understand what I should do. First comment, "Both diff(y,x) and exp(y) are not defi

Re: Issue 1905 in sympy: Differentiation and Geometric Algebra

2010-04-19 Thread sympy
Comment #3 on issue 1905 by abro...@verizon.net: Differentiation and Geometric Algebra http://code.google.com/p/sympy/issues/detail?id=1905 Also in your case gamma_x**2 = -1 so that exp(x*gamma_x) = cos(x)+sin(x)*gamma_x and d/dx(exp(x*gamma_x)) = -sin(x)+cos(x)*gamma_x. If gamma_x**2 = 1

Re: Issue 1905 in sympy: Differentiation and Geometric Algebra

2010-04-19 Thread sympy
Comment #2 on issue 1905 by abro...@verizon.net: Differentiation and Geometric Algebra http://code.google.com/p/sympy/issues/detail?id=1905 Both diff(y,x) and exp(y) are not defined in the galgebra module for y a multivector. If y is a multivector and y*y is a scalar then exp(y) can be expr

Re: Issue 1905 in sympy: Differentiation and Geometric Algebra

2010-04-19 Thread sympy
Updates: Cc: abro...@verizon.net Comment #1 on issue 1905 by asmeurer: Differentiation and Geometric Algebra http://code.google.com/p/sympy/issues/detail?id=1905 (No comment was entered for this change.) -- You received this message because you are listed in the owner or CC fields of th

Issue 1905 in sympy: Differentiation and Geometric Algebra

2010-04-19 Thread sympy
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 1905 by jdeko...@hotmail.com: Differentiation and Geometric Algebra http://code.google.com/p/sympy/issues/detail?id=1905 Two different ways to do the same thing don't give the same result. Here is the code sample in order