Home
last modified time | relevance | path

Searched refs:square_mat (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/firmware/os/algos/common/math/
Dmat.c559 float matMaxDiagonalElement(const float *square_mat, size_t n) { in matMaxDiagonalElement() argument
560 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() argument
575 CHRE_ASSERT_NOT_NULL(square_mat); in matAddConstantDiagonal()
580 square_mat[i] += u; in matAddConstantDiagonal()
Dmat.h185 float matMaxDiagonalElement(const float *square_mat, size_t n);
190 void matAddConstantDiagonal(float *square_mat, float u, size_t n);