Home
last modified time | relevance | path

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

/frameworks/native/libs/math/include/math/
DTMatHelpers.h83 static constexpr unsigned int N = MATRIX::NUM_ROWS; in gaussJordanInverse()
235 static_assert(MATRIX::NUM_ROWS == MATRIX::NUM_COLS, "only square matrices can be inverted"); in inverse()
236 return (MATRIX::NUM_ROWS == 2) ? fastInverse2<MATRIX>(matrix) : in inverse()
237 ((MATRIX::NUM_ROWS == 3) ? fastInverse3<MATRIX>(matrix) : in inverse()
248 static_assert(MATRIX_A::NUM_COLS == MATRIX_B::NUM_ROWS, in multiply()
252 static_assert(MATRIX_R::NUM_ROWS == MATRIX_A::NUM_ROWS, in multiply()
266 static_assert(MATRIX::NUM_COLS == MATRIX::NUM_ROWS, "transpose only supports square matrices"); in transpose()
269 for (size_t row = 0; row < MATRIX::NUM_ROWS; ++row) { in transpose()
279 static_assert(MATRIX::NUM_COLS == MATRIX::NUM_ROWS, "trace only defined for square matrices"); in trace()
290 static_assert(MATRIX::NUM_COLS == MATRIX::NUM_ROWS, "diag only defined for square matrices"); in diag()
[all …]
Dmat2.h90 static constexpr size_t NUM_ROWS = COL_SIZE; variable
302 for (size_t row = 0; row < NUM_ROWS; ++row) { in TMat22()
Dmat3.h97 static constexpr size_t NUM_ROWS = COL_SIZE; variable
333 for (size_t row = 0; row < NUM_ROWS; ++row) { in TMat33()
Dmat4.h103 static constexpr size_t NUM_ROWS = COL_SIZE; variable
386 for (size_t row = 0; row < NUM_ROWS; ++row) { in TMat44()
/frameworks/native/libs/math/tests/
Dmat_test.cpp547 for (size_t j = 0; j < MATRIX::NUM_ROWS; ++j) { in verifyOrthonormal()