SolveConstants

SolveConstants[expr]
attempts to solve the system expr of tensorial equations for all constant symbols appearing in expr.
SolveConstants[expr, vars]
attempts to solve the system expr of tensorial equations for constant symbols vars.
SolveConstants[expr, !vars]
attempts to solve the system expr of tensorial equations for all constant symbols appearing in expr, except vars.
  • SolveConstants canonicalizes tensorial expressions before solving.
  • SolveConstants also takes lists of equations as the first argument.