pytc.legacy.df.solve_least_squares¶
- pytc.legacy.df.solve_least_squares(C, rho)[source]¶
Solve least squares problem for interpolation coefficients. :param C: Selected columns (N_b*N_b, n_rank, *trailing_dims) :param rho: Original tensor (N_b*N_b, N_grid, *trailing_dims)
- Returns:
Interpolation coefficients (n_rank, N_grid, *trailing_dims)
- Return type:
xi
- Parameters:
C (numpy.ndarray)
rho (numpy.ndarray)