Efficient Computation of Large Hermitian Polynomials in C++?

In summary, Hermitian Polynomials are a type of mathematical function used in C++ for data analysis and signal processing. They can be implemented using built-in functions or custom code and have several benefits, including their ability to represent complex data in a simplified form. However, they may have limitations in representing real-world data and require some understanding of complex numbers and math concepts. Hermitian Polynomials can also be used in other programming languages such as Python, MATLAB, and Java, but their specific implementation may vary.
  • #1
sor2char
5
0
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.

John
 
Technology news on Phys.org
  • #2
Recursion would OK as long as you make your programs tail recursive, meaning the recursive call is the last statement in teh function.
 
  • #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.
 

Related to Efficient Computation of Large Hermitian Polynomials in C++?

1. What are Hermitian Polynomials in C++?

Hermitian Polynomials are a type of mathematical function used in C++ for data analysis and signal processing. They are defined as a set of orthogonal polynomials that can be used to represent complex data in a more simplified form.

2. How are Hermitian Polynomials implemented in C++?

In C++, Hermitian Polynomials can be implemented using either built-in functions or custom code. Built-in functions, such as the "polyval" function, allow for quick and easy calculations. Custom code can also be written to define the polynomials and perform calculations.

3. What are the benefits of using Hermitian Polynomials in C++?

Hermitian Polynomials have several benefits in C++, including their ability to represent complex data in a simplified form, their orthogonality which allows for more accurate calculations, and their use in various applications such as signal processing and data analysis.

4. Are there any limitations to using Hermitian Polynomials in C++?

One limitation of using Hermitian Polynomials in C++ is their limited use in representing real-world data that may not follow a specific mathematical pattern. They also require some understanding of complex numbers and math concepts to use effectively.

5. Can Hermitian Polynomials be used in other programming languages besides C++?

Yes, Hermitian Polynomials can be implemented in other programming languages such as Python, MATLAB, and Java. However, the specific implementation may vary slightly depending on the language and its built-in functions.

Similar threads

  • Linear and Abstract Algebra
Replies
2
Views
755
  • Programming and Computer Science
Replies
3
Views
384
  • Programming and Computer Science
Replies
16
Views
1K
  • Programming and Computer Science
Replies
7
Views
1K
  • Programming and Computer Science
Replies
10
Views
3K
  • Quantum Physics
Replies
4
Views
766
Replies
5
Views
1K
  • Programming and Computer Science
Replies
14
Views
2K
  • Programming and Computer Science
Replies
29
Views
3K
  • Programming and Computer Science
Replies
6
Views
1K
Back
Top