Online PCA for multivariate and functional data using perturbation methods, low-rank incremental methods, and stochastic optimization methods.