Skip to content

Conversation

djohn134
Copy link

@djohn134 djohn134 commented Nov 4, 2023

Updated src/correlations.jl to include correlation plans and allocation-free correlations using buffers, similar to what was already present for convolutions in src/convolutions.jl

end

function p_ccorr_aux(P, P_inv, u, v_ft)
return (P_inv.p * ((P * u) .* conj(v_ft) .* P_inv.scale))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use conj.(v_ft). That should avoid some allocations.

@roflmaostc
Copy link
Member

Thanks for adding this.

We need to do a couple of things before we can merge :)

  • some tests to verify the implementation, see how we test conv and similar ones
  • docstrings similar to conv-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants