Skip to content

Commit d4df6a0

Browse files
committed
README.md: fixed header levels for DCT/DST
1 parent 82917dd commit d4df6a0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ minfft_aux* minfft_mkaux_realdft (int d, int *Ns);
172172
void minfft_invrealdft (minfft_cmpl *z, minfft_real *y, const minfft_aux *a);
173173
```
174174

175-
#### DCT-2
175+
### DCT-2
176176
$$ y_n=2\sum_{k=0}^{N-1}x_k\cos(\frac{\pi}{N}(k+\frac{1}{2})n), ~ n=0,1,\dots,N{-}1 $$
177177
```C
178178
minfft_aux* minfft_mkaux_t2t3_1d (int N);
@@ -182,7 +182,7 @@ minfft_aux* minfft_mkaux_t2t3 (int d, int *Ns);
182182
void minfft_dct2 (minfft_real *x, minfft_real *y, const minfft_aux *a);
183183
```
184184
185-
#### DST-2
185+
### DST-2
186186
$$ y_n=2\sum_{k=0}^{N-1}x_k\sin(\frac{\pi}{N}(k+\frac{1}{2})(n+1)), ~ n=0,1,\dots,N{-}1 $$
187187
```C
188188
minfft_aux* minfft_mkaux_t2t3_1d (int N);
@@ -192,7 +192,7 @@ minfft_aux* minfft_mkaux_t2t3 (int d, int *Ns);
192192
void minfft_dst2 (minfft_real *x, minfft_real *y, const minfft_aux *a);
193193
```
194194

195-
#### DCT-3
195+
### DCT-3
196196
$$ y_n=x_0+2\sum_{k=1}^{N-1}x_k\cos(\frac{\pi}{N}k(n+\frac{1}{2})), ~ n=0,1,\dots,N{-}1 $$
197197
```C
198198
minfft_aux* minfft_mkaux_t2t3_1d (int N);
@@ -202,7 +202,7 @@ minfft_aux* minfft_mkaux_t2t3 (int d, int *Ns);
202202
void minfft_dct3 (minfft_real *x, minfft_real *y, const minfft_aux *a);
203203
```
204204
205-
#### DST-3
205+
### DST-3
206206
$$ y_n=2\sum_{k=0}^{N-2}x_k\sin(\frac{\pi}{N}(k+1)(n+\frac{1}{2}))+(-1)^{n}x_{N-1}, ~ n=0,1,\dots,N{-}1 $$
207207
```C
208208
minfft_aux* minfft_mkaux_t2t3_1d (int N);
@@ -212,7 +212,7 @@ minfft_aux* minfft_mkaux_t2t3 (int d, int *Ns);
212212
void minfft_dst3 (minfft_real *x, minfft_real *y, const minfft_aux *a);
213213
```
214214

215-
#### DCT-4
215+
### DCT-4
216216
$$ y_n=2\sum_{k=0}^{N-1}x_k\cos(\frac{\pi}{N}(k+\frac{1}{2})(n+\frac{1}{2})), ~ n=0,1,\dots,N{-}1 $$
217217
```C
218218
minfft_aux* minfft_mkaux_t4_1d (int N);
@@ -222,7 +222,7 @@ minfft_aux* minfft_mkaux_t4 (int d, int *Ns);
222222
void minfft_dct4 (minfft_real *x, minfft_real *y, const minfft_aux *a);
223223
```
224224
225-
#### DST-4
225+
### DST-4
226226
$$ y_n=2\sum_{k=0}^{N-1}x_k\sin(\frac{\pi}{N}(k+\frac{1}{2})(n+\frac{1}{2})), ~ n=0,1,\dots,N{-}1 $$
227227
```C
228228
minfft_aux* minfft_mkaux_t4_1d (int N);

0 commit comments

Comments
 (0)