<?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 Is there any multiplication function (∏) in sas? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Is-there-any-multiplication-function-in-sas/m-p/50303#M13726</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;fcmp&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; outlib=work.funcs.math;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; function capital_pi(nums&lt;LI&gt; ) varargs;&lt;/LI&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp; mult=nums[&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;1&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp; do i=&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;2&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; to dim(nums);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; mult=mult*(&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;1&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;+(&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;1&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;/nums&lt;I&gt;));&lt;/I&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;end&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp; return(mult);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt; &lt;SPAN style="color: red; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;endsub&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp; test=capital_pi(&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;1&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;2&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;3&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;4&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;5&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;6&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: red; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;put &lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;test=;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; cmplib=&lt;/SPAN&gt;&lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;%sysfunc&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;(getoption(cmplib));&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt; &lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;options&lt;/SPAN&gt; &lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;cmplib&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;=(work.funcs);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;data&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; _null_;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt; &lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; x1-x6;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt; &lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;array&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; x[&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;6&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt; &lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;array&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; nums[&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;6&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;] &lt;/SPAN&gt;&lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;_temporary_&lt;/SPAN&gt;; &lt;SPAN style="color: green; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;*Array parameters to subroutine calls must betemporary arrays.;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt; &lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;do&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; i=&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;1&lt;/STRONG&gt; &lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;to&lt;/SPAN&gt; &lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;6&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp; nums&lt;I&gt;=x&lt;I&gt;;&lt;/I&gt;&lt;/I&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt; &lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;end&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; product=capital_pi(nums);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp; put product=;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt; &lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;cards&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: #ffffc0; font-family: Consolas; font-size: 10pt;"&gt;1 2 3 4 5 6&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;options&lt;/SPAN&gt; &lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;cmplib&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;=&amp;amp;cmplib;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas;"&gt;Result is 3.5&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Nov 2011 19:31:55 GMT</pubDate>
    <dc:creator>FriedEgg</dc:creator>
    <dc:date>2011-11-18T19:31:55Z</dc:date>
    <item>
      <title>Is there any multiplication function (∏) in sas?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-there-any-multiplication-function-in-sas/m-p/50298#M13721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As the title, what is the sas function of &lt;SPAN style="color: #000000; line-height: 19px; text-align: -webkit-auto; background-color: #ffffff; font-family: times, serif; font-size: 19px;"&gt;∏?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 17:36:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-there-any-multiplication-function-in-sas/m-p/50298#M13721</guid>
      <dc:creator>iusing</dc:creator>
      <dc:date>2011-11-18T17:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any multiplication function (∏) in sas?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-there-any-multiplication-function-in-sas/m-p/50299#M13722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you provide more information as to what extactly you have and are trying to accomplish...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="wikitable" style="background-color: #ffffff; color: #000000; font-family: sans-serif; line-height: 19px; text-align: -webkit-auto; width: 1070px; border-style: initial; border-color: initial; border-width: 1px; margin: auto;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="center" bgcolor="#D0F0D0" rowspan="2" style="border-width: 1px; border-color: #aaaaaa; border-style: solid; padding: 0.2em;"&gt;&lt;P class="nounderlines" style="font-size: 26px;"&gt;&lt;A href="http://en.wikipedia.org/wiki/Pi_(letter)" style="text-decoration: none !important; color: #0645ad; background-color: initial;" title="Pi (letter)"&gt;∏&lt;/A&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD align="center" bgcolor="#FFFFFF" rowspan="2" style="border-width: 1px; border-color: #aaaaaa; border-style: solid; padding: 0.2em;"&gt;&lt;IMG alt="\prod \!\," class="tex" src="http://upload.wikimedia.org/wikipedia/en/math/1/c/a/1ca022812990843b0a0d0f550014f867.png" style="border-width: initial; border-color: initial; vertical-align: middle; border-style: none;" /&gt;&lt;/TD&gt;&lt;TD style="border-width: 1px; border-color: #aaaaaa; border-style: solid;"&gt;&lt;P style="text-align: left; border-bottom-width: 1px; border-bottom-color: #aaaaaa; border-bottom-style: solid; padding: 2px;"&gt;&lt;A href="http://en.wikipedia.org/wiki/Multiplication" style="color: #0645ad; background-color: initial;" title="Multiplication"&gt;product&lt;/A&gt;&lt;/P&gt;&lt;P style="text-align: center; border-bottom-width: 1px; border-bottom-color: #aaaaaa; border-bottom-style: solid; padding: 2px;"&gt;product over … from … to … of&lt;/P&gt;&lt;P style="text-align: right; padding: 2px;"&gt;&lt;A href="http://en.wikipedia.org/wiki/Arithmetic" style="color: #0645ad; background-color: initial;" title="Arithmetic"&gt;arithmetic&lt;/A&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-width: 1px; border-color: #aaaaaa; border-style: solid; padding: 0.2em;"&gt;&lt;IMG alt="\prod_{k=1}^na_k" class="tex" src="http://upload.wikimedia.org/wikipedia/en/math/3/b/7/3b7780655ee4871cae6650bda2f21712.png" style="border-width: initial; border-color: initial; vertical-align: middle; border-style: none;" /&gt; means &lt;EM&gt;a&lt;/EM&gt;&lt;SUB style="line-height: 1em;"&gt;1&lt;/SUB&gt;&lt;EM&gt;a&lt;/EM&gt;&lt;SUB style="line-height: 1em;"&gt;2&lt;/SUB&gt;···&lt;EM&gt;a&lt;/EM&gt;&lt;SUB style="line-height: 1em;"&gt;&lt;EM&gt;n&lt;/EM&gt;&lt;/SUB&gt;.&lt;/TD&gt;&lt;TD style="border-width: 1px; border-color: #aaaaaa; border-style: solid; padding: 0.2em;"&gt;&lt;IMG alt="\prod_{k=1}^4(k+2)" class="tex" src="http://upload.wikimedia.org/wikipedia/en/math/d/e/3/de343a45cb61a1f93cf6bf7c0acf33b9.png" style="border-width: initial; border-color: initial; vertical-align: middle; border-style: none;" /&gt; = (1+2)(2+2)(3+2)(4+2)&lt;DL style="margin-top: 0.2em; margin-bottom: 0.5em; text-align: left;"&gt;&lt;DD style="line-height: 1.5em; margin-left: 1.6em; margin-bottom: 0.1em;"&gt;&lt;DL style="margin-top: 0.2em; margin-bottom: 0.5em;"&gt;&lt;DD style="line-height: 1.5em; margin-left: 1.6em; margin-bottom: 0.1em;"&gt;= 3 × 4 × 5 × 6 = 360&lt;/DD&gt;&lt;/DL&gt;&lt;/DD&gt;&lt;/DL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-width: 1px; border-color: #aaaaaa; border-style: solid;"&gt;&lt;P style="text-align: left; border-bottom-width: 1px; border-bottom-color: #aaaaaa; border-bottom-style: solid; padding: 2px;"&gt;&lt;A href="http://en.wikipedia.org/wiki/Cartesian_product" style="color: #0645ad; background-color: initial;" title="Cartesian product"&gt;Cartesian product&lt;/A&gt;&lt;/P&gt;&lt;P style="text-align: center; border-bottom-width: 1px; border-bottom-color: #aaaaaa; border-bottom-style: solid; padding: 2px;"&gt;the Cartesian product of;&lt;BR /&gt;the direct product of&lt;/P&gt;&lt;P style="text-align: right; padding: 2px;"&gt;&lt;A href="http://en.wikipedia.org/wiki/Naive_set_theory" style="color: #0645ad; background-color: initial;" title="Naive set theory"&gt;set theory&lt;/A&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-width: 1px; border-color: #aaaaaa; border-style: solid; padding: 0.2em;"&gt;&lt;IMG alt="\prod_{i=0}^{n}{Y_i}" class="tex" src="http://upload.wikimedia.org/wikipedia/en/math/2/7/f/27f9abc275341b0e363839fe4a068272.png" style="border-width: initial; border-color: initial; vertical-align: middle; border-style: none;" /&gt; means the set of all &lt;A class="mw-redirect" href="http://en.wikipedia.org/wiki/N-tuple" style="color: #0645ad; background-color: initial;" title="N-tuple"&gt;(n+1)-tuples&lt;/A&gt;&lt;DL style="margin-top: 0.2em; margin-bottom: 0.5em; text-align: left;"&gt;&lt;DD style="line-height: 1.5em; margin-left: 1.6em; margin-bottom: 0.1em;"&gt;&lt;DL style="margin-top: 0.2em; margin-bottom: 0.5em;"&gt;&lt;DD style="line-height: 1.5em; margin-left: 1.6em; margin-bottom: 0.1em;"&gt;(&lt;EM&gt;y&lt;/EM&gt;&lt;SUB style="line-height: 1em;"&gt;0&lt;/SUB&gt;, …, &lt;EM&gt;y&lt;/EM&gt;&lt;SUB style="line-height: 1em;"&gt;&lt;EM&gt;n&lt;/EM&gt;&lt;/SUB&gt;).&lt;/DD&gt;&lt;/DL&gt;&lt;/DD&gt;&lt;/DL&gt;&lt;/TD&gt;&lt;TD style="border-width: 1px; border-color: #aaaaaa; border-style: solid; padding: 0.2em;"&gt;&lt;IMG alt="\prod_{n=1}^{3}{\mathbb{R}} = \mathbb{R}\times\mathbb{R}\times\mathbb{R} = \mathbb{R}^3" class="tex" src="http://upload.wikimedia.org/wikipedia/en/math/c/c/8/cc81407a6c880e7a88e1a368cefe5a9f.png" style="border-width: initial; border-color: initial; vertical-align: middle; border-style: none;" /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAS Product Function (part of SAS/IML):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/imlug/59656/HTML/default/viewer.htm#langref_sect206.htm"&gt;http://support.sas.com/documentation/cdl/en/imlug/59656/HTML/default/viewer.htm#langref_sect206.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For base SAS you can refence this previous post:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/thread/9269"&gt;http://communities.sas.com/thread/9269&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 18:16:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-there-any-multiplication-function-in-sas/m-p/50299#M13722</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-11-18T18:16:04Z</dc:date>
    </item>
    <item>
      <title>Is there any multiplication function (∏) in sas?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-there-any-multiplication-function-in-sas/m-p/50300#M13723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not familiar with SAS having a multiplication function, unless you are actually referring to a factorial (i.e., !) for which there is the fact() function.&amp;nbsp; Of course, you could always roll your own, e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input x1-x6;&lt;/P&gt;&lt;P&gt;&amp;nbsp; array nums(*) x1-x6;&lt;/P&gt;&lt;P&gt;&amp;nbsp; mult=nums(1);&lt;/P&gt;&lt;P&gt;&amp;nbsp; do i=2 to dim(nums);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mult=mult*(1+(nums(1)/nums(i)));&lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;&amp;nbsp; cards;&lt;/P&gt;&lt;P&gt;1 2 3 4 5 6&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 18:18:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-there-any-multiplication-function-in-sas/m-p/50300#M13723</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-11-18T18:18:53Z</dc:date>
    </item>
    <item>
      <title>Is there any multiplication function (∏) in sas?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-there-any-multiplication-function-in-sas/m-p/50301#M13724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I am looking for is the ak one. Multiplying different number&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 18:47:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-there-any-multiplication-function-in-sas/m-p/50301#M13724</guid>
      <dc:creator>iusing</dc:creator>
      <dc:date>2011-11-18T18:47:51Z</dc:date>
    </item>
    <item>
      <title>Is there any multiplication function (∏) in sas?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-there-any-multiplication-function-in-sas/m-p/50302#M13725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not use the GEOMEAN function and then convert it to the product using power operator?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;product = geomean(of x1-x3) ** n(of x1-x3);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 18:54:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-there-any-multiplication-function-in-sas/m-p/50302#M13725</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2011-11-18T18:54:39Z</dc:date>
    </item>
    <item>
      <title>Is there any multiplication function (∏) in sas?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-there-any-multiplication-function-in-sas/m-p/50303#M13726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;fcmp&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; outlib=work.funcs.math;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; function capital_pi(nums&lt;LI&gt; ) varargs;&lt;/LI&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp; mult=nums[&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;1&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp; do i=&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;2&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; to dim(nums);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; mult=mult*(&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;1&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;+(&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;1&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;/nums&lt;I&gt;));&lt;/I&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;end&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp; return(mult);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt; &lt;SPAN style="color: red; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;endsub&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp; test=capital_pi(&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;1&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;2&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;3&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;4&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;5&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;6&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: red; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;put &lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;test=;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; cmplib=&lt;/SPAN&gt;&lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;%sysfunc&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;(getoption(cmplib));&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt; &lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;options&lt;/SPAN&gt; &lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;cmplib&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;=(work.funcs);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;data&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; _null_;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt; &lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; x1-x6;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt; &lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;array&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; x[&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;6&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt; &lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;array&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; nums[&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;6&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;] &lt;/SPAN&gt;&lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;_temporary_&lt;/SPAN&gt;; &lt;SPAN style="color: green; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;*Array parameters to subroutine calls must betemporary arrays.;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt; &lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;do&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; i=&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;1&lt;/STRONG&gt; &lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;to&lt;/SPAN&gt; &lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;6&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp; nums&lt;I&gt;=x&lt;I&gt;;&lt;/I&gt;&lt;/I&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt; &lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;end&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; product=capital_pi(nums);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp; put product=;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt; &lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;cards&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: #ffffc0; font-family: Consolas; font-size: 10pt;"&gt;1 2 3 4 5 6&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: Consolas;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;options&lt;/SPAN&gt; &lt;SPAN style="color: blue; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;cmplib&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: Consolas; font-size: 10pt;"&gt;=&amp;amp;cmplib;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas;"&gt;Result is 3.5&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 19:31:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-there-any-multiplication-function-in-sas/m-p/50303#M13726</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-11-18T19:31:55Z</dc:date>
    </item>
    <item>
      <title>Is there any multiplication function (∏) in sas?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-there-any-multiplication-function-in-sas/m-p/50304#M13727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;See &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.sascommunity.org/wiki/Computing_Products"&gt;http://www.sascommunity.org/wiki/Computing_Products&lt;/A&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;iusing wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the title, what is the sas function of &lt;SPAN style="color: #000000; line-height: 19px; text-align: -webkit-auto; background-color: #ffffff; font-family: times, serif; font-size: 19px;"&gt;∏?&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 20:27:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-there-any-multiplication-function-in-sas/m-p/50304#M13727</guid>
      <dc:creator>Howles</dc:creator>
      <dc:date>2011-11-18T20:27:55Z</dc:date>
    </item>
  </channel>
</rss>

