Go to main content
Oracle Developer Studio 12.5 Man Pages

Exit Print View

Updated: June 2017
 
 

sint (3p)

Name

sint - compute the discrete Fourier sine transform of an odd sequence. The SINT transforms are unnormalized inverses of themselves, so a call of SINT followed by another call of SINT will multiply the input sequence by 2 * (N+1).

Synopsis

SUBROUTINE SINT(N, X, WSAVE)

INTEGER N
REAL X(*), WSAVE(*)

SUBROUTINE SINT_64(N, X, WSAVE)

INTEGER*8 N
REAL X(*), WSAVE(*)




F95 INTERFACE
SUBROUTINE SINT(N, X, WSAVE)

INTEGER :: N
REAL, DIMENSION(:) :: X, WSAVE

SUBROUTINE SINT_64(N, X, WSAVE)

INTEGER(8) :: N
REAL, DIMENSION(:) :: X, WSAVE




C INTERFACE
#include <sunperf.h>

void sint(int n, float *x, float *wsave);

void sint_64(long n, float *x, float *wsave);

Description

Oracle Solaris Studio Performance Library                             sint(3P)



NAME
       sint  - compute the discrete Fourier sine transform of an odd sequence.
       The SINT transforms are unnormalized inverses of themselves, so a  call
       of  SINT  followed  by  another  call  of  SINT will multiply the input
       sequence by 2 * (N+1).


SYNOPSIS
       SUBROUTINE SINT(N, X, WSAVE)

       INTEGER N
       REAL X(*), WSAVE(*)

       SUBROUTINE SINT_64(N, X, WSAVE)

       INTEGER*8 N
       REAL X(*), WSAVE(*)




   F95 INTERFACE
       SUBROUTINE SINT(N, X, WSAVE)

       INTEGER :: N
       REAL, DIMENSION(:) :: X, WSAVE

       SUBROUTINE SINT_64(N, X, WSAVE)

       INTEGER(8) :: N
       REAL, DIMENSION(:) :: X, WSAVE




   C INTERFACE
       #include <sunperf.h>

       void sint(int n, float *x, float *wsave);

       void sint_64(long n, float *x, float *wsave);



ARGUMENTS
       N (input) Length of the sequence to be transformed.  These  subroutines
                 are  most efficient when N+1 is a product of small primes.  N
                 >= 0.


       X (input/output)
                 On entry, an array of length N containing the sequence to  be
                 transformed.  On exit, the sine transform of the input.


       WSAVE (input/output)
                 On  entry,  an array with dimension of at least int(2.5 * N +
                 15) initialized by SINTI.




                                  7 Nov 2015                          sint(3P)