Software Tuning, Performance Optimization & Platform Monitoring
Discussion regarding monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform updating.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

operations with polynomial

Peter_F_1
Beginner
707 Views
I'm using G++ 4.6.2 and visual C++ 2010.
Currently using G++ 4.6.2 only addition and subtraction of polynomials is using the packed double instructions.
Any hint on how to achieve the same for multiplication and divison.

And then there is the operation of "apply":

Having a polynomial z(y) and one y(x):

z = ay + by*y + cy*y^2 + dy*y^3 + ...

y = ax + bx*x + cx*x^2 + dx*x^3 + ...

The task is to get z(x).

Currently I'm using a class containing a double array containing the coefficients.
0 Kudos
2 Replies
SergeyKostrov
Valued Contributor II
707 Views
I havethree questions:

- How many terms are in your polinomials?
- Did you try to substitute 'y' in thepolynomial 'z' and thento do normalization?
- Do you have a simple C++test case?

Best regards,
Sergey
0 Kudos
SergeyKostrov
Valued Contributor II
707 Views
...And then there is the operation of "apply"...

Could you provide more details? Is'apply' a method declared and implementedin your class?
0 Kudos
Reply