Coverage for /usr/lib/python3/dist-packages/sympy/tensor/__init__.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.9.1, created at 2025-06-14 15:55 +0200

1"""A module to manipulate symbolic objects with indices including tensors 

2 

3""" 

4from .indexed import IndexedBase, Idx, Indexed 

5from .index_methods import get_contraction_structure, get_indices 

6from .functions import shape 

7from .array import (MutableDenseNDimArray, ImmutableDenseNDimArray, 

8 MutableSparseNDimArray, ImmutableSparseNDimArray, NDimArray, tensorproduct, 

9 tensorcontraction, tensordiagonal, derive_by_array, permutedims, Array, 

10 DenseNDimArray, SparseNDimArray,) 

11 

12__all__ = [ 

13 'IndexedBase', 'Idx', 'Indexed', 

14 

15 'get_contraction_structure', 'get_indices', 

16 

17 'shape', 

18 

19 'MutableDenseNDimArray', 'ImmutableDenseNDimArray', 

20 'MutableSparseNDimArray', 'ImmutableSparseNDimArray', 'NDimArray', 

21 'tensorproduct', 'tensorcontraction', 'tensordiagonal', 'derive_by_array', 'permutedims', 

22 'Array', 'DenseNDimArray', 'SparseNDimArray', 

23]