1mlib_VectorMerge_U8C_U8(3MLmIeBd)iaLib Library Functimolnisb_VectorMerge_U8C_U8(3MLIB)
2
3
4
6 mlib_VectorMerge_U8C_U8, mlib_VectorMerge_S8C_S8, mlib_Vec‐
7 torMerge_S16C_S16, mlib_VectorMerge_S32C_S32 - vertor merge
8
10 cc [ flag... ] file... -lmlib [ library... ]
11 #include <mlib.h>
12
13 mlib_status mlib_VectorMerge_U8C_U8(mlib_u8 *z, const mlib_u8 *r,
14 const mlib_u8 *i, mlib_s32 n);
15
16
17 mlib_status mlib_VectorMerge_S8C_S8(mlib_s8 *z, const mlib_s8 *r,
18 const mlib_s8 *i, mlib_s32 n);
19
20
21 mlib_status mlib_VectorMerge_S16C_S16(mlib_s16 *z, const mlib_s16 *r,
22 const mlib_s16 *i, mlib_s32 n);
23
24
25 mlib_status mlib_VectorMerge_S32C_S32(mlib_s32 *z, const mlib_s32 *r,
26 const mlib_s32 *i, mlib_s32 n);
27
28
30 Each of these functions computes the complex vector from two vectors
31 representing the real and imaginary parts.
32
33
34 The following equation is used:
35
36 z[2*k] = r[k]
37 z[2*k + 1] = i[k]
38
39
40
41 where k = 0, 1, ..., (n - 1).
42
44 Each of the functions takes the following arguments:
45
46 z Pointer to the first complex element of the destination vector.
47 z[2*k] contains the real part, and z[2*k + 1] contains the imagi‐
48 nary part.
49
50
51 r Pointer to the first element of the real part.
52
53
54 i Pointer to the first element of the imaginary part.
55
56
57 n Number of elements in the vectors.
58
59
61 Each of the functions returns MLIB_SUCCESS if successful. Otherwise it
62 returns MLIB_FAILURE.
63
65 See attributes(5) for descriptions of the following attributes:
66
67
68
69
70 ┌─────────────────────────────┬─────────────────────────────┐
71 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
72 ├─────────────────────────────┼─────────────────────────────┤
73 │Interface Stability │Committed │
74 ├─────────────────────────────┼─────────────────────────────┤
75 │MT-Level │MT-Safe │
76 └─────────────────────────────┴─────────────────────────────┘
77
79 mlib_VectorSplit_U8_U8C(3MLIB), attributes(5)
80
81
82
83SunOS 5.11 2 Mar 2007 mlib_VectorMerge_U8C_U8(3MLIB)