You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/index.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ using ApproxFun
4
4
5
5
# ApproxFun.jl Documentation
6
6
7
-
ApproxFun is a package for approximating and manipulating functions, and for solving differential and integral equations.
7
+
ApproxFun is a package for approximating and manipulating functions, and for solving differential and integral equations.
8
8
9
9
## Introduction
10
10
@@ -20,7 +20,7 @@ Some traditional examples of bases ``\mathop{ψ}_1(x), \mathop{ψ}_2(x), …`` a
20
20
2. Fourier series (for periodic functions on `0..2π`): ``1, \sin{x}, \cos{x}, \sin{2x}, …``
21
21
3. Chebyshev series (for non-periodic functions on `-1..1`): ``1, x, \cos(2\arccos{x}), \cos(3\arccos{x}), …``
22
22
23
-
In ApproxFun, functions are represented by a `Fun` with two components: `space`, which dictates the basis and `coefficients` which is a finite vector of coefficients. Note that each `Fun` can have a different length vector of coefficients, allowing for approximation of many different functions to high accuracy.
23
+
In ApproxFun, functions are represented by a `Fun` with two components: `space`, which dictates the basis and `coefficients` which is a finite vector of coefficients. Note that each `Fun` can have a different length vector of coefficients, allowing for approximation of many different functions to high accuracy.
24
24
25
25
The approximation by a `Fun` can be determined by a variety of methods:
26
26
@@ -39,7 +39,7 @@ Fun(exp)
39
39
40
40
determines that `f` can be approximated to roughly machine precision using 14 coefficients. See [Constructors](usage/constructors.md) for more information.
41
41
42
-
(3) Manipulation of `Fun`s give new `Fun`s, where the number of coefficients is determined from the input. The simplest example is addition, which for compatible bases is just padding the vectors to the same length and adding.
42
+
(3) Manipulation of `Fun`s give new `Fun`s, where the number of coefficients is determined from the input. The simplest example is addition, which for compatible bases is just padding the vectors to the same length and adding.
43
43
44
44
```@repl using-pkgs
45
45
a = Fun(cos,Chebyshev()); ncoefficients(a)
@@ -62,7 +62,7 @@ a(0.1)*b(0.1) - (a*b)(0.1)
62
62
63
63
The example of multiplication highlights the importance of adaptivity: if with a fixed discretization size, operations like multiplication would lose accuracy when the true function is no longer resolved by the discretization. More complicated examples are solving differential equations, where the coefficients of the solution can be determined adaptively, see [Equations](usage/equations.md).
64
64
65
-
ApproxFun supports a number of different spaces, as described in [Spaces](usage/spaces.md). A key component of ApproxFun is support for interaction between different spaces. This is crucial for efficient solution of differential equations, where linear operators are described as acting between different spaces, see [Operators](usage/operators.md).
65
+
ApproxFun supports a number of different spaces, as described in [Spaces](usage/spaces.md). A key component of ApproxFun is support for interaction between different spaces. This is crucial for efficient solution of differential equations, where linear operators are described as acting between different spaces, see [Operators](usage/operators.md).
0 commit comments