From c15691c0b06389210caad2f995e135683f955a1d Mon Sep 17 00:00:00 2001 From: Ed J Date: Tue, 26 Nov 2024 20:58:18 +0000 Subject: [PATCH] update doc with native-complex idiom --- README.pod | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.pod b/README.pod index 15136c3..a2de93a 100644 --- a/README.pod +++ b/README.pod @@ -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);