Skip to content

Commit 62396ea

Browse files
committed
docs reference link
1 parent fa10e9c commit 62396ea

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

doc/specs/fftpack.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,11 +1159,11 @@ Defines the length of the DCT. If `n` is not specified (the default) then `n = s
11591159
This argument is `intent(in)` and `optional`.
11601160
Defines the type of DCT to be performed. The default type is `2`.
11611161

1162-
#### Return value
1162+
### Return value
11631163

11641164
Returns a `real` and rank-1 array, the DCT type-`t` of the input data `x`.
11651165

1166-
#### Notes
1166+
### Notes
11671167

11681168
Within numerical accuracy,
11691169
- `x == idct(dct(x, type=1), type=1) / (2*(size(x) - 1))`
@@ -1217,11 +1217,11 @@ Defines the length of the Fourier transform. If `n` is not specified (the defaul
12171217
This argument is `intent(in)` and `optional`.
12181218
Defines the type of the IDCT to be performed. The default type is `2`.
12191219

1220-
#### Return value
1220+
### Return value
12211221

12221222
Returns a `real` and rank-1 array, the IDCT type-`t` of the input data `x`.
12231223

1224-
#### Notes
1224+
### Notes
12251225

12261226
Within numerical accuracy,
12271227
- `x == idct(dct(x, type=1), type=1) / (2*(size(x) - 1))`
@@ -1240,6 +1240,10 @@ program demo_idct
12401240
end program demo_idct
12411241
```
12421242

1243+
## References
1244+
1245+
[1] Wikipedia, "Discrete cosine transform", [https://en.wikipedia.org/wiki/Discrete_cosine_transform](https://en.wikipedia.org/wiki/Discrete_cosine_transform)
1246+
12431247
# Utility functions
12441248

12451249
## `fftshift`

0 commit comments

Comments
 (0)