# Questions tagged [subvalues]

Questions about SubValues which specify function definitions for symbols.

8 questions
Filter by
Sorted by
Tagged with
39 views

### Create an operator that holds its arguments [duplicate]

How can I create an operator that holds its arguments? I am looking to define something similar to oper[x_][expr_] := Hold[expr] I am expecting the following ...
66 views

### Saving DownValues for a function computed in parallel

Is it possible to save DownValues of a function computed using a parallelization routine? I have a rather costly function f I wish to evaluate at a grid and save ...
231 views

### How to select specific subvalues from a function definition

Consider: h[1][tag1] = 1; h[1][tag2] = 2; h[2][tag1] = 3; h[2][tag2] = 4; Is there a fast way to obtain downvalues for only h[1], or h[2]? For example ...
206 views

### Graphics Function Definition Style (Using SubValues vs. DownValues)

I am going through some of the items in "Modern Differential Geometry of Curves and Surfaces with Mathematica, Third Edition". An example of the style used by these authors is: ...
78 views

### use variables again after derivation

I have something the following form: a= 3*k; b=c*d*a; h[k_]=b*k^3; so if I use l[k_]=D[h[k],k] I get ...
88 views

### Constructing an Array from typed expression

I want to produce an array from expressions given by test[one][1] = 3; . . test[one][5] = 7; etc. Normally would use ...
I would like to be able to define the gain function of a system from its parameters. Specifically, I'd like to define a function that accepts two inputs, call them $b$ and $w$, and returns a function ...