Searched refs:Qfloat (Results 1 – 2 of 2) sorted by relevance
/external/opencv3/modules/ml/src/ |
D | svm.cpp | 91 typedef float Qfloat; typedef 92 const int QFLOAT_TYPE = DataDepth<Qfloat>::value; 166 const float* another, Qfloat* results, in calc_non_rbf_base() 179 results[j] = (Qfloat)(s*alpha + beta); in calc_non_rbf_base() 184 const float* another, Qfloat* results ) in calc_linear() 190 const float* another, Qfloat* results ) in calc_poly() 199 const float* another, Qfloat* results ) in calc_sigmoid() 207 Qfloat t = results[j]; in calc_sigmoid() 208 Qfloat e = std::exp(-std::abs(t)); in calc_sigmoid() 210 results[j] = (Qfloat)((1. - e)/(1. + e)); in calc_sigmoid() [all …]
|
/external/opencv/ml/src/ |
D | mlsvm.cpp | 94 typedef float Qfloat; typedef 97 typedef double Qfloat; typedef 232 const float* another, Qfloat* results, in calc_non_rbf_base() 245 results[j] = (Qfloat)(s*alpha + beta); in calc_non_rbf_base() 251 const float* another, Qfloat* results ) in calc_linear() 258 const float* another, Qfloat* results ) in calc_poly() 267 const float* another, Qfloat* results ) in calc_sigmoid() 275 Qfloat t = results[j]; in calc_sigmoid() 278 results[j] = (Qfloat)((1. - e)/(1. + e)); in calc_sigmoid() 280 results[j] = (Qfloat)((e - 1.)/(e + 1.)); in calc_sigmoid() [all …]
|