Skip to content

Commit

Permalink
update doc with native-complex idiom
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Nov 26, 2024
1 parent 25af72c commit c15691c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.pod
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ PDL::FFTW3 - PDL interface to the Fastest Fourier Transform in the West v3

# compute the correlation
my $F12 = rfft1( cat($y1,$y2) );
my $corr = irfft1( Cmul( $F12(:,:,(1)),
Cconj $F12(:,:,(0)) ) );
my $corr = irfft1( $F12(:,(1)) * $F12(:,(0))->conj );
# and find the peak
say maximum_ind($corr);

Expand Down

0 comments on commit c15691c

Please sign in to comment.