Talk:Deconvolution/1D: Difference between revisions

From Rosetta Code
Content added Content deleted
(Pseudo-code please)
 
(→‎Pseudo-code please: Does the Tcl code help?)
Line 1: Line 1:
==Pseudo-code please==
==Pseudo-code please==
Could you give some pseudo code that solves the problem please. Going from the presented maths to a way to solve it is not straight forward. --[[User:Paddy3118|Paddy3118]] 19:58, 22 February 2010 (UTC)
Could you give some pseudo code that solves the problem please. Going from the presented maths to a way to solve it is not straight forward. --[[User:Paddy3118|Paddy3118]] 19:58, 22 February 2010 (UTC)
: Actually it's not too bad if you use the reduced row echelon form task solution; you just build a matrix in an obvious way from the math as presented, run it through the RREF solver, and pick the answer out of the top of the final column. The (brand new) Tcl solution to this task ought to help (lord knows, the Ursala solution doesn't...) –[[User:Dkf|Donal Fellows]] 10:13, 23 February 2010 (UTC)

Revision as of 10:13, 23 February 2010

Pseudo-code please

Could you give some pseudo code that solves the problem please. Going from the presented maths to a way to solve it is not straight forward. --Paddy3118 19:58, 22 February 2010 (UTC)

Actually it's not too bad if you use the reduced row echelon form task solution; you just build a matrix in an obvious way from the math as presented, run it through the RREF solver, and pick the answer out of the top of the final column. The (brand new) Tcl solution to this task ought to help (lord knows, the Ursala solution doesn't...) –Donal Fellows 10:13, 23 February 2010 (UTC)