-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add some toy test data #4
Comments
Dear Xiang |
The range is (-1, 1) (note that it's open range). But the instruction: unsigned int myseed = (unsigned int) RAND_MAX * rand(); is for generating the seed. Thanks. |
Thanks , since there is no constant in Python for RAND_MAx , I already considered RAND_MAX as a constant value as : def stat_randVCT(vct_input, count_row ): |
Dear xiang : but I need to know more about the role of R , idxs_n and op_selectTopR . please explain me more about them,Thus I can convert them immediately after your explanations . specially please explain me your goal about following instruction : Thanks again for your all cooperations |
op_selectTopR( v, P, idxs_n, R ) will select the top R number of elements from the input vector v (sparse vector with length P). The selected indices will be stored in idxs_n. |
Need some test data to use as testing input for the prototype.
The text was updated successfully, but these errors were encountered: