Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Intel Community
- Software
- Software Development Topics
- Software Tuning, Performance Optimization & Platform Monitoring
- operations with polynomial

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Peter_F_1

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

06-03-2012
01:31 PM

50 Views

operations with polynomial

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.

Link Copied

2 Replies

SergeyKostrov

Valued Contributor II

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

06-07-2012
07:51 PM

50 Views

- How many terms are in your polinomials?

- Did you try to substitute '

- Do you have a simple C++test case?

Best regards,

Sergey

SergeyKostrov

Valued Contributor II

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

06-11-2012
09:50 PM

50 Views

Quoting foelsche@sbcglobal.net

Could you provide more details? Is'

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

For more complete information about compiler optimizations, see our Optimization Notice.