The tag has no wiki summary.

learn more… | top users | synonyms

4
votes
1answer
50 views

How to add UpValues to a symbol to make a expression expanded normally´╝č

Here is a implementaion of Bernstein basis function. I add the following UpValues to ...
3
votes
0answers
123 views

How do I add options to a built in function, which only apply to a certain class of argument?

I'd like to add an option to a built-in function that only applies when it is given an argument of a certain form. For example, something like this approach to extending ...
1
vote
0answers
35 views

Upvalues and order of interpretation

I'm trying to use UpValues to improve the usability of some code, but I am running into an issue where the order of the UpValues is important, and I am not sure if it is my understanding or a ...