TensorExpansionTerms

A friend of DumbTensor which exists to not only make the tensor algebra suck less but also to make it automated by making use of some simple rules for expressing derivatives specifically in the context of doing the coordinate transformations we need to do. Everything here is 1 indexed since that’s how I did the OG math

QXTerm: QXTerm
XVTerm: XVTerm
QXVTerm: QXVTerm
BasicContractionTerm: BasicContractionTerm

 

__init__(self, qx_terms, xv_terms, qxv_terms=None, base_qx=None, base_xv=None, q_name='Q', v_name='V'): 
  • qx_terms: Iterable[np.ndarray]
  • xv_terms: Iterable[np.ndarray]

 

QX(self, n): 

 

XV(self, m): 

 

QXV(self, n, m): 

Feedback

Examples

Templates

Documentation