Ver Fonte

Added hint message for chain rule.

Taddeus Kroes há 14 anos atrás
pai
commit
fe3485a857
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      src/rules/derivatives.py

+ 3 - 0
src/rules/derivatives.py

@@ -47,6 +47,9 @@ def chain_rule(root, args):
     return f_deriv(root, f_deriv_args) * der(g, x)
 
 
+MESSAGES[chain_rule] = _('Apply the chain rule to {0}.')
+
+
 def match_zero_derivative(node):
     """
     der(x, y)  ->  0