Utils¶
Utility functions.
Complex¶
Lists¶
Vectors¶
- fiesta.utils.get_vector_magnitude_2D(x: ndarray, y: ndarray) ndarray¶
Returns the magnitude for vectors.
- Parameters:
x (array) – X component.
y (array) – Y component.
- Returns:
mag – Magnitude of the vector.
- Return type:
array
- fiesta.utils.get_vector_magnitude_3D(x: ndarray, y: ndarray, z: ndarray) ndarray¶
Returns the magnitude for vectors.
- Parameters:
x (array) – X component.
y (array) – Y component.
z (array) – Z component.
- Returns:
mag – Magnitude of the vector.
- Return type:
array