Duplicate entries in a matrix
Chris Lasher
chris.lasher at gmail.com
Thu Jan 19 17:51:24 EST 2006
Now that's definitely what I'm looking for! Thanks!
By the way, was this line
In [5]: C = repeat(B, [1,2,1], axis=-1)
supposed to have a positive 1 value for axis? It works either way, I
see. Is it like a lookup, where an index of -1 returns the last value?
If that were true, I supposed the evaluation would be 1, and thus gives
the same result.
Thanks again, very much. You guys are super-helpful!
More information about the Python-list
mailing list