A study of basic hypergeometric functions and their applications in partition theory and continued fractions