MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


mediaLib Library Functions              mlibVectorAngU8C(3MLIB)



NAME
     mlibVectorAngU8C, mlibVectorAngS8C, mlibVectorAngS16C,
     mlibVectorAngS32C - vector complex phase (angle)

SYNOPSIS
     cc [ flag... ] file... -lmlib [ library... ]
     #include 

     mlibstatus mlibVectorAngU8C(mlibd64 *a,
          const mlibu8 *x, mlibs32 n);


     mlibstatus mlibVectorAngS8C(mlibd64 *a,
          const mlibs8 *x, mlibs32 n);


     mlibstatus mlibVectorAngS16C(mlibd64 *a,
          const mlibs16 *x, mlibs32 n);


     mlibstatus mlibVectorAngS32C(mlibd64 *a,
          const mlibs32 *x, mlibs32 n);


DESCRIPTION
     Each of these functions computes the phase vector of a  com-
     plex vector.


     The following equation is used:

       a[i] = atan(x[2*i ] 1] / x[2*i])



     where i = 0, 1, ..., (n - 1).

PARAMETERS
     Each of the functions takes the following arguments:

     a    Pointer to the destination phase vector.


     x    Pointer to the source vector


     n    Number of elements in the vector.


RETURN VALUES
     Each of the functions returns  MLIBSUCES  if  successful.
     Otherwise it returns MLIBFAILURE.



SunOS 5.11           Last change: 2 Mar 2007                    1






mediaLib Library Functions              mlibVectorAngU8C(3MLIB)



ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Committed                   
    
     MT-Level                     MT-Safe                     
    


SEE ALSO
     attributes(5)






































SunOS 5.11           Last change: 2 Mar 2007                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™