MathGroup Archive 1997

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Creating an Attribute AntiSymmetric ?!?!?!

  • To: mathgroup at smc.vnet.net
  • Subject: [mg6319] Re: [mg6279] Creating an Attribute AntiSymmetric ?!?!?!
  • From: Pasquale Nardone <pnardon at ulb.ac.be>
  • Date: Sat, 8 Mar 1997 00:26:44 -0500 (EST)
  • Organization: Université Libre de Bruxelles
  • Sender: owner-wri-mathgroup at wolfram.com

the usual trick that I use is to define:

f[x_,y_]:=-f[y,x]/;{x<y}
to have for example a anti symmetric tensor
If x and y are not numbers, you can define your own ordering

f[x_,y_]:=-f[y,x]/;MyOrder[x,y]

--------------------------------------------
 Pasquale Nardone                          *
                                           *
 Université Libre de Bruxelles             *
 CP 231, Sciences-Physique                 *
 Bld du Triomphe                           *
 1050 Bruxelles, Belgium                   *
 tel: 650,55,15 fax: 650,57,67 (+32,2)     *
http://homepages.ulb.ac.be/~pnardon/       *
        ,,,
       (o o)
----ooO-(_)-Ooo----


  • Prev by Date: Re: join
  • Next by Date: Re: join
  • Previous by thread: Re: join
  • Next by thread: Re: Creating an Attribute AntiSymmetric ?!?!?!