Tag: memoization

90 What does the construct f[x_] := f[x] = ... mean? 2012-03-06T16:13:15.337

54 How can I implement dynamic programming for a function with more than one argument? 2012-01-17T23:27:20.203

48 Memoization with pure functions? 2015-06-12T10:39:28.817

45 Parallelize evaluation of function with memoization 2012-02-03T17:51:11.140

34 How to clear parts of a memoized function? 2013-02-13T13:38:37.340

25 Throwaway memoization makes built-ins faster? 2017-05-05T07:39:00.303

19 How to memoize a function with Options? 2013-03-14T22:19:56.040

17 Relative performance of the Julia language 2014-06-09T04:15:28.373

17 When to use Once for memoization? 2018-03-20T13:33:28.583

14 Using Memoization with a Mutable Object 2012-04-23T14:33:11.000

13 Get polynomial interpolation formula 2012-10-09T18:56:27.790

13 Dynamic Programming with delayed evaluation 2013-06-19T17:44:40.220

13 How to write crash-robust code? 2015-08-21T19:27:02.043

12 Memoization of Rounded inputs 2012-01-31T23:24:24.343

10 Saving memoization to disk 2015-02-19T16:51:57.550

10 How to speed up the evaluation of a function with a large LeafCount but many repeated sub-functions for use in NIntegrate 2015-08-27T15:40:48.047

9 Improve speed for calculating a recursive sequence 2012-05-26T12:39:22.883

9 using memoization with conditional statement 2014-10-18T12:03:03.050

9 Can I memoize retroactively? 2015-08-25T13:39:23.263

8 Correct way to use memoization for recurrence relation having an Integral 2014-10-03T21:46:12.700

8 Memoization and packages 2019-01-09T09:08:36.517

7 Garbage collection for memoized functions on subkernels 2014-04-25T23:54:12.857

7 Time complexity to choose the right overload from the memoized function 2015-09-24T18:35:29.157

7 How does one clear the memory of a recursive function 2015-11-09T18:19:28.837

6 Increasing recursion speed in Hull-White trinomial tree calculation 2012-06-06T09:39:24.270

6 Combining memoization and SlotSequence 2015-04-15T01:47:28.390

6 Clever caching of a recursively defined function 2018-09-20T19:51:09.467

5 Only perform a symbolic differentiation once 2013-03-21T13:42:45.227

5 Dropbox datastore 2014-09-29T17:43:05.903

5 Change of basis of polynomials 2016-03-08T00:12:07.400

5 How can I access memoized values from parallel evaluation? 2016-03-11T13:28:03.170

4 Problems with DumpSave and memoization 2012-07-30T15:43:21.363

4 Is it possible to `Protect` a dynamic programming process? 2013-12-18T12:15:39.007

4 How to do memoization together with evaluation of a complicated function 2014-05-19T15:51:15.883

4 have a function redefine itself as it maps through a list 2014-09-15T17:37:43.820

4 Parallelization and memoization? 2014-11-24T22:47:40.267

4 Assigning function values in a memoized recursive module 2015-11-04T12:25:54.407

4 Memoization of a function defined by a recurrence relation 2016-09-30T07:40:52.170

4 Memoization of built in function 2017-10-09T14:53:06.250

3 Kernel crashed after $RecursionLimit = Infinity 2015-06-08T16:06:47.650

3 Memoized function with function parameter 2015-10-31T02:37:56.393

3 Recursive solution to the extended Josephus problem 2019-08-07T16:03:51.400

3 Memoization of functions with optional arguments 2021-02-11T06:47:30.007

2 tricky memoization 2012-09-29T17:25:13.073

2 SetDelayed and avoiding function calls through memoization 2013-03-08T13:28:05.557

2 Extract memoized results in the form of a rule 2014-06-14T20:37:16.257

2 SystemException[MemoryAllocationFailure] with Memoized function 2015-04-09T09:54:38.947

2 Memoization only under certain conditions 2016-08-02T22:56:57.607

2 Memoization and finding already calculated DownValue 2017-02-06T20:32:35.987

2 Debugging and decision support tools for Dynamic Programming (cached definitions) in Mathematica 2017-07-30T13:16:00.177

2 Timing of three different strategies for fibonacci numbers 2017-08-19T21:04:53.743

2 a recursive function using memoization 2019-02-20T00:58:25.360

2 Why does this memoized function cause the kernel to quit? 2020-03-29T07:01:04.023

2 Optimising tensor operations under memory constraints 2020-05-18T08:28:42.160

1 Unintentional function memoisation via Dynamic 2014-04-15T17:58:06.290

1 Prevent Mathematica using previous result 2015-10-21T07:01:06.363

1 Which data tabulation concept is best suited for discrete dynamic programming problems (e.g. for optimum series of account withdrawals)? 2016-07-10T14:20:27.870

1 Recurrence Table Differentiation 2016-09-26T14:30:26.203

1 Forward iterations of coupled recursion equations 2017-01-20T20:11:47.443

1 Save part of memoized function 2019-06-14T12:49:15.397

1 Creating a library of saved function values 2021-01-14T10:46:55.507

0 Optimizing repeated function calls 2014-05-18T14:55:35.273

0 Reuse symbolic polynomial 2016-03-11T15:56:33.293

0 How to create a listable, memoized function 2017-07-13T18:42:28.163

0 memoization based on function expression? 2018-01-19T19:37:24.967

0 Create recursive sequence of functions with memoization 2018-07-03T12:03:06.237

0 Memoization (or otherwise) for a recurrent definition of a (double) sequence of functions 2019-04-19T14:15:14.930

0 How to "cache" function values to pass to ListPlot? 2019-05-15T22:55:17.293

0 How to memoize with patterns? 2020-09-22T12:06:04.427

0 Memoization Involving More than one Variable 2020-11-28T14:06:15.423