Searched refs:square_mat (Results 1 – 2 of 2) sorted by relevance
185 float matMaxDiagonalElement(const float *square_mat, size_t n);190 void matAddConstantDiagonal(float *square_mat, float u, size_t n);
558 float matMaxDiagonalElement(const float *square_mat, size_t n) { in matMaxDiagonalElement() argument559 ASSERT_NOT_NULL(square_mat); in matMaxDiagonalElement()562 float max = square_mat[0]; in matMaxDiagonalElement()566 if (square_mat[i] > max) { in matMaxDiagonalElement()567 max = square_mat[i]; in matMaxDiagonalElement()573 void matAddConstantDiagonal(float *square_mat, float u, size_t n) { in matAddConstantDiagonal() argument574 ASSERT_NOT_NULL(square_mat); in matAddConstantDiagonal()579 square_mat[i] += u; in matAddConstantDiagonal()