Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/algos/common/math/
Dmat.h194 size_t nrows, size_t ncols);
201 size_t nrows, size_t ncols);
208 size_t nrows, size_t ncols);
Dmat.c584 size_t nrows, size_t ncols) { in matTransposeMultiplyMat() argument
590 memset(out, 0, sizeof(float) * ncols * ncols); in matTransposeMultiplyMat()
591 for (i = 0; i < ncols; ++i) { in matTransposeMultiplyMat()
592 for (j = 0; j < ncols; ++j) { in matTransposeMultiplyMat()
596 out[i * ncols + j] = out[j * ncols + i]; in matTransposeMultiplyMat()
599 out[i * ncols + j] = 0; in matTransposeMultiplyMat()
601 out[i * ncols + j] += A[k * ncols + i] * in matTransposeMultiplyMat()
602 A[k * ncols + j]; in matTransposeMultiplyMat()
610 size_t nrows, size_t ncols) { in matMultiplyVec() argument
616 const float *row = &A[i * ncols]; in matMultiplyVec()
[all …]