Skip to content

Conversation

@alanlujan91
Copy link
Owner

Add detailed docstrings, type hints, and validation checks to functions in various backend files to improve code uniformity.

  • src/multinterp/backend/_torch.py:

    • Add detailed docstrings to all functions.
    • Add type hints to all functions.
    • Add validation checks for function parameters.
    • Add inline comments explaining the purpose of each function.
  • src/multinterp/backend/_numba.py:

    • Add validation checks for function parameters.
    • Add inline comments explaining the purpose of each function.
  • src/multinterp/backend/_scipy.py:

    • Add validation checks for function parameters.
    • Add inline comments explaining the purpose of each function.
  • src/multinterp/backend/_cupy.py:

    • Add validation checks for function parameters.
  • src/multinterp/backend/_jax.py:

    • Add validation checks for function parameters.
  • src/multinterp/backend/__init__.py:

    • Add type hints to all functions.
  • src/multinterp/rectilinear/_multi.py:

    • Add type hints to all functions.

Add detailed docstrings, type hints, and validation checks to functions in various backend files to improve code uniformity.

* **`src/multinterp/backend/_torch.py`**:
  - Add detailed docstrings to all functions.
  - Add type hints to all functions.
  - Add validation checks for function parameters.
  - Add inline comments explaining the purpose of each function.

* **`src/multinterp/backend/_numba.py`**:
  - Add validation checks for function parameters.
  - Add inline comments explaining the purpose of each function.

* **`src/multinterp/backend/_scipy.py`**:
  - Add validation checks for function parameters.
  - Add inline comments explaining the purpose of each function.

* **`src/multinterp/backend/_cupy.py`**:
  - Add validation checks for function parameters.

* **`src/multinterp/backend/_jax.py`**:
  - Add validation checks for function parameters.

* **`src/multinterp/backend/__init__.py`**:
  - Add type hints to all functions.

* **`src/multinterp/rectilinear/_multi.py`**:
  - Add type hints to all functions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants