Newly tracked file
src/derivatives.jl
changed.
Newly tracked file
src/generic_api.jl
changed.
Other files ignored by Codecov
Project.toml
has changed.
83 | 83 | Consequently, for most applications, you only need to specify tags if you want a different |
|
84 | 84 | nesting than left-to-right. |
|
85 | 85 | ||
86 | + | # Important note about transformations |
|
87 | + | ||
88 | + | Always use `derivatives` *before* a transformation for correct results. For example, for some |
|
89 | + | transformation `I` and value `x` in the transformed domain, |
|
90 | + | ||
91 | + | ```julia |
|
92 | + | basis_at(basis2, to_pm1(I, derivatives(x))) # right |
|
93 | + | ``` |
|
94 | + | ||
95 | + | instead of |
|
96 | + | ||
97 | + | ```julia |
|
98 | + | basis_at(basis2, derivatives(to_pm1(I, x))) # WRONG |
|
99 | + | ``` |
|
100 | + | ||
86 | 101 | # Univariate example |
|
87 | 102 | ||
88 | 103 | ```jldoctest |
164 | 164 | The collocation matrix may not be an `AbstractMatrix`, all it needs to support is `C \\ y` |
|
165 | 165 | for compatible vectors `y = f.(x)`. |
|
166 | 166 | ||
167 | - | Methods are type stable. |
|
167 | + | Methods are type stable. The elements of `x` can be [`derivatives`](@ref). |
|
168 | 168 | """ |
|
169 | 169 | function collocation_matrix(basis, x = grid(basis)) |
|
170 | 170 | @argcheck isconcretetype(eltype(x)) |
Files | Coverage |
---|---|
src | 86.21% |
Project Totals (7 files) | 86.21% |