MathGroup Archive 1989

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

Search the Archive

Tensor operations in Mathematica


In Mathematica, Inner[f, u, v, g] contracts the last index of tensor u
and first index of tensor v. But how can I contract 2 indexes of a rand
r tensor T to get a rank (r-2) tensor? When r=2, that is just the trace
of the matrix. But how about higher rank tensor?

-- 
=======================================================================
USMAIL:   Guangliang He             |  INTERNET: ghe at PHYSICS.ORST.EDU
          Department of Physics     |  BITNET:   hegl at ORSTVM.BITNET
          Weniger Hall 301          |
          Oregon State University   |
          Corvallis, OR 97331-6507  |  PHONE:    (503) 737-4631
=======================================================================



  • Prev by Date: Mathematica on a SE/30
  • Next by Date: Question about Transpose in Mathematica
  • Previous by thread: Mathematica on a SE/30
  • Next by thread: Question about Transpose in Mathematica