Skip to main content

Questions tagged [downvalues]

Questions about DownValues which specify function definitions for symbols.

12 votes
2 answers
284 views

The fabricated example below demonstrates a bizarre case I ran into. (If it matters, this is with Mma 14.1 on Apple ARM, but I see the same behavior with Mma 12.3.1 on Intel x86.) On a whim, I tried ...
Alexander Perlis's user avatar
0 votes
0 answers
46 views

Consider this code defining the "fields" field and their "derivatives" dfield for some list ...
John Taylor's user avatar
  • 6,063
1 vote
2 answers
158 views

Consider the following setup: ...
user13892's user avatar
  • 10.4k
0 votes
0 answers
49 views

My version is 13.2. This behaviour of OptionsPattern together with `` is extracted from some complicated functions. Motivation <...
Acacia's user avatar
  • 3,467
4 votes
1 answer
168 views

As this post has discussed, UpValues are certainly useful, and as this post has discussed, g /: f[g[x_]] := h[x] is not ...
user688486's user avatar
1 vote
2 answers
168 views

I have lots of definitions of (usually numeric) quantities that depend on parameters; they're mostly matrices (in the actual code, there are many more definitions): ...
Deniz's user avatar
  • 329
4 votes
1 answer
159 views

I'm writing a lot of print functions for different parts in a package and at the moment am using something like myprint[ identifierString_String ][ data_ ] := ... ...
Gert's user avatar
  • 1,783
4 votes
2 answers
187 views

If I use span to assign a value to every element in a "column", it miraculously works: ...
Nicholas G's user avatar
  • 2,113

15 30 50 per page
1
2 3 4 5