32#include "NE10_types.h"
35ne10_result_t ne10_identitymat_2x2f_c (ne10_mat2x2f_t * dst, ne10_uint32_t count)
37 ne10_mat2x2f_t *src = dst;
39 NE10_DETMAT_OPERATION_X_C
41 dst[ itr ].c1.r1 = 1.0f;
42 dst[ itr ].c1.r2 = 0.0f;
43 dst[ itr ].c2.r1 = 0.0f;
44 dst[ itr ].c2.r2 = 1.0f;
48ne10_result_t ne10_identitymat_3x3f_c (ne10_mat3x3f_t * dst, ne10_uint32_t count)
50 ne10_mat3x3f_t *src = dst;
52 NE10_DETMAT_OPERATION_X_C
54 dst[ itr ].c1.r1 = 1.0f;
55 dst[ itr ].c1.r2 = 0.0f;
56 dst[ itr ].c1.r3 = 0.0f;
58 dst[ itr ].c2.r1 = 0.0f;
59 dst[ itr ].c2.r2 = 1.0f;
60 dst[ itr ].c2.r3 = 0.0f;
62 dst[ itr ].c3.r1 = 0.0f;
63 dst[ itr ].c3.r2 = 0.0f;
64 dst[ itr ].c3.r3 = 1.0f;
68ne10_result_t ne10_identitymat_4x4f_c (ne10_mat4x4f_t * dst, ne10_uint32_t count)
70 ne10_mat4x4f_t *src = dst;
72 NE10_DETMAT_OPERATION_X_C
74 dst[ itr ].c1.r1 = 1.0f;
75 dst[ itr ].c1.r2 = 0.0f;
76 dst[ itr ].c1.r3 = 0.0f;
77 dst[ itr ].c1.r4 = 0.0f;
79 dst[ itr ].c2.r1 = 0.0f;
80 dst[ itr ].c2.r2 = 1.0f;
81 dst[ itr ].c2.r3 = 0.0f;
82 dst[ itr ].c2.r4 = 0.0f;
84 dst[ itr ].c3.r1 = 0.0f;
85 dst[ itr ].c3.r2 = 0.0f;
86 dst[ itr ].c3.r3 = 1.0f;
87 dst[ itr ].c3.r4 = 0.0f;
89 dst[ itr ].c4.r1 = 0.0f;
90 dst[ itr ].c4.r2 = 0.0f;
91 dst[ itr ].c4.r3 = 0.0f;
92 dst[ itr ].c4.r4 = 1.0f;