uxarray.grid.utils._inv_jacobian#
- uxarray.grid.utils._inv_jacobian(x0, x1, y0, y1, z0, z1, x_i_old, y_i_old)#
Calculate the inverse Jacobian matrix for a given set of parameters.
- Parameters:
- Returns:
The inverse Jacobian matrix if it is non-singular, or None if a singular matrix is encountered.
- Return type:
numpy.ndarray or None
Notes
This function calculates the inverse Jacobian matrix based on the provided parameters. If the Jacobian matrix is singular, a warning is printed, and None is returned.