int LU64f(double* A, size_t astep, int m, double* b, size_t bstep, int n) { int output; CALL_HAL_RET(LU64f, cv_hal_LU64f, output, A, astep, m, b, bstep, n) output = LUImpl(A, astep, m, b, bstep, n, DBL_EPSILON*100); return output; }
int LU32f(float* A, size_t astep, int m, float* b, size_t bstep, int n) { int output; CALL_HAL_RET(LU32f, cv_hal_LU32f, output, A, astep, m, b, bstep, n) output = LUImpl(A, astep, m, b, bstep, n, FLT_EPSILON*10); return output; }
s -= A[i*astep + k]*b[k*bstep + j]; b[i*bstep + j] = s/A[i*astep + i]; } } return p; } int LU32f(float* A, size_t astep, int m, float* b, size_t bstep, int n) { CV_INSTRUMENT_REGION() int output; CALL_HAL_RET(LU32f, cv_hal_LU32f, output, A, astep, m, b, bstep, n) output = LUImpl(A, astep, m, b, bstep, n, FLT_EPSILON*10); return output; } int LU64f(double* A, size_t astep, int m, double* b, size_t bstep, int n) { CV_INSTRUMENT_REGION() int output; CALL_HAL_RET(LU64f, cv_hal_LU64f, output, A, astep, m, b, bstep, n) output = LUImpl(A, astep, m, b, bstep, n, DBL_EPSILON*100); return output; } template<typename _Tp> static inline bool
int LU(double* A, size_t astep, int m, double* b, size_t bstep, int n) { return LUImpl(A, astep, m, b, bstep, n, DBL_EPSILON*100); }
int LU(float* A, size_t astep, int m, float* b, size_t bstep, int n) { return LUImpl(A, astep, m, b, bstep, n, FLT_EPSILON*10); }
int LU(double* A, size_t astep, int m, double* b, size_t bstep, int n) { return LUImpl(A, astep, m, b, bstep, n); }
int LU(float* A, size_t astep, int m, float* b, size_t bstep, int n) { return LUImpl(A, astep, m, b, bstep, n); }