1mlib_VectorSub_U8_U8_Mod(3MmLeIdBi)aLib Library Functmiloinbs_VectorSub_U8_U8_Mod(3MLIB)
2
3
4

NAME

6       mlib_VectorSub_U8_U8_Mod,     mlib_VectorSub_U8_U8_Sat,    mlib_Vector‐
7       Sub_U8C_U8C_Mod, mlib_VectorSub_U8C_U8C_Sat,  mlib_VectorSub_S8_S8_Mod,
8       mlib_VectorSub_S8_S8_Sat,    mlib_VectorSub_S8C_S8C_Mod,   mlib_Vector‐
9       Sub_S8C_S8C_Sat, mlib_VectorSub_S16_U8_Mod,  mlib_VectorSub_S16_U8_Sat,
10       mlib_VectorSub_S16_S8_Mod,    mlib_VectorSub_S16_S8_Sat,   mlib_Vector‐
11       Sub_S16_S16_Mod,        mlib_VectorSub_S16_S16_Sat,        mlib_Vector‐
12       Sub_S16C_U8C_Mod,       mlib_VectorSub_S16C_U8C_Sat,       mlib_Vector‐
13       Sub_S16C_S8C_Mod,       mlib_VectorSub_S16C_S8C_Sat,       mlib_Vector‐
14       Sub_S16C_S16C_Mod,      mlib_VectorSub_S16C_S16C_Sat,      mlib_Vector‐
15       Sub_S32_S16_Mod,        mlib_VectorSub_S32_S16_Sat,        mlib_Vector‐
16       Sub_S32_S32_Mod,        mlib_VectorSub_S32_S32_Sat,        mlib_Vector‐
17       Sub_S32C_S16C_Mod,      mlib_VectorSub_S32C_S16C_Sat,      mlib_Vector‐
18       Sub_S32C_S32C_Mod, mlib_VectorSub_S32C_S32C_Sat - vector subtraction
19

SYNOPSIS

