A Mathematical Description of Quantal Analysis with Applications