Code Snippets

Code Snippets

Golang 2D Lookup Table

Here is a simple 2D lookup table with linear interpolation written in Go. The table is able to take custom non-linear x,y axis values and return the corresponding z value.