Comments (2)
Dear Simon,
Thanks for your interest to the package.
Unfortunately, I don't know a way to retrieve an original name of a primitive function like cos(x) once it was assigned to another variable (here a parameter f in function g).
Instead, would it be possible for you to consider other call forms like g(~cos(x)) or g(quote(cos(x)) or g("cos(x)")?
Best,
Serguei.
from deriv.
Dear Simon,
Finally, I have managed to figure out a way to get a true name of renamed primitive function.
The fix is in actual devel branch. Now, your example should work.
This feature will be integrated in the next 3.8.1 release.
Best,
Sergueï.
from deriv.
Related Issues (20)
- problem with string formatting HOT 2
- Incorrect derivatives? HOT 5
- incorporating custom drules in a downstream package HOT 2
- Part of results gets into function arguments? HOT 1
- Things like c(x, y) ^ 2 are not supported HOT 3
- feature request: make it possible to extend Deriv by defining primitives HOT 3
- Does not work for list of functions (?) HOT 3
- Can't simplify `y + c(1, 2)` HOT 1
- Simplify `y + c(0, 1)` fails HOT 2
- Matrix calculus HOT 12
- support for genetic functions? HOT 6
- browser() HOT 2
- Error about the derivative for product HOT 2
- Problems with applying Deriv() to dbinom(). HOT 12
- Bug using long expressions in Deriv() related to deparse() HOT 1
- Error in missing(FALSE) : invalid use of 'missing' HOT 4
- problem with composite function HOT 3
- Error in FUN(X[[i]], ...) : Could not retrieve body of '[()' HOT 14
- Issues in Simplify.log HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deriv.