Helper function with the CCA function
dot-compute_cca_aggregate_matrix.Rd
Called by the .cca
function. Recall when computing CCA,
the main matrix we need compute is, roughly speaking,
half-inverse of the first covariance times the cross-covariance matrix
times the half-inverse of the second covariance. If we had the SVD
of the two original matrices, this is actually equivalent to the product
of the left singular vectors.