Documentation ¶
Overview ¶
Package vektor isolates the mysteries of Swap for further investigation
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Vektor ¶
type Vektor struct {
// contains filtered or unexported fields
}
Vektor implements the Gridder interface in the c stlyle as seen in stam https://www.josstam.com/_files/ugd/cf1fd6_9989229efbd34a26ba5ccd913721a2ac.pdf
Basically a 1D vector stores the 2D values and two grid coordinates are translated to a single index
Perhaps the golang offers more performant or idomatic approaches - multi dimension slice, prolly better? - array (sans slice), doubtful? In the meantime, we have some isolation via the interface
Click to show internal directories.
Click to hide internal directories.