From 12c4a2b5b9f3f6aa03c12c53731081eb644a3d36 Mon Sep 17 00:00:00 2001 From: Jishnu Bhattacharya Date: Mon, 1 Dec 2025 22:08:04 +0530 Subject: [PATCH] Fix `Tensorspace` ref in docs --- docs/src/internals/multivariate.md | 5 +---- docs/src/usage/spaces.md | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/src/internals/multivariate.md b/docs/src/internals/multivariate.md index 15dd44e19..4a25849cd 100644 --- a/docs/src/internals/multivariate.md +++ b/docs/src/internals/multivariate.md @@ -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} diff --git a/docs/src/usage/spaces.md b/docs/src/usage/spaces.md index 237a63bbe..39383f5b0 100644 --- a/docs/src/usage/spaces.md +++ b/docs/src/usage/spaces.md @@ -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