mediaLib Library Functions mlibMatrixMinimumMagU8C(3MLIB)
NAME
mlibMatrixMinimumMagU8C, mlibMatrixMinimumMagS8C,
mlibMatrixMinimumMagS16C, mlibMatrixMinimumMagS32C,
mlibMatrixMinimumMagF32C, mlibMatrixMinimumMagD64C -
find the first element with the minimum magnitude in a
matrix
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlibstatus mlibMatrixMinimumMagU8C(mlibu8 *min, const mlibu8 *x,
mlibs32 m, mlibs32 n);
mlibstatus mlibMatrixMinimumMagS8C(mlibs8 *min, const mlibs8 *x,
mlibs32 m, mlibs32 n);
mlibstatus mlibMatrixMinimumMagS16C(mlibs16 *min, const mlibs16 *x,
mlibs32 m, mlibs32 n);
mlibstatus mlibMatrixMinimumMagS32C(mlibs32 *min, const mlibs32 *x,
mlibs32 m, mlibs32 n);
mlibstatus mlibMatrixMinimumMagF32C(mlibf32 *min, const mlibf32 *x,
mlibs32 m, mlibs32 n);
mlibstatus mlibMatrixMinimumMagD64C(mlibd64 *min, const mlibd64 *x,
mlibs32 m, mlibs32 n);
DESCRIPTION
Each of these functions finds the first element with the
minimum magnitude in a complex matrix, then puts the real
and imaginary parts of it into min[0] and min[1], respec-
tively.
PARAMETERS
Each of the functions takes the following arguments:
min Pointer to the first element with the minimum magni-
tude.
x Pointer to the first element of the source matrix.
SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions mlibMatrixMinimumMagU8C(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
mlibMatrixMaximumMagU8C(3MLIB),
mlibVectorMaximumMagU8C(3MLIB),
mlibVectorMinimumMagU8C(3MLIB), attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 2
|