<?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 Re: SAS PROC IML AND SQL under precision matrix product in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-PROC-IML-AND-SQL-under-precision-matrix-product/m-p/247872#M2569</link>
    <description>&lt;P&gt;Thank you for your answer.&lt;/P&gt;
&lt;P&gt;Yes, I want to do C=A*B&lt;/P&gt;
&lt;P&gt;But, I can use IML proc or SQL proc , I have a small number.&lt;/P&gt;
&lt;P&gt;Please, which method (IML or SQL) is better for the small number ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Feb 2016 22:27:14 GMT</pubDate>
    <dc:creator>LineMoon</dc:creator>
    <dc:date>2016-02-03T22:27:14Z</dc:date>
    <item>
      <title>SAS PROC IML AND SQL under precision matrix product</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-PROC-IML-AND-SQL-under-precision-matrix-product/m-p/247852#M2567</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to konw which&amp;nbsp; method give the best result for the matrix with the number between 0 et 1:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;==&amp;gt;&amp;nbsp; I have two matrix A and B,&amp;nbsp; 0&amp;lt;=Aij&amp;lt;=1,&amp;nbsp; 0&amp;lt;= Bij&amp;lt;=1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which metho gives the best results :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1- IML Proc&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;2- proc sql&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;do i=1 to L;&lt;/P&gt;
&lt;P&gt;proc sql;&lt;BR /&gt; create table prod as&lt;BR /&gt; select (...)+(....) as&amp;nbsp; Vi&lt;BR /&gt; t1 m ,Tran_t2 n;&lt;BR /&gt; quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;end;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Any documentation for that are welcomed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 21:12:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-PROC-IML-AND-SQL-under-precision-matrix-product/m-p/247852#M2567</guid>
      <dc:creator>LineMoon</dc:creator>
      <dc:date>2016-02-03T21:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAS PROC IML AND SQL under precision matrix product</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-PROC-IML-AND-SQL-under-precision-matrix-product/m-p/247860#M2568</link>
      <description>&lt;P&gt;For matrix computations, use IML.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your title says "matrix product," by which I assume you want the standard matrix multiplication:&lt;/P&gt;
&lt;P&gt;C = A*B;&lt;/P&gt;
&lt;P&gt;However, read this article &lt;A href="http://blogs.sas.com/content/iml/2013/05/20/matri-multiplication.html" target="_self"&gt;"Ways to multiply in the SAS/IML language"&lt;/A&gt;&amp;nbsp;if you want a different product.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 21:45:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-PROC-IML-AND-SQL-under-precision-matrix-product/m-p/247860#M2568</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-02-03T21:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS PROC IML AND SQL under precision matrix product</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-PROC-IML-AND-SQL-under-precision-matrix-product/m-p/247872#M2569</link>
      <description>&lt;P&gt;Thank you for your answer.&lt;/P&gt;
&lt;P&gt;Yes, I want to do C=A*B&lt;/P&gt;
&lt;P&gt;But, I can use IML proc or SQL proc , I have a small number.&lt;/P&gt;
&lt;P&gt;Please, which method (IML or SQL) is better for the small number ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 22:27:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-PROC-IML-AND-SQL-under-precision-matrix-product/m-p/247872#M2569</guid>
      <dc:creator>LineMoon</dc:creator>
      <dc:date>2016-02-03T22:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAS PROC IML AND SQL under precision matrix product</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-PROC-IML-AND-SQL-under-precision-matrix-product/m-p/247881#M2570</link>
      <description>&lt;P&gt;As I said, you should&amp;nbsp; use IML for matrix computations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All SAS procedures use double precision computations. If your numbers are so small that you think the computation will result in a numerical overflow or underflow, it probably doesn't make a difference how you perform the computation. If you post the data and a sample program, we might be able to say more.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 23:54:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-PROC-IML-AND-SQL-under-precision-matrix-product/m-p/247881#M2570</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-02-03T23:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: SAS PROC IML AND SQL under precision matrix product</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-PROC-IML-AND-SQL-under-precision-matrix-product/m-p/247897#M2571</link>
      <description>&lt;P&gt;For the precise problem , you'd better use IML's function XMULT() to calculate Matrix Product.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;z = xmult(x,y); 
print z;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Look like FORMAT is not good for displaying precision.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 07:58:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-PROC-IML-AND-SQL-under-precision-matrix-product/m-p/247897#M2571</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-02-04T07:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAS PROC IML AND SQL under precision matrix product</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-PROC-IML-AND-SQL-under-precision-matrix-product/m-p/248540#M2576</link>
      <description>&lt;P&gt;Thank you for your message.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As an exemple,&lt;/P&gt;
&lt;P&gt;You can take&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A= (Aij)==&amp;gt; 0&amp;lt;Aij&amp;lt;1&lt;/P&gt;
&lt;P&gt;B = (Bij)==&amp;gt; 0&amp;lt;Bij&amp;lt;1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Methode 1: Using IML proc&lt;/P&gt;
&lt;P&gt;C=A*B&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Method&amp;nbsp; 2: Using SQl poc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;C= A*transpose(B)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Feb 2016 11:43:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-PROC-IML-AND-SQL-under-precision-matrix-product/m-p/248540#M2576</guid>
      <dc:creator>LineMoon</dc:creator>
      <dc:date>2016-02-07T11:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS PROC IML AND SQL under precision matrix product</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-PROC-IML-AND-SQL-under-precision-matrix-product/m-p/248541#M2577</link>
      <description>&lt;P&gt;Thank you for your answer.&lt;/P&gt;
&lt;P&gt;It is a good idea.&lt;/P&gt;
&lt;P&gt;What's about&amp;nbsp; the results found by sql proc ? C=A*transpose(B)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Feb 2016 11:46:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-PROC-IML-AND-SQL-under-precision-matrix-product/m-p/248541#M2577</guid>
      <dc:creator>LineMoon</dc:creator>
      <dc:date>2016-02-07T11:46:15Z</dc:date>
    </item>
  </channel>
</rss>

