1mlib_MatrixSub_U8_U8_Mod(3MmLeIdBi)aLib Library Functmiloinbs_MatrixSub_U8_U8_Mod(3MLIB)
2
3
4

NAME

6       mlib_MatrixSub_U8_U8_Mod,     mlib_MatrixSub_U8_U8_Sat,    mlib_Matrix‐
7       Sub_U8C_U8C_Mod, mlib_MatrixSub_U8C_U8C_Sat,  mlib_MatrixSub_S8_S8_Mod,
8       mlib_MatrixSub_S8_S8_Sat,    mlib_MatrixSub_S8C_S8C_Mod,   mlib_Matrix‐
9       Sub_S8C_S8C_Sat, mlib_MatrixSub_S16_U8_Mod,  mlib_MatrixSub_S16_U8_Sat,
10       mlib_MatrixSub_S16_S8_Mod,    mlib_MatrixSub_S16_S8_Sat,   mlib_Matrix‐
11       Sub_S16_S16_Mod,        mlib_MatrixSub_S16_S16_Sat,        mlib_Matrix‐
12       Sub_S16C_U8C_Mod,       mlib_MatrixSub_S16C_U8C_Sat,       mlib_Matrix‐
13       Sub_S16C_S8C_Mod,       mlib_MatrixSub_S16C_S8C_Sat,       mlib_Matrix‐
14       Sub_S16C_S16C_Mod,      mlib_MatrixSub_S16C_S16C_Sat,      mlib_Matrix‐
15       Sub_S32_S16_Mod,        mlib_MatrixSub_S32_S16_Sat,        mlib_Matrix‐
16       Sub_S32_S32_Mod,        mlib_MatrixSub_S32_S32_Sat,        mlib_Matrix‐
17       Sub_S32C_S16C_Mod,      mlib_MatrixSub_S32C_S16C_Sat,      mlib_Matrix‐
18       Sub_S32C_S32C_Mod, mlib_MatrixSub_S32C_S32C_Sat - matrix subtraction
19

SYNOPSIS

21       cc [ flag... ] file... -lmlib [ library... ]
22       #include <mlib.h>
23
24       mlib_status mlib_MatrixSub_U8_U8_Mod(mlib_u8 *z, const mlib_u8 *x,
25            const mlib_u8 *y, mlib_s32 m, mlib_s32 n);
26
27
28       mlib_status mlib_MatrixSub_U8_U8_Sat(mlib_u8 *z, const mlib_u8 *x,
29            const mlib_u8 *y, mlib_s32 m, mlib_s32 n);
30
31
32       mlib_status mlib_MatrixSub_U8C_U8C_Mod(mlib_u8 *z, const mlib_u8 *x,
33            const mlib_u8 *y, mlib_s32 m, mlib_s32 n);
34
35
36       mlib_status mlib_MatrixSub_U8C_U8C_Sat(mlib_u8 *z, const mlib_u8 *x,
37            const mlib_u8 *y, mlib_s32 m, mlib_s32 n);
38
39
40       mlib_status mlib_MatrixSub_S8_S8_Mod(mlib_s8 *z, const mlib_s8 *x,
41            const mlib_s8 *y, mlib_s32 m, mlib_s32 n);
42
43
44       mlib_status mlib_MatrixSub_S8_S8_Sat(mlib_s8 *z, const mlib_s8 *x,
45            const mlib_s8 *y, mlib_s32 m, mlib_s32 n);
46
47
48       mlib_status mlib_MatrixSub_S8C_S8C_Mod(mlib_s8 *z, const mlib_s8 *x,
49            const mlib_s8 *y, mlib_s32 m, mlib_s32 n);
50
51
52       mlib_status mlib_MatrixSub_S8C_S8C_Sat(mlib_s8 *z, const mlib_s8 *x,
53            const mlib_s8 *y, mlib_s32 m, mlib_s32 n);
54
55
56       mlib_status mlib_MatrixSub_S16_U8_Mod(mlib_s16 *z, const mlib_u8 *x,
57            const mlib_u8 *y, mlib_s32 m, mlib_s32 n);
58
59
60       mlib_status mlib_MatrixSub_S16_U8_Sat(mlib_s16 *z, const mlib_u8 *x,
61            const mlib_u8 *y, mlib_s32 m, mlib_s32 n);
62
63
64       mlib_status mlib_MatrixSub_S16_S8_Mod(mlib_s16 *z, const mlib_s8 *x,
65            const mlib_s8 *y, mlib_s32 m, mlib_s32 n);
66
67
68       mlib_status mlib_MatrixSub_S16_S8_Sat(mlib_s16 *z, const mlib_s8 *x,
69            const mlib_s8 *y, mlib_s32 m, mlib_s32 n);
70
71
72       mlib_status mlib_MatrixSub_S16_S16_Mod(mlib_s16 *z, const mlib_s16 *x,
73            const mlib_s16 *y, mlib_s32 m, mlib_s32 n);
74
75
76       mlib_status mlib_MatrixSub_S16_S16_Sat(mlib_s16 *z, const mlib_s16 *x,
77            const mlib_s16 *y, mlib_s32 m, mlib_s32 n);
78
79
80       mlib_status mlib_MatrixSub_S16C_U8C_Mod(mlib_s16 *z, const mlib_u8 *x,
81            const mlib_u8 *y, mlib_s32 m, mlib_s32 n);
82
83
84       mlib_status mlib_MatrixSub_S16C_U8C_Sat(mlib_s16 *z, const mlib_u8 *x,
85            const mlib_u8 *y, mlib_s32 m, mlib_s32 n);
86
87
88       mlib_status mlib_MatrixSub_S16C_S8C_Mod(mlib_s16 *z, const mlib_s8 *x,
89            const mlib_s8 *y, mlib_s32 m, mlib_s32 n);
90
91
92       mlib_status mlib_MatrixSub_S16C_S8C_Sat(mlib_s16 *z, const mlib_s8 *x,
93            const mlib_s8 *y, mlib_s32 m, mlib_s32 n);
94
95
96       mlib_status mlib_MatrixSub_S16C_S16C_Mod(mlib_s16 *z, const mlib_s16 *x,
97            const mlib_s16 *y, mlib_s32 m, mlib_s32 n);
98
99
100       mlib_status mlib_MatrixSub_S16C_S16C_Sat(mlib_s16 *z, const mlib_s16 *x,
101            const mlib_s16 *y, mlib_s32 m, mlib_s32 n);
102
103
104       mlib_status mlib_MatrixSub_S32_S16_Mod(mlib_s32 *z, const mlib_s16 *x,
105            const mlib_s16 *y, mlib_s32 m, mlib_s32 n);
106
107
108       mlib_status mlib_MatrixSub_S32_S16_Sat(mlib_s32 *z, const mlib_s16 *x,
109            const mlib_s16 *y, mlib_s32 m, mlib_s32 n);
110
111
112       mlib_status mlib_MatrixSub_S32_S32_Mod(mlib_s32 *z, const mlib_s32 *x,
113            const mlib_s32 *y, mlib_s32 m, mlib_s32 n);
114
115
116       mlib_status mlib_MatrixSub_S32_S32_Sat(mlib_s32 *z, const mlib_s32 *x,
117            const mlib_s32 *y, mlib_s32 m, mlib_s32 n);
118
119
120       mlib_status mlib_MatrixSub_S32C_S16C_Mod(mlib_s32 *z, const mlib_s16 *x,
121            const mlib_s16 *y, mlib_s32 m, mlib_s32 n);
122
123
124       mlib_status mlib_MatrixSub_S32C_S16C_Sat(mlib_s32 *z, const mlib_s16 *x,
125            const mlib_s16 *y, mlib_s32 m, mlib_s32 n);
126
127
128       mlib_status mlib_MatrixSub_S32C_S32C_Mod(mlib_s32 *z, const mlib_s32 *x,
129            const mlib_s32 *y, mlib_s32 m, mlib_s32 n);
130
131
132       mlib_status mlib_MatrixSub_S32C_S32C_Sat(mlib_s32 *z, const mlib_s32 *x,
133            const mlib_s32 *y, mlib_s32 m, mlib_s32 n);
134
135

DESCRIPTION

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

PARAMETERS

151       Each of the functions takes the following arguments:
152
153       z    Pointer to the destination matrix.
154
155
156       x    Pointer to the first source matrix.
157
158
159       y    Pointer to the second source matrix.
160
161
162       m    Number of rows in the matrices.
163
164
165       n    Number of columns in the matrices.
166
167

RETURN VALUES

169       Each  of the functions returns MLIB_SUCCESS if successful. Otherwise it
170       returns MLIB_FAILURE.
171

ATTRIBUTES

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

SEE ALSO

187       mlib_MatrixSub_U8_Mod(3MLIB), attributes(5)
188
189
190
191SunOS 5.11                        2 Mar 2007   mlib_MatrixSub_U8_U8_Mod(3MLIB)
Impressum