1mlib_MatrixMinimum_U8(3MLIBm)ediaLib Library Functionmslib_MatrixMinimum_U8(3MLIB)
2
3
4

NAME

6       mlib_MatrixMinimum_U8,  mlib_MatrixMinimum_S8,  mlib_MatrixMinimum_S16,
7       mlib_MatrixMinimum_S32, mlib_MatrixMinimum_F32,  mlib_MatrixMinimum_D64
8       - find the minimum value in a matrix
9

SYNOPSIS

11       cc [ flag... ] file... -lmlib [ library... ]
12       #include <mlib.h>
13
14       mlib_status mlib_MatrixMinimum_U8(mlib_u8 *min, const mlib_u8 *x,
15            mlib_s32 m, mlib_s32 n);
16
17
18       mlib_status mlib_MatrixMinimum_S8(mlib_s8 *min, const mlib_s8 *x,
19            mlib_s32 m, mlib_s32 n);
20
21
22       mlib_status mlib_MatrixMinimum_S16(mlib_s16 *min, const mlib_s16 *x,
23            mlib_s32 m, mlib_s32 n);
24
25
26       mlib_status mlib_MatrixMinimum_S32(mlib_s32 *min, const mlib_s32 *x,
27            mlib_s32 m, mlib_s32 n);
28
29
30       mlib_status mlib_MatrixMinimum_F32(mlib_f32 *min, const mlib_f32 *x,
31            mlib_s32 m, mlib_s32 n);
32
33
34       mlib_status mlib_MatrixMinimum_D64(mlib_d64 *min, const mlib_d64 *x,
35            mlib_s32 m, mlib_s32 n);
36
37

DESCRIPTION

39       Each  of  these  functions finds the minimum value of all elements in a
40       matrix.
41
42
43       It uses the following equation:
44
45         min[0] = MIN{ x[i]  i = 0, 1, ..., (m*n - 1) }
46
47

PARAMETERS

49       Each of the functions takes the following arguments:
50
51       min    Pointer to the minimum value.
52
53
54       x      Pointer to the first element of the source matrix.
55
56
57       m      Number of rows in the source matrix.
58
59
60       n      Number of columns in the source matrix.
61
62

RETURN VALUES

64       Each of the functions returns MLIB_SUCCESS if successful. Otherwise  it
65       returns MLIB_FAILURE.
66

ATTRIBUTES

68       See attributes(5) for descriptions of the following attributes:
69
70
71
72
73       ┌─────────────────────────────┬─────────────────────────────┐
74       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
75       ├─────────────────────────────┼─────────────────────────────┤
76       │Interface Stability          │Committed                    │
77       ├─────────────────────────────┼─────────────────────────────┤
78       │MT-Level                     │MT-Safe                      │
79       └─────────────────────────────┴─────────────────────────────┘
80

SEE ALSO

82       mlib_MatrixMaximum_U8(3MLIB),  mlib_VectorMaximum_U8(3MLIB),  mlib_Vec‐
83       torMinimum_U8(3MLIB), attributes(5)
84
85
86
87SunOS 5.11                        2 Mar 2007      mlib_MatrixMinimum_U8(3MLIB)
Impressum