magpack.vectorop#
Functions
Calculates the angular difference between vectors at the same positions of array a and b. |
|
Calculates the angular gradient of a vector field. |
|
Converts 2D cartesian coordinates to polar coordinates. |
|
Converts cartesian coordinates to spherical coordinates. |
|
Calculates the curl of a vector field. |
|
Calculates the divergence of a vector field. |
|
Converts Jones polarization vector to Stokes polarization vector. |
|
Calculate N-Dimensional Levi Civita tensor |
|
Calculates the magnitude of a vector field. |
|
Calculates the magnitude difference between vectors at the same positions of array a and b. |
|
Scales all vectors in the array to unit length. |
|
Compute the gradient of a scalar field. |
|
Calculates the scalar Laplacian of a scalar field. |
|
Scales all values in the array such that they lie within the specified range. |
|
Calculates the skyrmion topological number. |
|
Converts spherical coordinates to cartesian coordinates. |
|
Converts Stokes polarization vector to Jones polarization vector. |
|
Compute the laplacian of a vector field (cartesian). |
|
Calculates the magnetic vorticity vector field for the given vector field. |