1mlib_VectorConjSymExt_S8C_Sm8eCd_iSaaLti(b3MLLiIbBrm)alriyb_FVuenccttoiroCnosnjSymExt_S8C_S8C_Sat(3MLIB)
2
3
4
6 mlib_VectorConjSymExt_S8C_S8C_Sat, mlib_VectorConjSymExt_S16C_S16C_Sat,
7 mlib_VectorConjSymExt_S32C_S32C_Sat - vector conjugate-symmetric exten‐
8 sion
9
11 cc [ flag... ] file... -lmlib [ library... ]
12 #include <mlib.h>
13
14 mlib_status mlib_VectorConjSymExt_S8C_S8C_Sat(mlib_s8 *z,
15 const mlib_s8 *x, mlib_s32 n);
16
17
18 mlib_status mlib_VectorConjSymExt_S16C_S16C_Sat(mlib_s16 *z,
19 const mlib_s16 *x, mlib_s32 n);
20
21
22 mlib_status mlib_VectorConjSymExt_S32C_S32C_Sat(mlib_s32 *z,
23 const mlib_s32 *x, mlib_s32 n);
24
25
27 Each of these functions computes the complex conjugate extension of a
28 complex vector.
29
30
31 The source and destination vectors must be in the same data type.
32
33
34 When n is even, the following equation is used:
35
36 z[2*i] = x[2*i]
37 z[2*i + 1] = -x[2*i + 1]
38
39
40
41 for i = 0, 1, ..., (n - 1).
42
43 z[2*i] = x[2*(2*n - 1 - i)]
44 z[2*i + 1] = -x[2*(2*n - 1 - i) + 1]
45
46
47
48 for i = n, (n + 1), ..., (2*n - 1).
49
50
51 When n is odd, the following equation is used:
52
53 z[2*i] = x[2*i]
54 z[2*i + 1] = -x[2*i + 1]
55
56
57
58 for i = 0, 1, ..., (n - 1).
59
60 z[2*i] = x[2*(2*n - 2 - i)]
61 z[2*i + 1] = -x[2*(2*n - 2 - i) + 1]
62
63
64
65 for i = n, (n + 1), ..., (2*n - 2).
66
68 Each of the functions takes the following arguments:
69
70 z Pointer to the first element of the destination vector.
71
72
73 x Pointer to the first element of the source vector.
74
75
76 n Number of elements in the source vector.
77
78
80 Each of the functions returns MLIB_SUCCESS if successful. Otherwise it
81 returns MLIB_FAILURE.
82
84 See attributes(5) for descriptions of the following attributes:
85
86
87
88
89 ┌─────────────────────────────┬─────────────────────────────┐
90 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
91 ├─────────────────────────────┼─────────────────────────────┤
92 │Interface Stability │Committed │
93 ├─────────────────────────────┼─────────────────────────────┤
94 │MT-Level │MT-Safe │
95 └─────────────────────────────┴─────────────────────────────┘
96
98 attributes(5)
99
100
101
102SunOS 5.11 2 Marml2i0b0_7VectorConjSymExt_S8C_S8C_Sat(3MLIB)