sl_create_riv.Rd
Create random index vectors
sl_create_riv(dim, inds, sparsity)
dim | integer, number of dimensions (vector length) |
---|---|
inds | integer, number of rows |
sparsity | even integer, number of elements in vector |
matrix, each row is an item with dim dimensions
sl_create_riv(10,5,1)#> Error in sl_create_riv(10, 5, 1): sparsity must be even integersl_create(10,5,4)#> Error in sl_create(10, 5, 4): could not find function "sl_create"