On Sat, Feb 12, 2011 at 3:09 AM, Dox <o.castillo.felis...@gmail.com> wrote:
> Hi again people!
> Just wanted to know if the Levi-Civita tensor can be emulated by using this,
>
> sage: G = SymmetricGroup(4)
> sage: G([4,2,3,1]).sign()
> -1
>
> because I'm not sure if the notation used in the documentation is equivalent
> to mine!

Yes, you can use that to get the sign of a permutation which is used
in the Levi-Civita tensor.

--Mike

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to