Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Hermitian Polynomials in C++

  1. Mar 8, 2005 #1
    Im having difficulty computing large Hermitian polynomials in C++. I fear I may have to steer away from a recursive formula. Any help would be greatly appreciated.

  2. jcsd
  3. Mar 8, 2005 #2
    Recursion would OK as long as you make your programs tail recursive, meaning the recursive call is the last statement in teh function.
  4. Mar 12, 2005 #3
    Sor2char, you mean you are running out of stack space.

    Anything that can be done recursively can be done in a loop. This should take care of stack problems. It can be pain to write some recursive function as a loop however.

    Hope this helps.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Similar Threads for Hermitian Polynomials Date
Diagonalization of Gigantic Dense Hermitian Matrices Jun 2, 2017
Calculators TI-89 won't factor or expand polynomials Nov 25, 2012
Calculators TI-83/84 Plus - Storing polynomial functions Jun 21, 2012
Calculators Ti 89 and polynomials Nov 6, 2007
Polynomial fit using EXCEL Mar 18, 2005