tag:blogger.com,1999:blog-1693014329567144872.post3738037901964443692..comments2023-08-27T06:49:20.658+01:00Comments on The Glowing Python: Solving overdetermined systems with the QR decompositionJustGlowinghttp://www.blogger.com/profile/17212021288715206641noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-1693014329567144872.post-22359716957417388402014-02-27T11:23:20.296+00:002014-02-27T11:23:20.296+00:00Of course, but it is a different kind of optimizat...Of course, but it is a different kind of optimization problem.JustGlowinghttps://www.blogger.com/profile/17212021288715206641noreply@blogger.comtag:blogger.com,1999:blog-1693014329567144872.post-48060294965554374172014-02-27T10:52:05.471+00:002014-02-27T10:52:05.471+00:00Is there a way to get nonnegative solution for und...Is there a way to get nonnegative solution for underdertermined system for Ax=bപൊലികhttps://www.blogger.com/profile/12184546428395958834noreply@blogger.comtag:blogger.com,1999:blog-1693014329567144872.post-58970848192154465242014-02-27T10:50:47.099+00:002014-02-27T10:50:47.099+00:00Is there a way to get nonnegative solution for und...Is there a way to get nonnegative solution for underdertermined system for Ax=bAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1693014329567144872.post-40234249573912961992013-06-10T15:36:32.430+01:002013-06-10T15:36:32.430+01:00If speed is important to you, you can use the tria...If speed is important to you, you can use the triangular nature of the `R` matrix and solve it much faster using solve_triangular (in scipy.linalg):<br /><br />import scipy<br />x_qr2 = scipy.linalg.solve_triangular(R, Qb, check_finite=False)<br /><br />This is 5.5x (or more) faster than numpy.linalg.solve, for 160 by 160 matrixes at least.Ahmed Aldebrn Fasihhttps://www.blogger.com/profile/03509365845976121408noreply@blogger.comtag:blogger.com,1999:blog-1693014329567144872.post-49549758449810350632012-03-11T16:33:23.288+00:002012-03-11T16:33:23.288+00:00Succinct. Thank you.Succinct. Thank you.Michaelnoreply@blogger.comtag:blogger.com,1999:blog-1693014329567144872.post-11898007468427573062012-03-11T09:02:22.846+00:002012-03-11T09:02:22.846+00:00I'm always happy to help you David :)I'm always happy to help you David :)JustGlowinghttps://www.blogger.com/profile/17212021288715206641noreply@blogger.comtag:blogger.com,1999:blog-1693014329567144872.post-80918294658003557592012-03-11T02:53:00.720+00:002012-03-11T02:53:00.720+00:00Thanks! This is helping me get some image processi...Thanks! This is helping me get some image processing homework done.Anonymoushttps://www.blogger.com/profile/12284587242452486809noreply@blogger.com