Skip to content

Commit 48295ed

Browse files
committed
Fix wording about sign of det(J)
1 parent 61c2165 commit 48295ed

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

docs/src/defining_examples.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,9 @@ $$J = \begin{bmatrix}
3535

3636
In general, the Jacobian of such a transformation is a [permutation matrix](https://en.wikipedia.org/wiki/Permutation_matrix).
3737
The determinant of a permutation matrix is either `1` or `-1`, depending on whether the permutation is even or odd.
38+
(In this case, it is even; but it could be odd for other shifts and/or input sizes.)
3839
This means that the log-absolute determinant of the Jacobian is always `0`.
3940

40-
!!! note
41-
42-
In our case, the permutation is always even, since we are performing a cyclic shift. However, since we only need the log-*absolute* determinant, we don't even need to worry about knowing this.
43-
4441
We can now implement `with_logabsdet_jacobian`.
4542

4643
```@example cyclic

0 commit comments

Comments
 (0)