Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add interfaces for sine transform #43

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions src/fftpack.f90
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ module fftpack
public :: dct_t1i, dct_t1
public :: dct_t23i, dct_t2, dct_t3

public :: dsinti, dsint

public :: rk

interface
Expand Down Expand Up @@ -177,6 +179,22 @@ pure subroutine dcost(n, x, wsave)
real(kind=rk), intent(in) :: wsave(*)
end subroutine dcost


pure subroutine dsinti(n, wsave)
import rk
integer, intent(in) :: n
real(kind=rk), intent(out) :: wsave(*)
end subroutine dsinti


pure subroutine dsint(n, x, wsave)
import rk
integer, intent(in) :: n
real(kind=rk), intent(inout) :: x(*)
real(kind=rk), intent(in) :: wsave(*)
end subroutine dsint


!> Version: experimental
!>
!> Integer frequency values involved in complex FFT.
Expand Down