File tree Expand file tree Collapse file tree 3 files changed +15
-11
lines changed Expand file tree Collapse file tree 3 files changed +15
-11
lines changed Original file line number Diff line number Diff line change @@ -17,29 +17,32 @@ jobs:
17
17
docs :
18
18
name : Documentation
19
19
runs-on : ubuntu-latest
20
+ container :
21
+ image : cupy/cupy:v13.4.0
22
+
20
23
steps :
21
24
- uses : actions/checkout@v3
22
25
23
- - name : Set up Python
24
- uses : actions/setup-python@v3
25
- with :
26
- python-version : 3.12.0
27
-
28
- - name : Set up Python environment
26
+ - name : Set up git
27
+ run : apt-get update && apt-get install git -y
28
+
29
+ - name : Install system dependencies
29
30
run : |
30
- python -m venv venv
31
- source venv/bin/activate
31
+ apt-get update && apt-get install -y python3-venv python3-pip
32
32
33
- - name : Install dependencies
33
+ - name : Install additional dependencies
34
34
run : |
35
+ python3 -m venv venv
35
36
source venv/bin/activate
36
37
python -m pip install .
38
+ shell : bash -e {0}
37
39
38
40
- name : Generate documentation
39
41
run : |
40
42
source venv/bin/activate
41
43
cd docs
42
44
make html
45
+ shell : bash -e {0}
43
46
44
47
- name : Deploy
45
48
if : success()
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ fonttools==4.56.0
17
17
idna == 3.10
18
18
imagesize == 1.4.1
19
19
iniconfig == 2.0.0
20
- ipython == 9.0.1
20
+ ipython == 8.33.0
21
21
ipython_pygments_lexers == 1.1.1
22
22
jedi == 0.19.2
23
23
Jinja2 == 3.1.5
@@ -46,6 +46,7 @@ pytest==8.3.4
46
46
python-dateutil == 2.9.0.post0
47
47
PyYAML == 6.0.2
48
48
requests == 2.32.3
49
+ roman-numerals-py == 3.1.0
49
50
scipy == 1.15.2
50
51
setuptools == 75.8.0
51
52
six == 1.17.0
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ def eigenvalues_cp(A):
80
80
This function checks if the input matrix is square and symmetric, then computes its eigenvalues using
81
81
CuPy's sparse linear algebra solvers. It uses `eigsh` for more efficient computation.
82
82
Remark that the eigsh function in this case does not allow to compute *all* the eigenvalues, but only a number
83
- $ m<n$ , so here just a reduced portion is computed (starting form the ones which are greater in magnitude).
83
+ m<n, so here just a reduced portion is computed (starting form the ones which are greater in magnitude).
84
84
85
85
Args:
86
86
A (cpsp.spmatrix): A square sparse matrix whose eigenvalues are to be computed.
You can’t perform that action at this time.
0 commit comments