`uniform_int` not/no longer present on Dense matrices
According to the tutorial, Mat.uniform_int should be there. However it seems to be availabe only for sparse matrices and not for dense.
It was removed because the generated matrix still uses float numbers. Generating an integer matrix can be done in several ways, by casting functions, or round, floor, ceil, trunc, fix, etc.
The tutorial should be updated certainly.
About the inconsistency between dense and sparse is, long story short, I have been trying very hard to make dense and sparse have the same interface since the very beginning of Owl. However, it only works fine for basic operation like add, sub, mul, div, and etc. Later, the focus shifted onto dense part because more people are using dense structure so the sparse part is lagging behind.
Also, the sparse module depends on eigen which I am not particularly happy with, so I always consider it as a temporary solution. In the long run, I will replace it with something else, e.g. http://faculty.cse.tamu.edu/davis/suitesparse.html so that Owl can get rid of Eigen completely (Dense module already got rid of Eigen thanks to Jianxin @jzstark great work) long time ago.