Function dhelp_add_sparse#

Function Documentation#

void dhelp_add_sparse(coeff_t *p_im1, imdir_t *p_idx1, ndir_t ndir1, coeff_t *p_im2, imdir_t *p_idx2, ndir_t ndir2, coeff_t *p_imres, imdir_t *p_idxres, ndir_t *ndirres, dhelpl_t dhl)#

Adds two sets of coefficients. Must be of same order.

Parameters:
  • p_im1[in] Coefficients to be multiplied.

  • p_idx1[in] Imaginary directions to be multiplied.

  • ndir1[in] Number of directions in p_im1.

  • p_im2[in] Coefficients to be multiplied.

  • p_idx2[in] Imaginary directions to be multiplied.

  • ndir2[in] Number of directions in p_im2.

  • p_imres[in] Resulting coefficients.

  • p_idxres[in] Resulting imaginary directions.

  • ndirres[in] Number of directions in result.

  • dhl[in] Direction helper list