You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to convert symbolic parameters and variables into an interpolation using datainterpolations and have a symbolic equation that then evaluates on this? My idea is as follows
using DataInterpolations,ModelingToolkit
@variables y(t)[1:10] A B
@parameters xgrid[1:10] C
spl = LinearInterpolation(xgrid,y)
@register_symbolic spl(x::AbstractVector,y::AbstractVector)::LinearInterpolation
B ~ spl(A)*C
The text was updated successfully, but these errors were encountered:
Question❓
Is there a way to convert symbolic parameters and variables into an interpolation using datainterpolations and have a symbolic equation that then evaluates on this? My idea is as follows
The text was updated successfully, but these errors were encountered: