Searched refs:k (Results 1 – 25 of 100) sorted by relevance
1234
88 void initialPickHeuristicRandom(int k, T values[], int len, int dimension, int stride, T dst[], in initialPickHeuristicRandom() argument94 unsigned int r_vals[k]; in initialPickHeuristicRandom()97 for (x = 0; x < k; x++) { in initialPickHeuristicRandom()141 int calculateNewCentroids(int k, T values[], int len, int dimension, int stride, T oldCenters[], in calculateNewCentroids() argument144 pop_size = k * stride; in calculateNewCentroids()145 int popularities[k]; in calculateNewCentroids()149 memset(popularities, 0, sizeof(int) * k); in calculateNewCentroids()179 void runKMeansWithPicks(int k, T finalCentroids[], T values[], int len, int dimension, int stride, in runKMeansWithPicks() argument181 int k_len = k * stride; in runKMeansWithPicks()194 ret = calculateNewCentroids<T, N>(k, values, len, dimension, stride, c1, c2); in runKMeansWithPicks()[all …]
53 int k = p; in JNIFUNCF() local55 unsigned char finalCentroids[k * stride]; in JNIFUNCF()58 runKMeans<unsigned char, int>(k, finalCentroids, small_ds, len, dimension, in JNIFUNCF()64 unsigned char nextCentroids[k * stride]; in JNIFUNCF()67 runKMeansWithPicks<unsigned char, int>(k, nextCentroids, large_ds, len, in JNIFUNCF()73 applyCentroids<unsigned char, int>(k, nextCentroids, dst, len, dimension, stride); in JNIFUNCF()
37 int j, k; in JNIFUNCF() local55 for (k = 1; k < width - 1; k++){ in JNIFUNCF()56 int loc = j * row_stride + k * 4; in JNIFUNCF()99 int off = k * 4; in JNIFUNCF()
274 for(int k=0; k<m_nr_corners_ref; k++) in UpdateReference() local276 if(m_x_corners_ref[k]>m_im_width/3) in UpdateReference()278 m_x_corners_ref[nr] = m_x_corners_ref[k]; in UpdateReference()279 m_y_corners_ref[nr] = m_y_corners_ref[k]; in UpdateReference()293 for(int k=0; k<m_nr_corners_ins; k++) in UpdateReference() local295 m_x_corners_ref[k] = m_x_corners_ins[k]; in UpdateReference()296 m_y_corners_ref[k] = m_y_corners_ins[k]; in UpdateReference()603 for( int c=0, k=0 ;c < m_nr_matches; c++, k=k+3) in ComputeCostArray() local605 … m_sq_cost[c] = SquaredInhomogenousHomographyError(m_corners_ins+k,m_H_ref_to_ins,m_corners_ref+k); in ComputeCostArray()617 for(int c=0, k=0 ;c<m_nr_matches;c++,k=k+3) in SelectOutliers() local[all …]
98 int i, j, k, l, m, n,ntemp; in inv4Mat() local106 for(k=0,i=0;i<4;i++) in inv4Mat()107 for(j=0;j<4;j++,k++) in inv4Mat()108 inmat[i][j]=(double)in->par[k]; in inv4Mat()116 for (k=0;k<4;k++) { in inv4Mat()117 if (i != k) { in inv4Mat()121 mat[m][n] = inmat[k][l]; in inv4Mat()136 for(k=0,i=0;i<4;i++) in inv4Mat()137 for(j=0;j<4;j++,k++) in inv4Mat()138 out->par[k]=(VP_PAR)outmat[i][j]; /*lint !e771*/ in inv4Mat()
10 …;�T�A��ZY}����<c�uϠ���j�ڭx�Βή!n�%c�PA/�����.���*d��ac����G+���6ͺ؊k�<b���J_���1��Zճ…13 ���ڪ��U�+Zn9�1柔�!�,�b�>�*�W��F���(�x�]^��k^C#�~���N_���a���h�7��\�3F'F�$� �qld�V��}q�X�!�…14 cL�Py2��W��_,ݨ��l�*��z4m:����7<k֎�Bl���$/�Pe��0i����=���ϋ������+�ar�� f����Go�'�5���vb�…17 g!d���+ߏ�������h�̌�f��Q����z+�ȪkO�q���:$B�_�;��䶢���o�s�e}�J�)��h)ΞD[�&Z�/�gY�MN…19 …k� \�x:S�8X �&�a5�O :�ڃ�/�=�N�Z���S�=���D)p幬�=�64װ"�[I�T��w��#1S�(�,o�.� ���wT���.r�W…30 …��N��iJ�`,s���2X��s�A~�*����8ŪH�K_]��19��� \�P�7��U���#*${�������:�k:��X�?���,c0�O��YuɄ…58 …B:Ԭ�ʅ����2��~l�EW ���Fnq�Zv�WWN��m+���8+�?�o<4�j��a#��y�z��M~��k<�%߈<J��!�8("�O����59 ���sqCe�Bn�!����k:��Ɋܷ)$���=s�����/R�QC]q�[�>K�*������_Ԗ-(����*q�=`̻-�N��O��4…62 �VWE?}���k�d�٠d9zM�N�^��b\nXޟʷ�O�y#6p:���BG�cLoG9�m����Ax66 …7�y�X�?� w��<�p��{db%��n��"��"C�����w:Qi�BԔn2�c�o#��S�u������|�Ο����b�k�lv��C����*�p{����…
92 uint64_t k = 0; variable95 digits_[i] = MulAdd64(digits_[i], u, k, &hi);96 k = hi;99 if (k > 0)100 PushBack(k);110 uint64_t k = 0; variable116 const uint64_t p0 = ud + k;119 k = p1 >> 32;122 if (k > 0)123 PushBack(k);[all …]
62 int i,j,k; in db_MultiplyMatricesAB() local68 for(k=0;k<acols;k++) acc+=A[i][k]*B[k][j]; in db_MultiplyMatricesAB()75 int i,j,k; in db_UpperMultiplyMatricesAtB() local81 for(k=0;k<acols;k++) acc+=At[k][i]*B[k][j]; in db_UpperMultiplyMatricesAtB()
82 int i,j,k; in db_CholeskyDecompSeparateDiagonal() local90 for(k=i-1;k>=0;k--) s-=A[i][k]*A[j][k]; in db_CholeskyDecompSeparateDiagonal()104 int i,k; in db_CholeskyBacksub() local109 for(s=b[i],k=i-1;k>=0;k--) s-=A[i][k]*x[k]; in db_CholeskyBacksub()114 for(s=x[i],k=i+1;k<n;k++) s-=A[k][i]*x[k]; in db_CholeskyBacksub()
343 inline void db_RobImageHomographyJH_Jt(double **JE_dx_ref,int j,int k,double H[9]) in db_RobImageHomographyJH_Jt() argument355 JE_dx_ref[0][k]=0; in db_RobImageHomographyJH_Jt()356 JE_dx_ref[1][k]=0; in db_RobImageHomographyJH_Jt()357 JE_dx_ref[2][k]=0; in db_RobImageHomographyJH_Jt()358 JE_dx_ref[3][k]=0; in db_RobImageHomographyJH_Jt()359 JE_dx_ref[4][k]=0; in db_RobImageHomographyJH_Jt()360 JE_dx_ref[5][k]=1.0; in db_RobImageHomographyJH_Jt()361 JE_dx_ref[6][k]=0; in db_RobImageHomographyJH_Jt()362 JE_dx_ref[7][k]=0; in db_RobImageHomographyJH_Jt()363 JE_dx_ref[8][k]=0; in db_RobImageHomographyJH_Jt()[all …]
138 int k = -1; // k points to the best slot up to now. in getMediaItem() local141 if (k == -1 || mComparator.compare(slot[j], slot[k]) < 0) { in getMediaItem()142 k = j; in getMediaItem()148 if (k == -1) break; in getMediaItem()151 subPos[k]++; in getMediaItem()153 result.add(slot[k]); in getMediaItem()155 slot[k] = mFetcher[k].getItem(subPos[k]); in getMediaItem()
90 int k = 0; in run() local96 mClusters[k] = group[i]; in run()98 mNames[k] = String.format( in run()101 mNames[k] = String.format( in run()106 mNames[k] = String.format( in run()109 mMinSizes[k] = SIZE_LEVELS[i]; in run()110 k++; in run()
232 for (int k = minK; k <= maxK; k++) { in kMeans()234 int delta = n / k; in kMeans()235 for (int i = 0; i < k; i++) { in kMeans()243 for (int i = 0; i < k; i++) { in kMeans()254 for (int j = 0; j < k; j++) { in kMeans()276 for (int i = 0; i < k; i++) { in kMeans()291 int reassign[] = new int[k]; in kMeans()293 for (int i = 0; i < k; i++) { in kMeans()
30 �L9bޤPEw�ڼ��1���7�ɘ�[YE���pM��S��E��9s��(m�r�1rG�T�5C�z��B�e������G�k�]WY�J�ݲ��Y]]�j�}�3n;…51 …9`0�ܱ�!x�R�����f�d�bG`P������B��T6nԸh5�*�z�)Bs̓s'�%�����II7�Q�k��b[G��#n�f��ŏ���[�G…81 x��T�E�r�G�)ok<zB3��}�c��u1�% �Z-Q"hQ���A�p�5�b100 F��W���o�Ǻ<"��5�c�aPi}W������������6G�G#���ukK���A�LT�&�tʼ!��%?��K^��@��4���Vx�g�k��Xsn '…106 …k��H7ID�d��ڽG�O�F�yU�����i��m��2�B�uu�5�z:�B�S��H�b��rk_Z$nki�0+Q��Ի�� sRT��r�k�����KW�s…110 �4M�%���=2�-���!/jy�Uy�ٍ)�������G܇'�����?�C3��}�k��e��%��BU�E�y�G�A�� �X�e���!I��I�p$…114 …j=+�(*�l@C1ǫ��kM��@��tkQ�L�ag��X)��\�uW��N*K��Tv)�u�G�g0��7U��fM��82.k\���R��,���K�G�<�t>…122 …2����b��Jn����_+�vt#�Gߋ-?L�.�WB�� �Vҷ�)P��!�P�Дb��0�Z<��֏G��fO��z�k��B��dtM��s�c��h��…129 ���M����4q��@�{�g����������9�vw���zH�p���})��}�Z��k�`0�v�^�3G0�N�]T�E4�~����j�/���������,�
186 int r, g, b, c, m, y, k; in formatPixels() local191 k = buf[i + 3]; in formatPixels()194 r = (k * c) / 255; in formatPixels()195 g = (k * m) / 255; in formatPixels()196 b = (k * y) / 255; in formatPixels()198 r = (255 - k) * (255 - c) / 255; in formatPixels()199 g = (255 - k) * (255 - m) / 255; in formatPixels()200 b = (255 - k) * (255 - y) / 255; in formatPixels()
42 int k = 0; in ColorGridDialog() local47 hsv[0] = (k % 5) * 360 / 5; in ColorGridDialog()48 hsv[1] = (k / 5) / 3.0f; in ColorGridDialog()49 hsv[2] = (k < 5) ? (k / 4f) : 1; in ColorGridDialog()60 k++; in ColorGridDialog()
918 for (int k = 0; k < adjust; k++) { in stepIfNeeded()919 removeItem(k); in stepIfNeeded()922 for (int k = 0; k + adjust < BUFFER_SIZE; k++) { in stepIfNeeded()923 mViewItems[k] = mViewItems[k + adjust]; in stepIfNeeded()926 for (int k = BUFFER_SIZE - adjust; k < BUFFER_SIZE; k++) { in stepIfNeeded()927 mViewItems[k] = null; in stepIfNeeded()928 if (mViewItems[k - 1] != null) { in stepIfNeeded()929 mViewItems[k] = buildViewItemAt(mViewItems[k - 1].getAdapterIndex() + 1); in stepIfNeeded()935 for (int k = BUFFER_SIZE - 1; k >= BUFFER_SIZE + adjust; k--) { in stepIfNeeded()936 removeItem(k); in stepIfNeeded()[all …]
322 KeyEvent k; in onCreateInputConnection()324 k = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DEL); in onCreateInputConnection()325 return this.sendKeyEvent(k); in onCreateInputConnection()328 k = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DEL); in onCreateInputConnection()329 this.sendKeyEvent(k); in onCreateInputConnection()332 k = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_FORWARD_DEL); in onCreateInputConnection()333 this.sendKeyEvent(k); in onCreateInputConnection()
78 for (int k = 0; k < mDimension + 1; k++) { in fit()81 if (k < mDimension) { in fit()82 qt = q[i][k]; in fit()84 c[k][j] += qt * p[i][j]; in fit()
101 int i, j, k; in plugin_search() local108 k = 0; in plugin_search()109 while (strlen(_plugin[i].mime_types[k])) { in plugin_search()110 if (strcmp(_plugin[i].mime_types[k], mt) == 0) { in plugin_search()117 k++; in plugin_search()
1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
140 for (int k = 0; k < m0w; k++) { in multiply()141 retval[i][j] += m0[i][k] * m1[k][j]; in multiply()
64 for (int k = 0; k < N; ++k) { in get3DParameters()65 m0[i][j] += (float) Math.pow(xs[k], pow); in get3DParameters()
230 for (int k = 0; k < rep.length; k++) { in serializeRepresentation()231 writer.name(rep[k][0]); in serializeRepresentation()232 writer.value(rep[k][1]); in serializeRepresentation()
210 for (int i = 0, k = 0; (i < num_attr) && (k < arraylen); i++) { in btavrcp_playerapplicationsetting_callback() local211 sCallbackEnv->SetByteArrayRegion(playerattribs.get(), k, 1, in btavrcp_playerapplicationsetting_callback()213 k++; in btavrcp_playerapplicationsetting_callback()214 sCallbackEnv->SetByteArrayRegion(playerattribs.get(), k, 1, in btavrcp_playerapplicationsetting_callback()216 k++; in btavrcp_playerapplicationsetting_callback()217 sCallbackEnv->SetByteArrayRegion(playerattribs.get(), k, in btavrcp_playerapplicationsetting_callback()220 k = k + app_attrs[i].num_val; in btavrcp_playerapplicationsetting_callback()256 for (int i = 0, k = 0; (i < vals.num_attr) && (k < arraylen); i++) { in btavrcp_playerapplicationsetting_changed_callback() local257 sCallbackEnv->SetByteArrayRegion(playerattribs.get(), k, 1, in btavrcp_playerapplicationsetting_changed_callback()259 k++; in btavrcp_playerapplicationsetting_changed_callback()[all …]