Control systems functions and programming approaches, vol. A: Theory