[Numpy-discussion] Numpy newbie question: matrix creation

Edmondo Porcu edmondo.porcu at gmail.com
Wed Sep 25 03:06:33 EDT 2013

Dear all,

I am a Newbie with Numpy and I would need some advice on how to create a
matrix with certain characteristics :

 - Every entry should be minimum 0 maximum 1 with a step of 0.1 (legal
values are 0,0.1,0.2,0.3 etc)

- The number of columns of the matrix is a parameter of this matrix
creation algorithm

- Only the rows where the sum is 1 must be kept

Would great appreciate your advice and suggestions

Best Regards

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20130925/fcb63fe2/attachment.html>

More information about the NumPy-Discussion mailing list