Skip to content

Commit 27975f6

Browse files
authored
Fix LaTeX expression in ChebshevT (#393)
Signed-off-by: ErikQQY <[email protected]>
1 parent 11b470e commit 27975f6

File tree

1 file changed

+24
-3
lines changed

1 file changed

+24
-3
lines changed

docs/src/polynomials/chebyshev.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,28 @@ end
77
```
88

99

10-
The [Chebyshev polynomials](https://en.wikipedia.org/wiki/Chebyshev_polynomials) are two sequences of polynomials, `T_n` and `U_n`. The Chebyshev polynomials of the first kind, `T_n`, can be defined by the recurrence relation `T_0(x)=1`, `T_1(x)=x`, and `T_{n+1}(x) = 2xT_n{x}-T_{n-1}(x)`. The Chebyshev polynomioals of the second kind, `U_n(x)`, can be defined by `U_0(x)=1`, `U_1(x)=2x`, and `U_{n+1}(x) = 2xU_n(x) - U_{n-1}(x)`. Both `T_n` and `U_n` have degree `n`, and any polynomial of degree `n` may be uniquely written as a linear combination of the polynomials `T_0`, `T_1`, ..., `T_n` (similarly with `U`).
10+
The [Chebyshev polynomials](https://en.wikipedia.org/wiki/Chebyshev_polynomials) are two sequences of polynomials, ``T_n`` and ``U_n``. The Chebyshev polynomials of the first kind, ``T_n``, can be defined by the recurrence relation:
11+
12+
```math
13+
T_0(x)=1,\ T_1(x)=x
14+
```
15+
16+
```math
17+
T_{n+1}(x) = 2xT_n{x}-T_{n-1}(x)
18+
```
19+
20+
The Chebyshev polynomioals of the second kind, ``U_n(x)``, can be defined by
21+
22+
```math
23+
U_0(x)=1,\ U_1(x)=2x
24+
```
25+
26+
```math
27+
U_{n+1}(x) = 2xU_n(x) - U_{n-1}(x)
28+
```
29+
30+
31+
Both ``T_n`` and ``U_n`` have degree ``n``, and any polynomial of degree ``n`` may be uniquely written as a linear combination of the polynomials ``T_0``, ``T_1``, ..., ``T_n`` (similarly with ``U_n``).
1132

1233

1334
## First Kind
@@ -16,9 +37,9 @@ The [Chebyshev polynomials](https://en.wikipedia.org/wiki/Chebyshev_polynomials)
1637
ChebyshevT
1738
```
1839

19-
The `ChebyshevT` type holds coefficients representing the polynomial `a_0 T_0 + a_1 T_1 + ... + a_n T_n`.
40+
The `ChebyshevT` type holds coefficients representing the polynomial ``a_0 T_0 + a_1 T_1 + ... + a_n T_n``.
2041

21-
For example, the basis polynomial `T_4` can be represented with `ChebyshevT([0,0,0,0,1])`.
42+
For example, the basis polynomial ``T_4`` can be represented with `ChebyshevT([0,0,0,0,1])`.
2243

2344

2445
### Conversion

0 commit comments

Comments
 (0)