Skip to content

Commit

Permalink
document transformation
Browse files Browse the repository at this point in the history
  • Loading branch information
tpapp committed Jun 18, 2024
1 parent f0066e9 commit 1a8149f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/generic_api.jl
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,15 @@ end

Base.parent(basis::TransformedBasis) = basis.parent

"""
$(SIGNATURES)
Return the transformation of transformed bases, or `nothing` it not applicable.
"""
transformation(basis::TransformedBasis) = basis.transformation

transformation(::FunctionBasis) = nothing

domain(basis::TransformedBasis) = domain(basis.transformation)

dimension(basis::TransformedBasis) = dimension(basis.parent)
Expand Down

0 comments on commit 1a8149f

Please sign in to comment.