Questions on attributes of functions in Mathematica.
13
votes
2answers
299 views
SetAttributes[f,Flat]: Why the order dependence?
I'm experiencing a strange phenomenon. Here's a (quite artificial) test case:
The following definition work just fine:
...
23
votes
2answers
681 views
Block attributes of Equal
I answered “Equating matrices (or higher order tensors) element-wise” with:
...
16
votes
1answer
345 views
How do you set attributes on SubValues?
SubValues, as discussed in a previous question, are declared as follows
...
9
votes
4answers
360 views
how to differentiate formally?
I have been wrapping my head around this for a while now and I have not found a solution so far.
I want to work with an arbitrary number of variables in mathematica and use some built in functions.
...
4
votes
3answers
167 views
Define an 'inner product' with AngleBracket
I want to define my own little 'Inner Product' function satisfying properties of linearity and commutativity, and I'd like to use the "$\langle$" and "$\rangle$" symbols to output my results. For ...
6
votes
1answer
140 views
DiracDelta attributes
Is there any reason why DiracDelta isn't a NumericFunction but DiracComb is?
I just ate a ...
5
votes
2answers
122 views
