The uniquely programmable memory elements are useful in applications such as neural networks and data storage devices, as well as multivalue-logic devices, comparative-logic applications, compliment base-n logic applications, counting applications, etc.