We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@symfun/symvar
@sym/symvar and @symfun/symvar are subtly different (as documented).
@sym/symvar
diff(f) where f is a symfun should use @symfun/symvar, but it looks like it does not:
diff(f)
f
syms f(g, h) diff(f) ans(g, h) = (symfun) ∂ ──(f(g, h)) ∂h
I think that should be w.r.t. g because:
g
symvar(f, 1) ans = (sym) g
The text was updated successfully, but these errors were encountered:
So in @symvar/diff we call diff(f.sym, ...) (effectively casting to @sym).
@symvar/diff
diff(f.sym, ...)
@sym
I think instead we should call the superclass method @sym/diff on f itself.
@sym/diff
If this was classdef, that should be diff@sym(f, ...). But how do we accomplish that with old-style classes?
diff@sym(f, ...)
@mtmiller do you happen to know how to call a superclass method in old-style classes?
Sorry, something went wrong.
No sorry
might punt this until we are based on classdef (#545) and see if it can be easily fixed after that.
No branches or pull requests
@sym/symvar
and@symfun/symvar
are subtly different (as documented).diff(f)
wheref
is a symfun should use@symfun/symvar
, but it looks like it does not:I think that should be w.r.t.
g
because:The text was updated successfully, but these errors were encountered: