# Linked Questions

0answers
18 views

### How to memoize with patterns? [duplicate]

Here is an artificial example to explain what I am up to. Define ClearAll[f] f[x_, y_] := f[x, y] = If[x == 0, g[y], g[f[x - 1, y]]] Then ...
1answer
101 views

### Functions that remember some arguments while not remembering other arguments

I would like to some programming that is very generic. Particularly I am interested in the following: Let's say I want to write a function ...
1answer
69 views

2answers
423 views

### How to implement a numerically efficient Airy Zeta Function

Define the Airy zeta function for $n=2,3,\dots$, by $$Z(n) := \sum_r \frac{1}{r^n}.$$ where the sum is over the zeros $r$ of the Airy function $\operatorname{Ai}$. In Mathematica the \$\operatorname{...
4answers
4k views

2answers
312 views

### using memoization with conditional statement

I would like some advice about the use of memoization in conjunction with conditional statements. Let me try to explain my problem: I am constructing a function depending on a number of parameters. ...

15 30 50 per page