'Returns a tensor with indices.
There is a special behavior in case of indices denoted by ``True``,
they are considered auto-matrix indices, their slots are automatically
filled, and confer to the tensor the behavior of a matrix or vector
upon multiplication with another tensor containing auto-matrix indices
of the same ``TensorIndexType``. This means indices get summed over the
same way as in matrix multiplication. For matrix behavior, define two
auto-matrix indices, for vector behavior define just one.
Examples
>>> from sympy.tensor.tensor import TensorIndexType, tensor_indices, tensorhead
>>> Lorentz = TensorIndexType(\'Lorentz\', dummy_fmt=\'L\')
>>> a, b = tensor_indices(\'a,b\', Lorentz)
>>> A = tensorhead(\'A\', [Lorentz]*2, [[1]*2])
>>> t = A(a, -b)
>>> t
A(a, -b)'

def __call__(self, *indices, **kw_args):

    tensor = Tensor._new_with_dummy_replacement(self, indices, **kw_args)
    return tensor
