Nkrs
Trying to hunt down a bug with MATLAB using wrong indices to access matrix elements, so I rewrote the entire program line-by-line from MATLAB to Go. The program gained 100 lines due to newly defined data structures, parsing CSV into them, and error checking. Not only am I getting the *correct* results now, but the program is much faster (reduction from over 5 seconds down to under 0.1 second).
8y, 47w
4 replies
¬