Created
August 29, 2016 02:30
-
-
Save hyunsik/32f94e78f51a2607f5aaec8a5f1d3bef to your computer and use it in GitHub Desktop.
A primitive example of column-at-a-time model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int uselect_bt_void_int_bat_int_const(oid *output, int *input, int value, int size) { | |
oid i; | |
int j = 0; | |
for (i = 0; i < size; i++) { | |
if (input[i] > value) { | |
output[j++] = i; | |
} | |
} | |
return j; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment