linalg: minor code improvements
linalg: minor code improvements

Use normal numpy routines instead of hand-coded
versions of them.

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