Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions docs/src/internals/multivariate.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,9 @@ f=Fun((x,y)->exp(-x^2-y^2), ChebyshevInterval()^2)

constructs a function on the rectangle `[-1,1]^2`. Just as in the 1D case, `f.coefficients` is a `Vector` of coefficients, and `f.space` is a `Space` that tells how to interpret the coefficients.

## TensorSpace

In the example above, the resulting space is a [`TensorSpace`](@ref).

## AbstractProductSpace

In the example above, the resulting space is a [`ApproxFunBase.TensorSpace`](@ref).
A `TensorSpace` is a subtype of `AbstractProductSpace`. The purpose of `AbstractProductSpace`s beyond `TensorSpace` is that it is often convenient to use different bases in one-dimension depending on the order. Thus we want to be able to represent functions in the basis `φ_k^j(x)ζ_j(y)`: for example, we could have the basis
```math
(1-x^2)^{m/2} \mathrm{P}_k^{(m,m)}(x) e^{imy}
Expand Down
2 changes: 1 addition & 1 deletion docs/src/usage/spaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ More complicated examples may interlace the coefficients using a different strat
### `TensorSpace`

`TensorSpace((space_1,space_2))` represents the tensor product of two spaces.
See the documentation of [`TensorSpace`](@ref) for more details on how the coefficients are interlaced.
See the documentation of [`ApproxFunBase.TensorSpace`](@ref) for more details on how the coefficients are interlaced.
Note that more than two spaces is only partially supported.

## Unset space
Expand Down