MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


mediaLib Library Functions           mlibMatrixMinimumU8(3MLIB)



NAME
     mlibMatrixMinimumU8,                mlibMatrixMinimumS8,
     mlibMatrixMinimumS16,              mlibMatrixMinimumS32,
     mlibMatrixMinimumF32, mlibMatrixMinimumD64  -  find  the
     minimum value in a matrix

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

     mlibstatus mlibMatrixMinimumU8(mlibu8 *min, const mlibu8 *x,
          mlibs32 m, mlibs32 n);


     mlibstatus mlibMatrixMinimumS8(mlibs8 *min, const mlibs8 *x,
          mlibs32 m, mlibs32 n);


     mlibstatus mlibMatrixMinimumS16(mlibs16 *min, const mlibs16 *x,
          mlibs32 m, mlibs32 n);


     mlibstatus mlibMatrixMinimumS32(mlibs32 *min, const mlibs32 *x,
          mlibs32 m, mlibs32 n);


     mlibstatus mlibMatrixMinimumF32(mlibf32 *min, const mlibf32 *x,
          mlibs32 m, mlibs32 n);


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


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


     It uses the following equation:

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


PARAMETERS
     Each of the functions takes the following arguments:

     min    Pointer to the minimum value.


     x      Pointer to the first element of the source matrix.




SunOS 5.11           Last change: 2 Mar 2007                    1






mediaLib Library Functions           mlibMatrixMinimumU8(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
     mlibMatrixMaximumU8(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 ™