Spaces:
Running
Running
"""A module to manipulate symbolic objects with indices including tensors | |
""" | |
from .indexed import IndexedBase, Idx, Indexed | |
from .index_methods import get_contraction_structure, get_indices | |
from .functions import shape | |
from .array import (MutableDenseNDimArray, ImmutableDenseNDimArray, | |
MutableSparseNDimArray, ImmutableSparseNDimArray, NDimArray, tensorproduct, | |
tensorcontraction, tensordiagonal, derive_by_array, permutedims, Array, | |
DenseNDimArray, SparseNDimArray,) | |
__all__ = [ | |
'IndexedBase', 'Idx', 'Indexed', | |
'get_contraction_structure', 'get_indices', | |
'shape', | |
'MutableDenseNDimArray', 'ImmutableDenseNDimArray', | |
'MutableSparseNDimArray', 'ImmutableSparseNDimArray', 'NDimArray', | |
'tensorproduct', 'tensorcontraction', 'tensordiagonal', 'derive_by_array', 'permutedims', | |
'Array', 'DenseNDimArray', 'SparseNDimArray', | |
] | |