-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
A common pattern to expand a function is:
P = Legendre()
x = axes(P,1)
f = P / P \ exp.(x)But perhaps a shortcut would be useful so this is one line:
expand(Legendre(), exp)That is, add the function:
function expand(P, f)
x = axes(P,1)
P / P \ f.(x)
endReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels