1 | initial version |
To use substitute
, you have to be at the level of the symbolic expression underlying the scalar field kr
. The latter being returned by the method expr()
, it suffices to write
kr.expr().subs(m==10)
2 | No.2 Revision |
To use substitute
, you have to be at the level of the symbolic expression underlying the scalar field kr
. The latter symbolic expression (in the default chart) being returned by the method
, it suffices to writeexpr().expr()
kr.expr().subs(m==10)