MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


mediaLib Library Functions         mlibVectorMergeU8CU8(3MLIB)



NAME
     mlibVectorMergeU8CU8,            mlibVectorMergeS8CS8,
     mlibVectorMergeS16CS16,  mlibVectorMergeS32CS32 - ver-
     tor merge

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

     mlibstatus mlibVectorMergeU8CU8(mlibu8 *z, const mlibu8 *r,
          const mlibu8 *i, mlibs32 n);


     mlibstatus mlibVectorMergeS8CS8(mlibs8 *z, const mlibs8 *r,
          const mlibs8 *i, mlibs32 n);


     mlibstatus mlibVectorMergeS16CS16(mlibs16 *z, const mlibs16 *r,
          const mlibs16 *i, mlibs32 n);


     mlibstatus mlibVectorMergeS32CS32(mlibs32 *z, const mlibs32 *r,
          const mlibs32 *i, mlibs32 n);


DESCRIPTION
     Each of these functions computes the complex vector from two
     vectors representing the real and imaginary parts.


     The following equation is used:

       z[2*k]     = r[k]
       z[2*k ] 1] = i[k]



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

PARAMETERS
     Each of the functions takes the following arguments:

     z    Pointer to the first complex element of the destination
          vector.  z[2*k]  contains the real part, and z[2*k ] 1]
          contains the imaginary part.


     r    Pointer to the first element of the real part.


     i    Pointer to the first element of the imaginary part.




SunOS 5.11           Last change: 2 Mar 2007                    1






mediaLib Library Functions         mlibVectorMergeU8CU8(3MLIB)



     n    Number of elements in the vectors.


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

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



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


SEE ALSO
     mlibVectorSplitU8U8C(3MLIB), 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 ™