Home
last modified time | relevance | path

Searched refs:NUM_COLS (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/math/include/math/
Dmat2.h91 static constexpr size_t NUM_COLS = ROW_SIZE; variable
108 col_type m_value[NUM_COLS];
115 assert(column < NUM_COLS);
121 assert(column < NUM_COLS);
284 for (size_t col = 0; col < NUM_COLS; ++col) { in TMat22()
301 for (size_t col = 0; col < NUM_COLS; ++col) { in TMat22()
325 for (size_t col = 0; col < TMat22<T>::NUM_COLS; ++col) {
335 for (size_t col = 0; col < TMat22<T>::NUM_COLS; ++col) {
DTMatHelpers.h235 static_assert(MATRIX::NUM_ROWS == MATRIX::NUM_COLS, "only square matrices can be inverted"); in inverse()
248 static_assert(MATRIX_A::NUM_COLS == MATRIX_B::NUM_ROWS, in multiply()
250 static_assert(MATRIX_R::NUM_COLS == MATRIX_B::NUM_COLS, in multiply()
256 for (size_t col = 0; col < MATRIX_R::NUM_COLS; ++col) { in multiply()
266 static_assert(MATRIX::NUM_COLS == MATRIX::NUM_ROWS, "transpose only supports square matrices"); in transpose()
268 for (size_t col = 0; col < MATRIX::NUM_COLS; ++col) { in transpose()
279 static_assert(MATRIX::NUM_COLS == MATRIX::NUM_ROWS, "trace only defined for square matrices"); in trace()
281 for (size_t col = 0; col < MATRIX::NUM_COLS; ++col) { in trace()
290 static_assert(MATRIX::NUM_COLS == MATRIX::NUM_ROWS, "diag only defined for square matrices"); in diag()
292 for (size_t col = 0; col < MATRIX::NUM_COLS; ++col) { in diag()
[all …]
Dmat3.h98 static constexpr size_t NUM_COLS = ROW_SIZE; variable
115 col_type m_value[NUM_COLS];
122 assert(column < NUM_COLS);
128 assert(column < NUM_COLS);
314 for (size_t col = 0; col < NUM_COLS; ++col) { in TMat33()
332 for (size_t col = 0; col < NUM_COLS; ++col) { in TMat33()
378 for (size_t col = 0; col < TMat33<T>::NUM_COLS; ++col) {
388 for (size_t col = 0; col < TMat33<T>::NUM_COLS; ++col) {
Dmat4.h104 static constexpr size_t NUM_COLS = ROW_SIZE; variable
121 col_type m_value[NUM_COLS];
128 assert(column < NUM_COLS);
134 assert(column < NUM_COLS);
364 for (size_t col = 0; col < NUM_COLS; ++col) { in TMat44()
385 for (size_t col = 0; col < NUM_COLS; ++col) { in TMat44()
527 for (size_t col = 0; col < TMat44<T>::NUM_COLS; ++col) {
544 for (size_t col = 0; col < TMat44<T>::NUM_COLS; ++col) {
/frameworks/native/libs/math/tests/
Dmat_test.cpp546 for (size_t i = 0; i < MATRIX::NUM_COLS; ++i) { in verifyOrthonormal()