Added generic getrow and getcol methods to sparse matrices.  These need further optimization for individual sparse matrix formats, and should ideally be available using slice notation.
Added generic getrow and getcol methods to sparse matrices.  These need further optimization for individual sparse matrix formats, and should ideally be available using slice notation.

Added better handling of incorrectly ordered arguments in csr/c matrix constructors (ticket #39).

juliantaylor/scipy,sriki18/scipy,WillieMaddox/scipy,trankmichael/scipy,behzadnouri/scipy,mikebenfield/scipy,Dapid/scipy,zaxliu/scipy,lhilt/scipy,mortada/scipy,mortonjt/scipy,FRidh/scipy,zerothi/scipy,sargas/scipy,ChanderG/scipy,jonycgn/scipy,pyramania/scipy,larsmans/scipy,jseabold/scipy,mtrbean/scipy,matthew-brett/scipy,trankmichael/scipy,jjhelmus/scipy,Srisai85/scipy,mhogg/scipy,andim/scipy,teoliphant/scipy,gfyoung/scipy,grlee77/scipy,fernand/scipy,newemailjdm/scipy,fernand/scipy,pyramania/scipy,aeklant/scipy,tylerjereddy/scipy,matthewalbani/scipy,Srisai85/scipy,haudren/scipy,niknow/scipy,richardotis/scipy,aarchiba/scipy,anntzer/scipy,jamestwebber/scipy,fredrikw/scipy,WarrenWeckesser/scipy,pizzathief/scipy,zaxliu/scipy,rgommers/scipy,mortonjt/scipy,befelix/scipy,vanpact/scipy,felipebetancur/scipy,arokem/scipy,andyfaff/scipy,mingwpy/scipy,maniteja123/scipy,ales-erjavec/scipy,vberaudi/scipy,argriffing/scipy,kalvdans/scipy,sriki18/scipy,zxsted/scipy,piyush0609/scipy,endolith/scipy,ogrisel/scipy,raoulbq/scipy,Gillu13/scipy,surhudm/scipy,arokem/scipy,ilayn/scipy,niknow/scipy,mortonjt/scipy,Gillu13/scipy,sriki18/scipy,mgaitan/scipy,scipy/scipy,FRidh/scipy,pschella/scipy,rmcgibbo/scipy,perimosocordiae/scipy,ogrisel/scipy,Stefan-Endres/scipy,gfyoung/scipy,behzadnouri/scipy,Stefan-Endres/scipy,mortada/scipy,Srisai85/scipy,fernand/scipy,pschella/scipy,rmcgibbo/scipy,gef756/scipy,aman-iitj/scipy,mhogg/scipy,grlee77/scipy,zxsted/scipy,jonycgn/scipy,cpaulik/scipy,dch312/scipy,giorgiop/scipy,Dapid/scipy,teoliphant/scipy,ChanderG/scipy,juliantaylor/scipy,fernand/scipy,ogrisel/scipy,maciejkula/scipy,lukauskas/scipy,Stefan-Endres/scipy,zaxliu/scipy,Shaswat27/scipy,mgaitan/scipy,aman-iitj/scipy,petebachant/scipy,larsmans/scipy,ales-erjavec/scipy,person142/scipy,witcxc/scipy,nmayorov/scipy,hainm/scipy,apbard/scipy,WarrenWeckesser/scipy,lukauskas/scipy,petebachant/scipy,Eric89GXL/scipy,gef756/scipy,Kamp9/scipy,teoliphant/scipy,sargas/scipy,vhaasteren/scipy,Kamp9/scipy,zerothi/scipy,futurulus/scipy,jamestwebber/scipy,apbard/scipy,ChanderG/scipy,cpaulik/scipy,zerothi/scipy,rgommers/scipy,Eric89GXL/scipy,richardotis/scipy,kleskjr/scipy,pyramania/scipy,befelix/scipy,efiring/scipy,ChanderG/scipy,nmayorov/scipy,hainm/scipy,juliantaylor/scipy,maciejkula/scipy,mdhaber/scipy,vanpact/scipy,pbrod/scipy,trankmichael/scipy,petebachant/scipy,arokem/scipy,andyfaff/scipy,mdhaber/scipy,gertingold/scipy,pizzathief/scipy,maniteja123/scipy,rmcgibbo/scipy,chatcannon/scipy,piyush0609/scipy,WarrenWeckesser/scipy,jonycgn/scipy,aarchiba/scipy,matthew-brett/scipy,e-q/scipy,mhogg/scipy,person142/scipy,FRidh/scipy,Newman101/scipy,piyush0609/scipy,piyush0609/scipy,nvoron23/scipy,befelix/scipy,scipy/scipy,jseabold/scipy,nvoron23/scipy,petebachant/scipy,mortada/scipy,newemailjdm/scipy,teoliphant/scipy,aman-iitj/scipy,maciejkula/scipy,Gillu13/scipy,perimosocordiae/scipy,jamestwebber/scipy,jseabold/scipy,endolith/scipy,sriki18/scipy,nmayorov/scipy,sonnyhu/scipy,raoulbq/scipy,mdhaber/scipy,perimosocordiae/scipy,trankmichael/scipy,vhaasteren/scipy,sonnyhu/scipy,mikebenfield/scipy,vhaasteren/scipy,ilayn/scipy,gef756/scipy,mortonjt/scipy,Kamp9/scipy,Newman101/scipy,josephcslater/scipy,surhudm/scipy,aeklant/scipy,jor-/scipy,anielsen001/scipy,lhilt/scipy,jjhelmus/scipy,mhogg/scipy,piyush0609/scipy,mingwpy/scipy,zerothi/scipy,josephcslater/scipy,aman-iitj/scipy,giorgiop/scipy,matthewalbani/scipy,Srisai85/scipy,mikebenfield/scipy,scipy/scipy,kleskjr/scipy,cpaulik/scipy,vberaudi/scipy,kalvdans/scipy,aman-iitj/scipy,aeklant/scipy,minhlongdo/scipy,WarrenWeckesser/scipy,ortylp/scipy,hainm/scipy,felipebetancur/scipy,lukauskas/scipy,vhaasteren/scipy,futurulus/scipy,zaxliu/scipy,kleskjr/scipy,vanpact/scipy,felipebetancur/scipy,maciejkula/scipy,ortylp/scipy,gef756/scipy,sonnyhu/scipy,surhudm/scipy,Kamp9/scipy,matthewalbani/scipy,apbard/scipy,FRidh/scipy,njwilson23/scipy,newemailjdm/scipy,haudren/scipy,cpaulik/scipy,zxsted/scipy,anielsen001/scipy,witcxc/scipy,gdooper/scipy,piyush0609/scipy,Gillu13/scipy,Shaswat27/scipy,nmayorov/scipy,mtrbean/scipy,zaxliu/scipy,pbrod/scipy,trankmichael/scipy,endolith/scipy,lhilt/scipy,sargas/scipy,witcxc/scipy,mgaitan/scipy,andim/scipy,pschella/scipy,minhlongdo/scipy,kalvdans/scipy,Dapid/scipy,pizzathief/scipy,ogrisel/scipy,bkendzior/scipy,chatcannon/scipy,Eric89GXL/scipy,Shaswat27/scipy,petebachant/scipy,njwilson23/scipy,gertingold/scipy,andyfaff/scipy,zxsted/scipy,lukauskas/scipy,behzadnouri/scipy,maniteja123/scipy,felipebetancur/scipy,giorgiop/scipy,jamestwebber/scipy,ales-erjavec/scipy,gfyoung/scipy,mgaitan/scipy,mdhaber/scipy,larsmans/scipy,perimosocordiae/scipy,Gillu13/scipy,pbrod/scipy,aeklant/scipy,mgaitan/scipy,mortada/scipy,vigna/scipy,andim/scipy,dominicelse/scipy,lhilt/scipy,jjhelmus/scipy,ales-erjavec/scipy,vberaudi/scipy,matthewalbani/scipy,tylerjereddy/scipy,e-q/scipy,Kamp9/scipy,josephcslater/scipy,jakevdp/scipy,grlee77/scipy,sonnyhu/scipy,vigna/scipy,WillieMaddox/scipy,nmayorov/scipy,Dapid/scipy,ales-erjavec/scipy,efiring/scipy,e-q/scipy,nvoron23/scipy,maniteja123/scipy,woodscn/scipy,arokem/scipy,Shaswat27/scipy,jor-/scipy,jor-/scipy,befelix/scipy,jseabold/scipy,pnedunuri/scipy,newemailjdm/scipy,matthew-brett/scipy,matthew-brett/scipy,woodscn/scipy,fredrikw/scipy,sriki18/scipy,pbrod/scipy,futurulus/scipy,vanpact/scipy,andyfaff/scipy,hainm/scipy,nonhermitian/scipy,ortylp/scipy,mhogg/scipy,endolith/scipy,mtrbean/scipy,jakevdp/scipy,mhogg/scipy,WarrenWeckesser/scipy,kleskjr/scipy,e-q/scipy,giorgiop/scipy,aarchiba/scipy,apbard/scipy,mtrbean/scipy,maniteja123/scipy,ChanderG/scipy,richardotis/scipy,haudren/scipy,Newman101/scipy,woodscn/scipy,ndchorley/scipy,dch312/scipy,FRidh/scipy,jamestwebber/scipy,ilayn/scipy,andyfaff/scipy,pizzathief/scipy,argriffing/scipy,behzadnouri/scipy,Stefan-Endres/scipy,njwilson23/scipy,jonycgn/scipy,tylerjereddy/scipy,Dapid/scipy,pyramania/scipy,sargas/scipy,larsmans/scipy,gef756/scipy,mtrbean/scipy,chatcannon/scipy,efiring/scipy,maniteja123/scipy,sauliusl/scipy,larsmans/scipy,larsmans/scipy,kleskjr/scipy,haudren/scipy,Kamp9/scipy,mingwpy/scipy,pnedunuri/scipy,njwilson23/scipy,futurulus/scipy,haudren/scipy,Stefan-Endres/scipy,richardotis/scipy,ortylp/scipy,fernand/scipy,haudren/scipy,woodscn/scipy,jor-/scipy,mingwpy/scipy,WarrenWeckesser/scipy,petebachant/scipy,aman-iitj/scipy,behzadnouri/scipy,dominicelse/scipy,person142/scipy,sauliusl/scipy,njwilson23/scipy,jakevdp/scipy,felipebetancur/scipy,Gillu13/scipy,scipy/scipy,pnedunuri/scipy,apbard/scipy,mortonjt/scipy,perimosocordiae/scipy,juliantaylor/scipy,rmcgibbo/scipy,josephcslater/scipy,andim/scipy,person142/scipy,fredrikw/scipy,nonhermitian/scipy,Newman101/scipy,ndchorley/scipy,matthew-brett/scipy,pnedunuri/scipy,efiring/scipy,pizzathief/scipy,raoulbq/scipy,gertingold/scipy,mgaitan/scipy,nonhermitian/scipy,jsilter/scipy,pyramania/scipy,ChanderG/scipy,teoliphant/scipy,surhudm/scipy,woodscn/scipy,dominicelse/scipy,WillieMaddox/scipy,sauliusl/scipy,lukauskas/scipy,vigna/scipy,scipy/scipy,bkendzior/scipy,nonhermitian/scipy,gfyoung/scipy,ortylp/scipy,pbrod/scipy,chatcannon/scipy,gfyoung/scipy,anielsen001/scipy,ilayn/scipy,e-q/scipy,mingwpy/scipy,pschella/scipy,vhaasteren/scipy,ndchorley/scipy,matthewalbani/scipy,rmcgibbo/scipy,aeklant/scipy,anielsen001/scipy,vanpact/scipy,chatcannon/scipy,dch312/scipy,cpaulik/scipy,WillieMaddox/scipy,sauliusl/scipy,lukauskas/scipy,ilayn/scipy,sonnyhu/scipy,woodscn/scipy,kalvdans/scipy,argriffing/scipy,richardotis/scipy,rmcgibbo/scipy,richardotis/scipy,chatcannon/scipy,Newman101/scipy,zerothi/scipy,nvoron23/scipy,ogrisel/scipy,vberaudi/scipy,Stefan-Endres/scipy,newemailjdm/scipy,Eric89GXL/scipy,grlee77/scipy,surhudm/scipy,pschella/scipy,bkendzior/scipy,jsilter/scipy,mingwpy/scipy,Eric89GXL/scipy,sriki18/scipy,perimosocordiae/scipy,fernand/scipy,anntzer/scipy,endolith/scipy,niknow/scipy,jsilter/scipy,njwilson23/scipy,behzadnouri/scipy,Dapid/scipy,aarchiba/scipy,grlee77/scipy,newemailjdm/scipy,jakevdp/scipy,jsilter/scipy,hainm/scipy,giorgiop/scipy,fredrikw/scipy,Eric89GXL/scipy,vigna/scipy,mortada/scipy,futurulus/scipy,dominicelse/scipy,zaxliu/scipy,witcxc/scipy,Shaswat27/scipy,mortonjt/scipy,rgommers/scipy,WillieMaddox/scipy,niknow/scipy,jonycgn/scipy,scipy/scipy,efiring/scipy,minhlongdo/scipy,nvoron23/scipy,ndchorley/scipy,dch312/scipy,jjhelmus/scipy,bkendzior/scipy,pbrod/scipy,anielsen001/scipy,ales-erjavec/scipy,vberaudi/scipy,jor-/scipy,felipebetancur/scipy,juliantaylor/scipy,argriffing/scipy,person142/scipy,futurulus/scipy,gdooper/scipy,sauliusl/scipy,tylerjereddy/scipy,vhaasteren/scipy,tylerjereddy/scipy,FRidh/scipy,jsilter/scipy,rgommers/scipy,minhlongdo/scipy,arokem/scipy,trankmichael/scipy,minhlongdo/scipy,vberaudi/scipy,nvoron23/scipy,aarchiba/scipy,maciejkula/scipy,pnedunuri/scipy,jseabold/scipy,jjhelmus/scipy,zerothi/scipy,Shaswat27/scipy,niknow/scipy,andim/scipy,nonhermitian/scipy,fredrikw/scipy,gef756/scipy,ilayn/scipy,Newman101/scipy,andyfaff/scipy,anntzer/scipy,jonycgn/scipy,kleskjr/scipy,mortada/scipy,befelix/scipy,mdhaber/scipy,cpaulik/scipy,gdooper/scipy,raoulbq/scipy,surhudm/scipy,jseabold/scipy,niknow/scipy,gdooper/scipy,sonnyhu/scipy,dominicelse/scipy,Srisai85/scipy,argriffing/scipy,argriffing/scipy,raoulbq/scipy,vanpact/scipy,pnedunuri/scipy,raoulbq/scipy,gertingold/scipy,sargas/scipy,hainm/scipy,vigna/scipy,mikebenfield/scipy,kalvdans/scipy,ndchorley/scipy,mdhaber/scipy,anntzer/scipy,bkendzior/scipy,andim/scipy,anntzer/scipy,witcxc/scipy,rgommers/scipy,fredrikw/scipy,ndchorley/scipy,endolith/scipy,lhilt/scipy,ortylp/scipy,mikebenfield/scipy,sauliusl/scipy,efiring/scipy,anntzer/scipy,giorgiop/scipy,Srisai85/scipy,minhlongdo/scipy,zxsted/scipy,WillieMaddox/scipy,gdooper/scipy,jakevdp/scipy,anielsen001/scipy,zxsted/scipy,dch312/scipy,josephcslater/scipy,gertingold/scipy,mtrbean/scipy