[Date Index] [Thread Index] [Author Index]
symbol v/: - how many values?
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