MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


mediaLib Library Functions              mlibVectorMagU8C(3MLIB)



NAME
     mlibVectorMagU8C, mlibVectorMagS8C, mlibVectorMagS16C,
     mlibVectorMagS32C - vector complex magnitude

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

     mlibstatus mlibVectorMagU8C(mlibd64 *m, const mlibu8 *x,
          mlibs32 n);


     mlibstatus mlibVectorMagS8C(mlibd64 *m, const mlibs8 *x,
          mlibs32 n);


     mlibstatus mlibVectorMagS16C(mlibd64 *m, const mlibs16 *x,
          mlibs32 n);


     mlibstatus mlibVectorMagS32C(mlibd64 *m, const mlibs32 *x,
          mlibs32 n);


DESCRIPTION
     Each of these functions computes the magnitude vector of the
     complex input vector.


     The following equation is used:

       m[i] = (x[2*i]**2 ] x[2*i ] 1]**2)**0.5



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

PARAMETERS
     Each of the functions takes the following arguments:

     m    Pointer to the destination magnitude 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              mlibVectorMagU8C(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 ™