TensorDerivativeConverter
A class that makes it possible to convert expressions involving derivatives in one coordinate system in another
TensorExpansionError: TensorExpansionError
__init__(self, jacobians, derivatives=None, mixed_terms=None, jacobians_name='Q', values_name='V'):
jacobians:Iterable[np.ndarray]The Jacobian and higher-order derivatives between the coordinate systems
derivatives:Iterable[np.ndarray]Derivatives of some quantity in the original coordinate system
mixed_terms:Iterable[Iterable[None | np.ndarray]]Mixed derivatives of some quantity involving the new and old coordinates
convert(self, order=None, print_transformations=False, check_arrays=False):
@classmethod
compute_partition_terms(cls, partition):
@classmethod
convert_partition(cls, partition, derivs, vals, val_axis=0):
@classmethod
convert_fast(cls, derivs, vals, val_axis=-1, order=None):