Skip to content

Commit c15691c

Browse files
committed
update doc with native-complex idiom
1 parent 25af72c commit c15691c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.pod

+1-2
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ PDL::FFTW3 - PDL interface to the Fastest Fourier Transform in the West v3
6464

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

0 commit comments

Comments
 (0)