MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


mediaLib Library Functions       mlibMatrixMaximumMagU8C(3MLIB)



NAME
     mlibMatrixMaximumMagU8C,        mlibMatrixMaximumMagS8C,
     mlibMatrixMaximumMagS16C,      mlibMatrixMaximumMagS32C,
     mlibMatrixMaximumMagF32C,   mlibMatrixMaximumMagD64C   -
     find  the  first  element  with  the  maximum magnitude in a
     matrix

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

     mlibstatus mlibMatrixMaximumMagU8C(mlibu8 *max, const mlibu8 *x,
          mlibs32 m, mlibs32 n);


     mlibstatus mlibMatrixMaximumMagS8C(mlibs8 *max, const mlibs8 *x,
          mlibs32 m, mlibs32 n);


     mlibstatus mlibMatrixMaximumMagS16C(mlibs16 *max, const mlibs16 *x,
          mlibs32 m, mlibs32 n);


     mlibstatus mlibMatrixMaximumMagS32C(mlibs32 *max, const mlibs32 *x,
          mlibs32 m, mlibs32 n);


     mlibstatus mlibMatrixMaximumMagF32C(mlibf32 *max, const mlibf32 *x,
          mlibs32 m, mlibs32 n);


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


DESCRIPTION
     Each of these functions finds the  first  element  with  the
     maximum  magnitude  in  a complex matrix, then puts the real
     and imaginary parts of it into max[0]  and  max[1],  respec-
     tively.

PARAMETERS
     Each of the functions takes the following arguments:

     max    Pointer to the first element with the maximum  magni-
            tude


     x      Pointer to the first element of the source matrix.






SunOS 5.11           Last change: 2 Mar 2007                    1






mediaLib Library Functions       mlibMatrixMaximumMagU8C(3MLIB)



     m      Number of rows in the source matrix


     n      Number of columns in the source matrix


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
     mlibMatrixMinimumMagU8C(3MLIB),
     mlibVectorMaximumMagU8C(3MLIB),
     mlibVectorMinimumMagU8C(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 ™