Vector returns the value of a vector field at (c, r). It will panic if c or r are out of bounds for the field.
(c, r int)
| 21 | // Vector returns the value of a vector field at (c, r). |
| 22 | // It will panic if c or r are out of bounds for the field. |
| 23 | Vector(c, r int) XY |
| 24 | |
| 25 | // X returns the coordinate for the column at the index c. |
| 26 | // It will panic if c is out of bounds for the grid. |