Home
last modified time | relevance | path

Searched refs:dim (Results 1 – 9 of 9) sorted by relevance

/device/google/contexthub/firmware/os/algos/common/math/
Dvec.c54 void vecAdd(float *u, const float *v, const float *w, size_t dim) { in vecAdd() argument
59 for (i = 0; i < dim; i++) { in vecAdd()
64 void vecAddInPlace(float *v, const float *w, size_t dim) { in vecAddInPlace() argument
68 for (i = 0; i < dim; i++) { in vecAddInPlace()
73 void vecSub(float *u, const float *v, const float *w, size_t dim) { in vecSub() argument
78 for (i = 0; i < dim; i++) { in vecSub()
83 void vecScalarMul(float *u, const float *v, float c, size_t dim) { in vecScalarMul() argument
87 for (i = 0; i < dim; i++) { in vecScalarMul()
92 void vecScalarMulInPlace(float *v, float c, size_t dim) { in vecScalarMulInPlace() argument
95 for (i = 0; i < dim; i++) { in vecScalarMulInPlace()
[all …]
Dvec.h182 void vecAdd(float *u, const float *v, const float *w, size_t dim);
186 void vecAddInPlace(float *v, const float *w, size_t dim);
190 void vecSub(float *u, const float *v, const float *w, size_t dim);
194 void vecScalarMul(float *u, const float *v, float c, size_t dim);
198 void vecScalarMulInPlace(float *v, float c, size_t dim);
201 float vecNorm(const float *v, size_t dim);
204 float vecNormSquared(const float *v, size_t dim);
207 float vecDot(const float *v, const float *w, size_t dim);
210 float vecMaxAbsoluteValue(const float *v, size_t dim);
Dlevenberg_marquardt.c14 size_t dim, float relative_error_threshold);
25 float damping_factor, size_t dim, float *step);
186 size_t dim, float relative_error_threshold) { in checkRelativeStepSize() argument
189 (vecNorm(state, dim) + relative_error_threshold); in checkRelativeStepSize()
193 return (vecNormSquared(step, dim) <= relative_error * relative_error); in checkRelativeStepSize()
258 float damping_factor, size_t dim, float *step) { in computeStep() argument
261 matAddConstantDiagonal(hessian, damping_factor, dim); in computeStep()
265 if (!matCholeskyDecomposition(L, hessian, dim)) { in computeStep()
270 return matLinearSolveCholesky(step, L, gradient, dim); in computeStep()
/device/google/crosshatch/sdm845/kernel-headers/linux/
Dmsm_mdp.h602 #define DECIMATED_DIMENSION(dim,deci) (((dim) + ((1 << (deci)) - 1)) >> (deci)) argument
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/
Dmsm_mdp.h727 #define DECIMATED_DIMENSION(dim, deci) (((dim) + ((1 << (deci)) - 1)) >> (deci)) argument
/device/google/bonito/sdm710/kernel-headers/linux/
Dmsm_mdp.h602 #define DECIMATED_DIMENSION(dim,deci) (((dim) + ((1 << (deci)) - 1)) >> (deci)) argument
/device/google/coral-kernel/sm8150/kernel-headers/linux/
Dmsm_mdp.h603 #define DECIMATED_DIMENSION(dim,deci) (((dim) + ((1 << (deci)) - 1)) >> (deci)) argument
/device/google/bonito/sdm710/original-kernel-headers/linux/
Dmsm_mdp.h726 #define DECIMATED_DIMENSION(dim, deci) (((dim) + ((1 << (deci)) - 1)) >> (deci)) argument
/device/google/crosshatch/sdm845/original-kernel-headers/linux/
Dmsm_mdp.h726 #define DECIMATED_DIMENSION(dim, deci) (((dim) + ((1 << (deci)) - 1)) >> (deci)) argument