# Question:Tensor definition and suming over repeated indices in maple

## Question:Tensor definition and suming over repeated indices in maple

Maple 2018

While using the Physics package in Maple 2018, I am facing a few hurdles. In the file tov.mw ,

1. I have defined a dual-vector with components \$u_a\$ in step 12, but when I am trying to compute \$g(u,u)\$ using SumOverRepeatedIndices  in step 15, it is not evaluating the sum.

2. I want to define a tensor \$B_{ab}=\nabla_a u_b\$. Do I just write Define(B{a,b}=D_[a] u[b]) ?

3. Is there any command to find the symmetric and antisymmetric components and trace of the tensor B or do we evaluate them by writing out the expressions?

Thank you.

﻿