symbol v/: - how many values?
- To: mathgroup at yoda.physics.unc.edu
- Subject: symbol v/: - how many values?
- From: jasonh at mundil.cs.mu.oz.au (Jason Brett HARROP)
- Date: Tue, 21 Sep 93 15:45:49 +1000
Hi, Given a function v of the form v[x1_, x2_, ..] := v[x1, x2, ..] = ...... which therefore saves the values computed for given x1, x2, and associates them with v, the actual saves values can be inspected with ?v or Information[v]. How can I find out how many values of v have been calculated, without asking to see them in some form and then counting them automatically. The reason I ask is that, the values are being calculated recursively by a dynamic program, and I would like to see how efficiently search space is being traversed. Thanks for any clues. Jason Harrop jasonh at mundil.cs.mu.oz.au