Theoretical Foundations of Functional Data Analysis with an Introduction to Linear Operators