MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


mediaLib Library Functions           mlibMatrixMaximumU8(3MLIB)



NAME
     mlibMatrixMaximumU8,                mlibMatrixMaximumS8,
     mlibMatrixMaximumS16,              mlibMatrixMaximumS32,
     mlibMatrixMaximumF32, mlibMatrixMaximumD64  -  find  the
     maximum value in a matrix

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

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


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


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


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


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


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


DESCRIPTION
     Each of these functions finds the maximum value of all  ele-
     ments in a matrix.


     It uses the following equation:

       max[0] = MAX{ x[i]  i = 0, 1, ..., (m*n - 1) }


PARAMETERS
     Each of the functions takes the following arguments:

     max    Pointer to the maximum value.


     x      Pointer to the first element of the source matrix.




SunOS 5.11           Last change: 2 Mar 2007                    1






mediaLib Library Functions           mlibMatrixMaximumU8(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
     mlibMatrixMinimumU8(3MLIB),  mlibVectorMaximumU8(3MLIB),
     mlibVectorMinimumU8(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 ™