Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Motivation--- I have a glimmer of an idea that a convergent sum could be considered a self-referential number similar to a fractal. I would like to play with it for a while.

I have the following convergent sum:

NSum[((1/Pochhammer[m^2 + 1, m]) + (1/Pochhammer[m^2 + m + 1, 2 m])),
  {m, 1, Infinity}, WorkingPrecision -> 50]  

Is there a way to show the internals of about 4 or 5 steps?

share|improve this question
    
I had a big brain-cramp on this question, since I used trace in the title. Oops! –  Fred Kline Nov 27 '12 at 19:50

1 Answer 1

up vote 5 down vote accepted

Please try //Trace option. Can be called as Trace[command] also.

Some functions also support an option called TraceInternals->True but this one does not.

Also TracePrint[command] is useful.

Edit

Actually, TraceInternals can be used here also. The trick is to apply this option to Trace itself and not to the command itself being traced! Like this

Trace[NSum[((1/Pochhammer[m^2 + 1, m]) + (1/Pochhammer[m^2 + m + 1, 2 m])), 
          {m, 1, Infinity},WorkingPrecision -> 50], 
      TraceInternal -> True
     ]
share|improve this answer
    
Is there a way to discover the list of functions that do support TraceInternals->True? –  WalkingRandomly Nov 27 '12 at 19:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.