Skip to content

Commit 58edfc8

Browse files
committed
Add a list of all use cases at the top of the section
1 parent 723344a commit 58edfc8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

spec/use_cases.md

+14
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ considered, and then works out a few concrete use cases in more detail.
1919

2020
## Concrete use cases
2121

22+
- :ref:`use-case-scipy`
23+
- :ref:`use-case-einops`
24+
- :ref:`use-case-xtensor`
25+
- :ref:`use-case-numba`
26+
27+
28+
.. _use-case-scipy:
29+
2230
### Use case 1: add GPU and distributed support to SciPy
2331

2432
When surveying a representative set of advanced users and research software
@@ -111,6 +119,8 @@ and have `freq`, `Pxx` be arrays of the same type and on the same device as `x`.
111119
scikit-bio, to code written for a single purpose or user.
112120

113121

122+
.. _use-case-einops:
123+
114124
### Use case 2: simplify einops by removing the backend system
115125

116126
[einops](https://github.com/arogozhnikov/einops) is a library that provides flexible tensor operations and supports many array libraries (NumPy, TensorFlow, PyTorch, CuPy, MXNet, JAX).
@@ -145,6 +155,8 @@ Hence the complete `einops` code base could be close to 50% smaller, and easier
145155
array types in a single API.
146156

147157

158+
.. _use-case-xtensor:
159+
148160
### Use case 3: adding a Python API to xtensor
149161

150162
[xtensor](https://github.com/xtensor-stack/xtensor) is a C++ array library
@@ -174,6 +186,8 @@ without having to make the above-mentioned choices.
174186
and could translate this array API standard 1:1 to their language.
175187

176188

189+
.. _use-case-numba:
190+
177191
### Use case 4: make JIT compilation of array computations easier and more robust
178192

179193
[Numba](https://github.com/numba/numba) is a Just-In-Time (JIT) compiler for

0 commit comments

Comments
 (0)