Previously I wrote about latin squares and set a puzzle. Can we make a latin square where all possible pairs are represented in adjacent squares? We can demonstrate this for an n x n latin square where n = 12 In the above images, the normalised latin square only has 12 different pairs out of […]
Tag: programming
Seles II: Tennis coding challenge solution
In a previous post, I described a coding challenge sent to me by my colleague. Here is the challenge again: There is a tennis match between two players denoted 1, and 2. You are given a sequence of 1s and 2s whereby each number denotes a point won by player 1 or player 2 (e.g. […]
Seles: Tennis coding challenge
A colleague sent me a coding challenge. This is a short post to describe how I tackled it. Edit: a follow-up post is here. This is the challenge: There is a tennis match between two players denoted 1, and 2. You are given a sequence of 1s and 2s whereby each number denotes a point […]
My Blank Pages VI: Programming in Igor Pro
It has been a long time since I wrote a book review. A few months ago I read on IgorExchange that Martin Schmid had written a book about programming Igor. I snapped up a copy. I’m a competent Igor programmer but I was hoping that this book would be useful for lab members that want […]