1mlib_VectorMinimumMag_U8C(3mMeLdIiBa)Lib Library Funcmtliiobn_sVectorMinimumMag_U8C(3MLIB)
2
3
4

NAME

6       mlib_VectorMinimumMag_U8C,  mlib_VectorMinimumMag_S8C, mlib_VectorMini‐
7       mumMag_S16C,  mlib_VectorMinimumMag_S32C,   mlib_VectorMinimumMag_F32C,
8       mlib_VectorMinimumMag_D64C  -  find  the first element with the minimum
9       magnitude in a vector
10

SYNOPSIS

12       cc [ flag... ] file... -lmlib [ library... ]
13       #include <mlib.h>
14
15       mlib_status mlib_VectorMinimumMag_U8C(mlib_u8 *min, const mlib_u8 *x,
16            mlib_s32 n);
17
18
19       mlib_status mlib_VectorMinimumMag_S8C(mlib_s8 *min, const mlib_s8 *x,
20            mlib_s32 n);
21
22
23       mlib_status mlib_VectorMinimumMag_S16C(mlib_s16 *min, const mlib_s16 *x,
24            mlib_s32 n);
25
26
27       mlib_status mlib_VectorMinimumMag_S32C(mlib_s32 *min, const mlib_s32 *x,
28            mlib_s32 n);
29
30
31       mlib_status mlib_VectorMinimumMag_F32C(mlib_f32 *min, const mlib_f32 *x,
32            mlib_s32 n);
33
34
35       mlib_status mlib_VectorMinimumMag_D64C(mlib_d64 *min, const mlib_d64 *x,
36            mlib_s32 n);
37
38

DESCRIPTION

40       Each of these functions finds the first element with the minimum magni‐
41       tude  in a complex vector, then puts the real and imaginary parts of it
42       into min[0] and min[1], respectively.
43

PARAMETERS

45       Each of the functions takes the following arguments:
46
47       min    Pointer to the first element with the minimum magnitude.
48
49
50       x      Pointer to the first element of the source vector.
51
52
53       n      Number of elements in the source vector.
54
55

RETURN VALUES

57       Each of the functions returns MLIB_SUCCESS if successful. Otherwise  it
58       returns MLIB_FAILURE.
59

ATTRIBUTES

61       See attributes(5) for descriptions of the following attributes:
62
63
64
65
66       ┌─────────────────────────────┬─────────────────────────────┐
67       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
68       ├─────────────────────────────┼─────────────────────────────┤
69       │Interface Stability          │Committed                    │
70       ├─────────────────────────────┼─────────────────────────────┤
71       │MT-Level                     │MT-Safe                      │
72       └─────────────────────────────┴─────────────────────────────┘
73

SEE ALSO

75       mlib_VectorMaximumMag_U8C(3MLIB),     mlib_MatrixMaximumMag_U8C(3MLIB),
76       mlib_MatrixMinimumMag_U8C(3MLIB), attributes(5)
77
78
79
80SunOS 5.11                        2 Mar 2007  mlib_VectorMinimumMag_U8C(3MLIB)
Impressum