Searched refs:idx_i (Results 1 – 2 of 2) sorted by relevance
132 int idx_i = 0; in getSubset() local135 idx_i = idx[i] = rng.uniform(0, count); in getSubset()137 if( idx_i == idx[j] ) in getSubset()143 ms1ptr[i*esz1 + k] = m1ptr[idx_i*esz1 + k]; in getSubset()145 ms2ptr[i*esz2 + k] = m2ptr[idx_i*esz2 + k]; in getSubset()
357 int i, j, k, idx_i, iters = 0; in getSubset() local370 idx[i] = idx_i = cvRandInt(&rng) % count; in getSubset()372 if( idx_i == idx[j] ) in getSubset()378 ms1ptr[i*elemSize + k] = m1ptr[idx_i*elemSize + k]; in getSubset()379 ms2ptr[i*elemSize + k] = m2ptr[idx_i*elemSize + k]; in getSubset()