Gradient‐dependent plasticity: Formulation and algorithmic aspects | Synapse