Article View: sci.math.symbolic
Article #972Re: Tensors in Maple
From: John M. Lee
Date: Mon, 25 Jan 1993 17:43
Date: Mon, 25 Jan 1993 17:43
40 lines
2361 bytes
2361 bytes
In article <2185@nikhefh.nikhef.nl> t16@nikhefh.nikhef.nl (Kasper Peeters) writes:
> I was aware of the fact that 'RICCI' can do a lot of these things. However,
> I also need to be able to substitute specific things into the components of
> various tensors, and I do need a system that does automatic dummy relabeling,
> not like 'RICCI' where the only way (correct me if I'm wrong) seems to
> perform every substution after explicit relabeling by 'NewDummy'
> DefineTensor(a,1,Variance->Con)
> DefineTensor(b,1)
> c=a[U[i]] b[L[i]]
> e=NewDummy[c] * Newdummy[c]
> This is too complicated for the types of formulea I want to process.
One minor correction. For the specific computation you wrote above, Ricci
will accept the following:
e = c^2
You don't have to explicitly call NewDummy to relabel the dummy indices in
this case: Ricci interprets c^2 correctly and will relabel the indices when
necessary (e.g. when differentiating e). Ricci also calls NewDummy
whenever it automatically performs substitutions containing dummy indices
(for example, in response to a user's DefineRelation command). However, if
you wanted to multiply together two DIFFERENT expressions that both already
contained i as a dummy index, you would indeed have to use NewDummy
explicitly. The only way Ricci could save you this trouble would be if it
checked EVERY product to see if the factors had duplicate dummy index
names, which would cost far too much time.
In any case, you're right that Ricci doesn't support substitution of
specific values for components of tensors. Some day, hopefully.
Jack Lee
--
Jack Lee
Dept. of Mathematics
University of Washington
Seattle, WA
Technical Details
Message-ID:
<LEE.93Jan25174343@pythagoras.math.washington.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!math.washington.edu!leeReferences:
<2183@nikhefh.nikhef.nl> <LEE.93Jan22114425@pythagoras.math.washington.edu> <2185@nikhefh.nikhef.nl>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!math.washington.edu!lee From: lee@math.washington.edu (John M. Lee) Newsgroups: sci.math.symbolic Subject: Re: Tensors in Maple Date: 25 Jan 93 17:43:43 Organization: Mathematics Dept., U. of Washington Lines: 40 Message-ID: <LEE.93Jan25174343@pythagoras.math.washington.edu> References: <2183@nikhefh.nikhef.nl> <LEE.93Jan22114425@pythagoras.math.washington.edu> <2185@nikhefh.nikhef.nl> NNTP-Posting-Host: pythagoras.math.washington.edu In-reply-to: t16@nikhefh.nikhef.nl's message of 23 Jan 93 20:28:12 GMT