Skip to content

Commit 3abc980

Browse files
authored
Merge pull request #43 from nshalle/main
add interfaces for sine transform
2 parents d956809 + 73745a4 commit 3abc980

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/fftpack.f90

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ module fftpack
2020
public :: dct_t1i, dct_t1
2121
public :: dct_t23i, dct_t2, dct_t3
2222

23+
public :: dsinti, dsint
24+
2325
public :: rk
2426

2527
interface
@@ -177,6 +179,22 @@ pure subroutine dcost(n, x, wsave)
177179
real(kind=rk), intent(in) :: wsave(*)
178180
end subroutine dcost
179181

182+
183+
pure subroutine dsinti(n, wsave)
184+
import rk
185+
integer, intent(in) :: n
186+
real(kind=rk), intent(out) :: wsave(*)
187+
end subroutine dsinti
188+
189+
190+
pure subroutine dsint(n, x, wsave)
191+
import rk
192+
integer, intent(in) :: n
193+
real(kind=rk), intent(inout) :: x(*)
194+
real(kind=rk), intent(in) :: wsave(*)
195+
end subroutine dsint
196+
197+
180198
!> Version: experimental
181199
!>
182200
!> Integer frequency values involved in complex FFT.

0 commit comments

Comments
 (0)