Multiplierless digital learning algorithm for cellular neural networks