On Saturday, July 26, 2014 12:21:38 PM UTC-7, Stephen Kauffman wrote:
>
> TypeError: unsupported operand parent(s) for '*': 'Vector space of
> dimension 16 over Rational Field' and 'Full MatrixSpace of 8 by 8 dense
> matrices over Integer
> Ring'
>
> The error that you're getting is because there
plenty to read in http://docs.sympy.org/latest/modules/galgebra/GA.html
had to dig to see what to import
import sympy
from sympy import *
from sympy.galgebra import *
from sympy.galgebra.ga import *
some references said to
from sympy.galgebra.GAsympy import *
which doesn't exist or at least do
Have you looked at what sympy already has for Clifford algebras?
On Saturday, July 26, 2014, Stephen Kauffman wrote:
> I attempted to create a Clifford Algebra for space-time with the gamma
> matrices using the FreeAlgebraQuotient in analogy to the example for
> constructing a quarternion algebr
What's wrong with :
sage: var("a,x")
(a, x)
sage: z=function("z",x)
sage: f(x)=2*x+2*z*diff(z,x)/sqrt(x^2+a^2+z^2)
sage: f
x |--> 2*z(x)*D[0](z)(x)/sqrt(a^2 + x^2 + z(x)^2) + 2*x
hmmm ? You can also write :
sage: foo(x)=2*x+2*z(x)*diff(z(x),x)/sqrt(x^2+a^2+z(x)^2)
sage: foo
x |--> 2*z(x)*D[0](
I attempted to create a Clifford Algebra for space-time with the gamma
matrices using the FreeAlgebraQuotient in analogy to the example for
constructing a quarternion algebra from the documentation with the code:
PRGA=FreeAlgebra(QQ,4,'g')
F = PRGA.monoid()
g0,g1,g2,g3 = F.gens()
mons = [ F(1), g0
I would like to take the derivative of a function defined as as such that:
f(x,z)=(2*x+2*z*(dz/dx))/sqrt(x^2+a^2+z^2) and z=z(x) (z is an
unknown function of x). I am working on Euler-Legrange stuff.
Thanks,
Chris
--
You received this message because you are subscribed to the Google Groups
"
On Saturday, November 27, 2010 2:15:23 PM UTC+1, KvS wrote:
>
> just a quick question/remark, today I was working (plotting etc.) with
> some quantities that involve (upper) incomplete gamma functions.
... I was wondering whether it might be possible &
> would be an attractive feature to modify