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
About first, I still think the name should be to_proc.
lambdify could be an alias (for those knowing SymEngine better than Ruby), but for this case (matching Python API?..) it should be left as SymEngine::lambdify. So, what I propose here is:
leave SymEngine::lambdify but explicitly state that Basic#to_proc is preferred;
make Basic#to_proc to be able to do everything SymEngine::lambdify could do.
For better intuitiveness for Ruby users, some SymEngine constructs can be changed.
@zverok Let's add such instances to a list here.
Basic#to_proc
instead ofSymEngine::lambdify(basic)
SymEngine::Symbol
to Ruby Symbols. (x = SymEngine(:x)
)The text was updated successfully, but these errors were encountered: