Talk:Deconvolution/1D: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎Pseudo-code please: Does the Tcl code help?)
Line 2: Line 2:
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)
: 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)

:: Ta Donal, that was just the start I needed! --[[User:Paddy3118|Paddy3118]] 00:19, 24 February 2010 (UTC)

Revision as of 00:19, 24 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)
Ta Donal, that was just the start I needed! --Paddy3118 00:19, 24 February 2010 (UTC)