You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
870 B
23 lines
870 B
"""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',
|
|
]
|