Re: Matrix Multiplication bug and workaround

2017-07-30 Thread Mark Wieder via use-livecode
On 07/30/2017 04:42 PM, hh via use-livecode wrote: Let me explain that a bit simpler for readers who don't know or forgot linear/matrix algebra. Thanks. That does make sense, and I did indeed need a refresher course. -- Mark Wieder ahsoftw...@gmail.com

Re: Matrix Multiplication bug and workaround

2017-07-30 Thread Alejandro Tejada via use-livecode
I noticed the announcement of your conference in Livecode website: https://livecode.com/global/hermann-hoch/ Have you checked Jim Hurley stacks? http://jamesphurley.com/Revolution.html Al > These were the first two minutes of my talk > at LC Global in Nov 2017.Now I can start after that, >

Re: Matrix Multiplication bug and workaround

2017-07-30 Thread hh via use-livecode
Hi Al. Yes. I saw this mistake several times. The misleading thing is, TMHO, the name "transformation matrix" for [a,b,c,d,e,f] (because the listing is pairwise for columns, as you now describe, and not for rows). Let me explain that a bit simpler for readers who don't know or forgot

Re: Matrix Multiplication bug and workaround

2017-07-30 Thread Alejandro Tejada via use-livecode
Hi Hermann, Hermann wrote: > This is not a bug, your script is wrong. > If TM is a,b,c,d,e,f then you have to d > put item 1 of pArgs into tMatrix[0,0] > put item 2 of pArgs into tMatrix[1,0] > put item 3 of pArgs into tMatrix[0,1] > put item 4 of pArgs into tMatrix[1,1] > this yields

Re: Matrix Multiplication bug and workaround

2017-07-30 Thread hh via use-livecode
Al, your script is wrong. You are building the matrix in a wrong way. It is no bug! With your 'workaround' you point yourself to the lines where you did make the mistake. http://lists.runrev.com/pipermail/use-livecode/2017-July/240074.html ___

Re: Matrix Multiplication bug and workaround

2017-07-30 Thread hh via use-livecode
Hi Al. This is not a bug, your script is wrong. If TM is a,b,c,d,e,f then you have to do put item 1 of pArgs into tMatrix[0,0] put item 2 of pArgs into tMatrix[1,0] put item 3 of pArgs into tMatrix[0,1] put item 4 of pArgs into tMatrix[1,1] this yields correct results. [In fact