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 SDKs and Libraries
- Intel® oneAPI Math Kernel Library
- Error in documentation

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

renorm2

Beginner

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

02-02-2016
08:37 PM

45 Views

Error in documentation

Here https://software.intel.com/en-us/node/520871 in packed storage description.

This k(i, j) = i - 1 + (j - 1)/2 seems to be incorrect.

Link Copied

4 Replies

Gennady_F_Intel

Moderator

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

02-03-2016
08:00 AM

45 Views

pls clarify why do you think this is wrong description

renorm2

Beginner

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

02-03-2016
08:25 AM

45 Views

Index k doesn't cover the entire range from 1 to n*(n + 1)/2 needed to store all elements of symmetric matrix.

Also, k is 0 when both i and j are equal to 1, while Fortran arrays are 1 based.

Konstantin_A_Intel

Employee

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

02-03-2016
10:39 PM

45 Views

Hi,

You're right, there's an error in formula. It should be i-1+j*(j-1)/2 instead. However, it is correct that k(1,1)=0 as the link you were referred to is C documentation. In C documentation, we provide indices in C array notation. If you need an index in Fortran array, your formula would be i+j*(j-1)/2

Thank you very much for finding this! We will fix it ASAP.

Best regards,

Konstantin

Gennady_F_Intel

Moderator

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

02-03-2016
11:35 PM

45 Views

status - escalated. we will let you know when the fix the problem.

- 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.