|
Reshaing continued: msg#00015python.numeric.general
Hi All, yes, Reshaping can be done row wise using transpose, for example a = transpose(reshape(arange(0,9),(3,3))) but what about higher dimension arrays. example a = reshape(arange(0,18),(2,3,3)) a[0,:,:], a[1,:,:] should be rows wise extracts like a[0,:,:] = 0 3 6 1 4 7 2 5 8 etc Why cant we define the axis along which reshape should work .. warm regards karthik ----------------------------------------------------------------------- Karthikesh Raju, email: karthik@xxxxxxxxxxxx karthikesh.raju@xxxxxxxxx Researcher, http://www.cis.hut.fi/karthik Helsinki University of Technology, Tel: +358-9-451 5389 Laboratory of Comp. & Info. Sc., Fax: +358-9-451 3277 Department of Computer Sc., P.O Box 5400, FIN 02015 HUT, Espoo, FINLAND ----------------------------------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: possible bug in concatenating character arrays: 00015, Nadav Horesh |
|---|---|
| Next by Date: | Re: possible bug in concatenating character arrays: 00015, Todd Miller |
| Previous by Thread: | possible bug in concatenating character arraysi: 00015, Faheem Mitha |
| Next by Thread: | Re: Reshaing continued: 00015, Stephen Walton |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |