Skip to content

Commit c02fce1

Browse files
Fixed indices in formula (#78)
1 parent 27c7b79 commit c02fce1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/pygenstability/constructors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
.. math::
66
7-
Q_{gen}(t,H) = \mathrm{Tr} \left [H^T \left (F(t)-\sum_{k=1}^m v_{2k} v_{2k+1}^T\right)H\right]
7+
Q_{gen}(t,H) = \mathrm{Tr} \left [H^T \left (F(t)-\sum_{k=1}^m v_{2k-1} v_{2k}^T\right)H\right]
88
99
where :math:`F(t)` is the quality matrix and :math:`v_k` are null model vectors.
1010

src/pygenstability/pygenstability.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
.. math::
66
7-
Q_{gen}(t,H) = \mathrm{Tr} \left [H^T \left (F(t)-\sum_{k=0}^m v_{2k} v_{2k+1}^T\right)H\right]
7+
Q_{gen}(t,H) = \mathrm{Tr} \left [H^T \left (F(t)-\sum_{k=1}^m v_{2k-1} v_{2k}^T\right)H\right]
88
99
where :math:`F(t)` is the quality matrix and :math:`v_k` are null model vectors.
1010
The choice of the quality matrix and null model vectors are arbitrary in the generalized

0 commit comments

Comments
 (0)