21       cc [ flag... ] file... -lmlib [ library... ]
22       #include <mlib.h>
23
24       mlib_status mlib_VectorSub_U8_U8_Mod(mlib_u8 *z,
25            const mlib_u8 *x, const mlib_u8 *y, mlib_s32 n);
26
27
28       mlib_status mlib_VectorSub_U8_U8_Sat(mlib_u8 *z,
29            const mlib_u8 *x, const mlib_u8 *y, mlib_s32 n);
30
31
32       mlib_status mlib_VectorSub_U8C_U8C_Mod(mlib_u8 *z,
33            const mlib_u8 *x, const mlib_u8 *y, mlib_s32 n);
34
35
36       mlib_status mlib_VectorSub_U8C_U8C_Sat(mlib_u8 *z,
37            const mlib_u8 *x, const mlib_u8 *y, mlib_s32 n);
38
39
40       mlib_status mlib_VectorSub_S8_S8_Mod(mlib_s8 *z,
41            const mlib_s8 *x, const mlib_s8 *y, mlib_s32 n);
42
43
44       mlib_status mlib_VectorSub_S8_S8_Sat(mlib_s8 *z,
45            const mlib_s8 *x, const mlib_s8 *y, mlib_s32 n);
46
47
48       mlib_status mlib_VectorSub_S8C_S8C_Mod(mlib_s8 *z,
49            const mlib_s8 *x, const mlib_s8 *y, mlib_s32 n);
50
51
52       mlib_status mlib_VectorSub_S8C_S8C_Sat(mlib_s8 *z,
53            const mlib_s8 *x, const mlib_s8 *y, mlib_s32 n);
54
55
56       mlib_status mlib_VectorSub_S16_U8_Mod(mlib_s16 *z,
57            const mlib_u8 *x, const mlib_u8 *y, mlib_s32 n);
58
59
60       mlib_status mlib_VectorSub_S16_U8_Sat(mlib_s16 *z,
61            const mlib_u8 *x, const mlib_u8 *y, mlib_s32 n);
62
63
64       mlib_status mlib_VectorSub_S16_S8_Mod(mlib_s16 *z,
65            const mlib_s8 *x, const mlib_s8 *y, mlib_s32 n);
66
67
68       mlib_status mlib_VectorSub_S16_S8_Sat(mlib_s16 *z,
69            const mlib_s8 *x, const mlib_s8 *y, mlib_s32 n);
70
71
72       mlib_status mlib_VectorSub_S16_S16_Mod(mlib_s16 *z,
73            const mlib_s16 *x, const mlib_s16 *y, mlib_s32 n);
74
75
76       mlib_status mlib_VectorSub_S16_S16_Sat(mlib_s16 *z,
77            const mlib_s16 *x, const mlib_s16 *y, mlib_s32 n);
78
79
80       mlib_status mlib_VectorSub_S16C_U8C_Mod(mlib_s16 *z,
81            const mlib_u8 *x, const mlib_u8 *y, mlib_s32 n);
82
83
84       mlib_status mlib_VectorSub_S16C_U8C_Sat(mlib_s16 *z,
85            const mlib_u8 *x, const mlib_u8 *y, mlib_s32 n);
86
87
88       mlib_status mlib_VectorSub_S16C_S8C_Mod(mlib_s16 *z,
89            const mlib_s8 *x, const mlib_s8 *y, mlib_s32 n);
90
91
92       mlib_status mlib_VectorSub_S16C_S8C_Sat(mlib_s16 *z,
93            const mlib_s8 *x, const mlib_s8 *y, mlib_s32 n);
94
95
96       mlib_status mlib_VectorSub_S16C_S16C_Mod(mlib_s16 *z,
97            const mlib_s16 *x, const mlib_s16 *y, mlib_s32 n);
98
99
100       mlib_status mlib_VectorSub_S16C_S16C_Sat(mlib_s16 *z,
101            const mlib_s16 *x, const mlib_s16 *y, mlib_s32 n);
102
103
104       mlib_status mlib_VectorSub_S32_S16_Mod(mlib_s32 *z,
105            const mlib_s16 *x, const mlib_s16 *y, mlib_s32 n);
106
107
108       mlib_status mlib_VectorSub_S32_S16_Sat(mlib_s32 *z,
109            const mlib_s16 *x, const mlib_s16 *y, mlib_s32 n);
110
111
112       mlib_status mlib_VectorSub_S32_S32_Mod(mlib_s32 *z,
113            const mlib_s32 *x, const mlib_s32 *y, mlib_s32 n);
114
115
116       mlib_status mlib_VectorSub_S32_S32_Sat(mlib_s32 *z,
117            const mlib_s32 *x, const mlib_s32 *y, mlib_s32 n);
118
119
120       mlib_status mlib_VectorSub_S32C_S16C_Mod(mlib_s32 *z,
121            const mlib_s16 *x, const mlib_s16 *y, mlib_s32 n);
122
123
124       mlib_status mlib_VectorSub_S32C_S16C_Sat(mlib_s32 *z,
125            const mlib_s16 *x, const mlib_s16 *y, mlib_s32 n);
126
127
128       mlib_status mlib_VectorSub_S32C_S32C_Mod(mlib_s32 *z,
129            const mlib_s32 *x, const mlib_s32 *y, mlib_s32 n);
130
131
132       mlib_status mlib_VectorSub_S32C_S32C_Sat(mlib_s32 *z,
133            const mlib_s32 *x, const mlib_s32 *y, mlib_s32 n);
134
135

DESCRIPTION

137       Each of these functions subtracts one vector from another vector.
138
139
140       It uses the following equation:
141
142         z[i] = x[i] - y[i]
143
144
145
146       where  i  =  0, 1, ..., (n - 1) for real data; i = 0, 1, ..., (2*n - 1)
147       for complex data.
148

PARAMETERS

150       Each of the functions takes the following arguments:
151
152       z    Pointer to the first element of the destination vector.
153
154
155       x    Pointer to the first element of the first source vector.
156
157
158       y    Pointer to the first element of the second source vector.
159
160
161       n    Number of elements in the vectors.
162
163

RETURN VALUES

165       Each of the functions returns MLIB_SUCCESS if successful. Otherwise  it
166       returns MLIB_FAILURE.
167

ATTRIBUTES

169       See attributes(5) for descriptions of the following attributes:
170
171
172
173
174       ┌─────────────────────────────┬─────────────────────────────┐
175       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
176       ├─────────────────────────────┼─────────────────────────────┤
177       │Interface Stability          │Committed                    │
178       ├─────────────────────────────┼─────────────────────────────┤
179       │MT-Level                     │MT-Safe                      │
180       └─────────────────────────────┴─────────────────────────────┘
181

SEE ALSO

183       mlib_VectorSub_U8_Mod(3MLIB), attributes(5)
184
185
186
187SunOS 5.11                        2 Mar 2007   mlib_VectorSub_U8_U8_Mod(3MLIB)
Impressum