note about numpy ndarray

This commit is contained in:
Jan Petykiewicz 2020-01-04 18:49:20 -08:00
parent 8b0faf720d
commit f408689ef3

View File

@ -8,7 +8,7 @@ Fields, Functions, and Operators
Discrete fields are stored in one of two forms: Discrete fields are stored in one of two forms:
- The `field_t` form is a multidimensional numpy array - The `field_t` form is a multidimensional `numpy.ndarray`
+ For a scalar field, this is just `U[m, n, p]`, where `m`, `n`, and `p` are + For a scalar field, this is just `U[m, n, p]`, where `m`, `n`, and `p` are
discrete indices referring to positions on the x, y, and z axes respectively. discrete indices referring to positions on the x, y, and z axes respectively.
+ For a vector field, the first index specifies which vector component is accessed: + For a vector field, the first index specifies which vector component is accessed: