Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #14407 > unrolled thread

IdentityMatrix for abstract tensor

Started byYi Wang <tririverwangyi@gmail.com>
First post2013-05-04 07:17 +0000
Last post2013-05-04 07:17 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  IdentityMatrix for abstract tensor Yi Wang <tririverwangyi@gmail.com> - 2013-05-04 07:17 +0000

#14407 — IdentityMatrix for abstract tensor

FromYi Wang <tririverwangyi@gmail.com>
Date2013-05-04 07:17 +0000
SubjectIdentityMatrix for abstract tensor
Message-ID<km2cln$4l3$1@smc.vnet.net>
Dear all,

I was trying to make use of the abstract tensors that are introduced in Mathematica 9. I would need to be able to construct an identity matrix such that (for a general dimension):

TensorContract[A=E2=8A=97IdentityMatrix, {{2,3}}]//TensorReduce (* or any other simplification *)

gives A,

TensorContract[A=E2=8A=97IdentityMatrix=E2=8A=97B=E2=8A=97..., {{2,3}}]//TensorReduce

gives A=E2=8A=97B=E2=8A=97..., and

TensorContract[IdentityMatrix, {{1,2}}]//TensorReduce

gives TensorDimensions[e].

Is it possible to implement something like this? Thanks!

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web