Processing math: 100%
Cadabra
a field-theory motivated approach to computer algebra

Accent

Turn a symbol into an accent.
Turns a symbol into an accent. Accented objects inherit all properties and indices from the objects which they wrap. Here is an example with inherited coordinate dependence,
\hat{#}::Accent; \partial{#}::PartialDerivative; A::Depends(\partial{#}, \hat{#}); ex:=\partial(A \hat{A} B);
Attached property Accent to ˆ#.
Attached property PartialDerivative to #.
Attached property Depends to A.
(AˆAB)
product_rule(_);
AˆAB+A(ˆA)B+AˆAB
unwrap(_, $\partial{#}$);
AˆAB+A(ˆA)B+AˆAB
Copyright © 2001-2024 Kasper Peeters
Questions? info@cadabra.science