The following video spread up and down the MATLAB Math team's hallway like wildfire yesterday:
I said there was some room for improvement because I thought the last 20 seconds or so of the algorithm could be optimized away. However, math developer Bobby informed me that those last few dance steps are necessary to make sure that the right thing happens when the input contains NaNs. (Thanks also to Bobby for providing the title of today's post.)
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.