Skip to content

CSML-IIT-UCL/linear_operator_learning

Repository files navigation

SVG Image

Install

To install this package as a dependency, run:

pip install linear-operator-learning

Development

To develop this project, please setup the uv project manager by running the following commands:

curl -LsSf https://astral.sh/uv/install.sh | sh
git clone git@github.com:CSML-IIT-UCL/linear_operator_learning.git 
cd linear_operator_learning
uv sync --dev
uv run pre-commit install

Optional

Set up your IDE to automatically apply the ruff styling.

Development principles

Please adhere to the following principles while contributing to the project:

  1. Adopt a functional style of programming. Avoid abstractions (classes) at all cost.
  2. To add a new feature, create a branch and when done open a Pull Request. You should not approve your own PRs.
  3. The package contains both numpy and torch based algorithms. Let's keep them separated.
  4. The functions shouldn't change the dtype or device of the inputs (that is, keep a functional approach).
  5. Try to complement your contributions with simple examples to be added in the examples folder. If you need some additional dependency add it to the examples dependency group as uv add --group examples _your_dependency_.

About

A package to Learn Linear Operators

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages