1mlib_MatrixTranspose_U8_U8(m3eMdLiIaBL)ib Library Funmcltiibo_nMsatrixTranspose_U8_U8(3MLIB)
2
3
4
6 mlib_MatrixTranspose_U8_U8, mlib_MatrixTranspose_U8C_U8C, mlib_Matrix‐
7 Transpose_S8_S8, mlib_MatrixTranspose_S8C_S8C, mlib_MatrixTrans‐
8 pose_S16_S16, mlib_MatrixTranspose_S16C_S16C, mlib_MatrixTrans‐
9 pose_S32_S32, mlib_MatrixTranspose_S32C_S32C - matrix transpose
10
12 cc [ flag... ] file... -lmlib [ library... ]
13 #include <mlib.h>
14
15 mlib_status mlib_MatrixTranspose_U8_U8(mlib_u8 *z,
16 const mlib_u8 *x, mlib_s32 m, mlib_s32 n);
17
18
19 mlib_status mlib_MatrixTranspose_U8C_U8C(mlib_u8 *z,
20 const mlib_u8 *x, mlib_s32 m, mlib_s32 n);
21
22
23 mlib_status mlib_MatrixTranspose_S8_S8(mlib_s8 *z,
24 const mlib_s8 *x, mlib_s32 m, mlib_s32 n);
25
26
27 mlib_status mlib_MatrixTranspose_S8C_S8C(mlib_s8 *z,
28 const mlib_s8 *x, mlib_s32 m, mlib_s32 n);
29
30
31 mlib_status mlib_MatrixTranspose_S16_S16(mlib_s16 *z,
32 const mlib_s16 *x, mlib_s32 m, mlib_s32 n);
33
34
35 mlib_status mlib_MatrixTranspose_S16C_S16C(mlib_s16 *z,
36 const mlib_s16 *x, mlib_s32 m, mlib_s32 n);
37
38
39 mlib_status mlib_MatrixTranspose_S32_S32(mlib_s32 *z,
40 const mlib_s32 *x, mlib_s32 m, mlib_s32 n);
41
42
43 mlib_status mlib_MatrixTranspose_S32C_S32C(mlib_s32 *z,
44 const mlib_s32 *x, mlib_s32 m, mlib_s32 n);
45
46
48 Each of these functions computes the transpose of the input matrix.
49
50
51 For real data, the following equation is used:
52
53 z[j*m + i] = x[i*n + j]
54
55
56
57 where i = 0, 1, ..., (m - 1); j = 0, 1, ..., (n - 1).
58
59
60 For complex data, the following equation is used:
61
62 z[2*(j*m + i)] = x[2*(i*n + j)]
63 z[2*(j*m + i) + 1] = x[2*(i*n + j) + 1]
64
65
66
67 where i = 0, 1, ..., (m - 1); j = 0, 1, ..., (n - 1).
68
70 Each of the functions takes the following arguments:
71
72 z Pointer to the destination matrix. The output data type must be
73 the same as the input data type.
74
75
76 x Pointer to the source matrix.
77
78
79 m Number of rows in the source matrix.
80
81
82 n Number of columns in the source matrix.
83
84
86 Each of the functions returns MLIB_SUCCESS if successful. Otherwise it
87 returns MLIB_FAILURE.
88
90 See attributes(5) for descriptions of the following attributes:
91
92
93
94
95 ┌─────────────────────────────┬─────────────────────────────┐
96 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
97 ├─────────────────────────────┼─────────────────────────────┤
98 │Interface Stability │Committed │
99 ├─────────────────────────────┼─────────────────────────────┤
100 │MT-Level │MT-Safe │
101 └─────────────────────────────┴─────────────────────────────┘
102
104 mlib_MatrixTranspose_U8(3MLIB), attributes(5)
105
106
107
108SunOS 5.11 2 Mar 2007 mlib_MatrixTranspose_U8_U8(3MLIB)