cost man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

cost(3P)		    Sun Performance Library		      cost(3P)

NAME
       cost  -	compute	 the  discrete	Fourier	 cosine	 transform  of an even
       sequence.  The COST transforms are unnormalized inverses of themselves,
       so  a  call  of COST followed by another call of COST will multiply the
       input sequence by 2 * (N-1).

SYNOPSIS
       SUBROUTINE COST(N, X, WSAVE)

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

       SUBROUTINE COST_64(N, X, WSAVE)

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

   F95 INTERFACE
       SUBROUTINE COST(N, X, WSAVE)

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

       SUBROUTINE COST_64(N, X, WSAVE)

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

   C INTERFACE
       #include <sunperf.h>

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

       void cost_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 >= 2.

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

       WSAVE (input)
		 On  entry, an array with dimension of at least	 (3 * N + 15),
		 initialized by COSTI.

				  6 Mar 2009			      cost(3P)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net