Subarray with with arbitrary index?
17 Aug
2001
17 Aug
'01
2:30 p.m.
Hi, Is it possible to assign to a subarray with arbitrary index? Suppose I have three arrays a = arange(8) b = array([2, 3, 5]) c = arange(3)+100 I want a function f, such that calling f(a, b, c) would change a to [0 1 100 101 4 102 6 7] This would be useful in certain applications that would otherwise require sparse matrices. Huaiyu Zhu
8267
Age (days ago)
8281
Last active (days ago)
3 comments
3 participants
participants (3)
-
Huaiyu Zhu
-
John J. Lee
-
Paul F. Dubois