<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic A Description problem of matrix in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/A-Description-problem-of-matrix/m-p/968786#M20420</link>
    <description>&lt;DIV&gt;Hi: &lt;/DIV&gt;
I use ipp lib to do matrix operation in Visual C++ 6.0, but there is a parameter making me confused, for example, I use "ippmInvert_m_64f_5x5" then I need to enter the parameter "srcStride". 
Is "srcStride" eaqual 5 ? or other intger? 
can you give me an guide?
please adviser
thank you so much~</description>
    <pubDate>Sun, 16 Oct 2005 20:42:19 GMT</pubDate>
    <dc:creator>puenpuen</dc:creator>
    <dc:date>2005-10-16T20:42:19Z</dc:date>
    <item>
      <title>A Description problem of matrix</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/A-Description-problem-of-matrix/m-p/968786#M20420</link>
      <description>&lt;DIV&gt;Hi: &lt;/DIV&gt;
I use ipp lib to do matrix operation in Visual C++ 6.0, but there is a parameter making me confused, for example, I use "ippmInvert_m_64f_5x5" then I need to enter the parameter "srcStride". 
Is "srcStride" eaqual 5 ? or other intger? 
can you give me an guide?
please adviser
thank you so much~</description>
      <pubDate>Sun, 16 Oct 2005 20:42:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/A-Description-problem-of-matrix/m-p/968786#M20420</guid>
      <dc:creator>puenpuen</dc:creator>
      <dc:date>2005-10-16T20:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: A Description problem of matrix</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/A-Description-problem-of-matrix/m-p/968787#M20421</link>
      <description>Hi, did you looked through IPP manual? I believe the concept of matrix in IPP is described here.
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Regards,&lt;/DIV&gt;
&lt;DIV&gt; Vladimir&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Oct 2005 23:30:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/A-Description-problem-of-matrix/m-p/968787#M20421</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2005-10-17T23:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: A Description problem of matrix</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/A-Description-problem-of-matrix/m-p/968788#M20422</link>
      <description>&lt;DIV&gt;BTW, developer provided simple sample for you, which should demonstrate the way of using this function&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class="msg_source_code"&gt;&lt;SPAN class="text_smallest"&gt;Code:&lt;/SPAN&gt;&lt;PRE&gt;#include &lt;STDIO.H&gt;
#include &lt;IPP.H&gt;

IppStatus ippmInvert_m_64f_5x5 (const Ipp64f* pSrc, Ipp32s srcStride1, Ipp64f*
                                pDst, Ipp32s dstStride1)
{
    Ipp64f pBuffer[5*5+5]; /* Buffer location */

    return ippmInvert_m_64f(pSrc, srcStride1, sizeof(Ipp64f), pBuffer, 
        pDst, dstStride1, sizeof(Ipp64f), 5); 
}

void printf_m_Ipp64f(const char* msg, Ipp64f* buf, 
                     int width, int height, IppStatus st ); 

/* 
// Example demonstrates how to use the function iinvert_m_64f_5x5
//
// Standard description for source and destination matrices      
*/
int main(){
    int widthHeight = 5;
   /* Source matrix with widthHeight=5 */
    Ipp64f pSrc[5*5] = { 1,  1, -1,  1, -1,
                        -1,  0,  2, -1,  1,
                        -1, -1,  2,  0, -1,
                         1, -1,  0,  1, -1,
                        -1, -1,  2,  1, -1};
    int srcStride1  = 5*sizeof(Ipp64f);

   /* Destination matrix with widthHeight=5 */
    Ipp64f pDst[5*5];
    int dstStride1 = 5*sizeof(Ipp64f);

     IppStatus status = ippmInvert_m_64f_5x5 (pSrc, srcStride1, pDst, dstStride1);

     printf_m_Ipp64f("Destination matrix:", pDst, 5, 5, status);
     return status;
}

void printf_m_Ipp64f(const char* msg, Ipp64f* buf, 
                     int width, int height, IppStatus st ) 
{   int i, j;
    if( st &amp;lt; ippStsNoErr ) { 
        printf( "-- error %d, %s
", st, ippGetStatusString( st )); 
    } else { 
        printf("%s 
", msg ); 
        for( j=0; j &amp;lt;  height; j++) { 
		    for( i=0; i &amp;lt; width; i++) { 
	            printf("%f  ", buf[j*width+i]); } 
		    printf("
"); } } 
}

&lt;/IPP.H&gt;&lt;/STDIO.H&gt;&lt;/PRE&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt; Vladimir&lt;/DIV&gt;</description>
      <pubDate>Wed, 19 Oct 2005 00:57:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/A-Description-problem-of-matrix/m-p/968788#M20422</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2005-10-19T00:57:11Z</dc:date>
    </item>
  </channel>
</rss>

