Welcome to Cadabra Q&A, where you can ask questions and receive answers from other members of the community.
0 votes

I am trying to figure out how to write a conditional substitution of the form:

substitute(_, \partial_{i}{A??}{B??} -> 0, if B?? is member of set C)

where C = {VB_{i}, VE_{i}, TE_{i}, partial_{#}{VB_{i}}, etc.}

Is this possible?

Thanks

James

in General questions by (520 points)

1 Answer

0 votes

I knew this was coming, now you are approaching the problem from the other end of the scale ;-) You can do some basic conditionals in substitute, but not what you want. I think this is something for a feature list post 2.2.0 release which we are preparing right now.

by (80.3k points)
...