File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -1159,11 +1159,11 @@ Defines the length of the DCT. If `n` is not specified (the default) then `n = s
1159
1159
This argument is ` intent(in) ` and ` optional ` .
1160
1160
Defines the type of DCT to be performed. The default type is ` 2 ` .
1161
1161
1162
- #### Return value
1162
+ ### Return value
1163
1163
1164
1164
Returns a ` real ` and rank-1 array, the DCT type-` t ` of the input data ` x ` .
1165
1165
1166
- #### Notes
1166
+ ### Notes
1167
1167
1168
1168
Within numerical accuracy,
1169
1169
- ` 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
1217
1217
This argument is ` intent(in) ` and ` optional ` .
1218
1218
Defines the type of the IDCT to be performed. The default type is ` 2 ` .
1219
1219
1220
- #### Return value
1220
+ ### Return value
1221
1221
1222
1222
Returns a ` real ` and rank-1 array, the IDCT type-` t ` of the input data ` x ` .
1223
1223
1224
- #### Notes
1224
+ ### Notes
1225
1225
1226
1226
Within numerical accuracy,
1227
1227
- ` x == idct(dct(x, type=1), type=1) / (2*(size(x) - 1)) `
@@ -1240,6 +1240,10 @@ program demo_idct
1240
1240
end program demo_idct
1241
1241
```
1242
1242
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
+
1243
1247
# Utility functions
1244
1248
1245
1249
## ` fftshift `
You can’t perform that action at this time.
0 commit comments