1mlib_MatrixMaximumMag_U8C(3mMeLdIiBa)Lib Library Funcmtliiobn_sMatrixMaximumMag_U8C(3MLIB)
2
3
4

NAME

6       mlib_MatrixMaximumMag_U8C,  mlib_MatrixMaximumMag_S8C, mlib_MatrixMaxi‐
7       mumMag_S16C,  mlib_MatrixMaximumMag_S32C,   mlib_MatrixMaximumMag_F32C,
8       mlib_MatrixMaximumMag_D64C  -  find  the first element with the maximum
9       magnitude in a matrix
10

SYNOPSIS

12       cc [ flag... ] file... -lmlib [ library... ]
13       #include <mlib.h>
14
15       mlib_status mlib_MatrixMaximumMag_U8C(mlib_u8 *max, const mlib_u8 *x,
16            mlib_s32 m, mlib_s32 n);
17
18
19       mlib_status mlib_MatrixMaximumMag_S8C(mlib_s8 *max, const mlib_s8 *x,
20            mlib_s32 m, mlib_s32 n);
21
22
23       mlib_status mlib_MatrixMaximumMag_S16C(mlib_s16 *max, const mlib_s16 *x,
24            mlib_s32 m, mlib_s32 n);
25
26
27       mlib_status mlib_MatrixMaximumMag_S32C(mlib_s32 *max, const mlib_s32 *x,
28            mlib_s32 m, mlib_s32 n);
29
30
31       mlib_status mlib_MatrixMaximumMag_F32C(mlib_f32 *max, const mlib_f32 *x,
32            mlib_s32 m, mlib_s32 n);
33
34
35       mlib_status mlib_MatrixMaximumMag_D64C(mlib_d64 *max, const mlib_d64 *x,
36            mlib_s32 m, mlib_s32 n);
37
38

DESCRIPTION

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

PARAMETERS

45       Each of the functions takes the following arguments:
46
47       max    Pointer to the first element with the maximum magnitude
48
49
50       x      Pointer to the first element of the source matrix.
51
52
53       m      Number of rows in the source matrix
54
55
56       n      Number of columns in the source matrix
57
58

RETURN VALUES

60       Each of the functions returns MLIB_SUCCESS if successful. Otherwise  it
61       returns MLIB_FAILURE.
62

ATTRIBUTES

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

SEE ALSO

78       mlib_MatrixMinimumMag_U8C(3MLIB),     mlib_VectorMaximumMag_U8C(3MLIB),
79       mlib_VectorMinimumMag_U8C(3MLIB), attributes(5)
80
81
82
83SunOS 5.11                        2 Mar 2007  mlib_MatrixMaximumMag_U8C(3MLIB)
Impressum