Searched refs:square_mat (Results 1 – 2 of 2) sorted by relevance
559 float matMaxDiagonalElement(const float *square_mat, size_t n) { in matMaxDiagonalElement() argument560 CHRE_ASSERT_NOT_NULL(square_mat); in matMaxDiagonalElement()563 float max = square_mat[0]; in matMaxDiagonalElement()567 if (square_mat[i] > max) { in matMaxDiagonalElement()568 max = square_mat[i]; in matMaxDiagonalElement()574 void matAddConstantDiagonal(float *square_mat, float u, size_t n) { in matAddConstantDiagonal() argument575 CHRE_ASSERT_NOT_NULL(square_mat); in matAddConstantDiagonal()580 square_mat[i] += u; in matAddConstantDiagonal()
185 float matMaxDiagonalElement(const float *square_mat, size_t n);190 void matAddConstantDiagonal(float *square_mat, float u, size_t n);