<?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: Is it possible to use an FCMP function in IML? in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-use-an-FCMP-function-in-IML/m-p/922127#M6184</link>
    <description>&lt;P&gt;No, PROC FCMP is used to define functions for the DATA step and procedures that process data row-by-row. IML is a matrix language and has its own way to create and call user-defined functions. These functions can take matrices and vectors as arguments and can return the same. See&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2010/09/27/extending-iml-defining-a-function-module.html" target="_blank"&gt;Extending IML - Defining a Function Module - The DO Loop (sas.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2015/06/17/everything-about-modules.html" target="_blank"&gt;Everything you wanted to know about writing SAS/IML modules - The DO Loop&lt;/A&gt;&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>Thu, 28 Mar 2024 14:41:24 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2024-03-28T14:41:24Z</dc:date>
    <item>
      <title>Is it possible to use an FCMP function in IML?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-use-an-FCMP-function-in-IML/m-p/922125#M6183</link>
      <description>&lt;P&gt;I am having difficulty using a PROC FCMP created function based on python code in IML. Is this even possible? I haven't been successful finding any online documentation/examples about this. I don't want to keep troubleshooting if this can't be done. If it can be done, can resources please be shared? Or maybe I need to take an entirely different approach.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additional details ... python code needs to stay python, that is, I know I can translate it to run in SAS but I have a lot of complex already validated python code I need to run in SAS, so this isn't feasible. Python code is based on matrix syntax, which is why I believe IML must be used for processing rather than a data step. Functions are created via the FCMC procedure using Python Language Elements. The PYTHON procedure is unavailable in my SAS environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any and all input is much appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 14:30:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-use-an-FCMP-function-in-IML/m-p/922125#M6183</guid>
      <dc:creator>_sjm_</dc:creator>
      <dc:date>2024-03-28T14:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use an FCMP function in IML?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-use-an-FCMP-function-in-IML/m-p/922127#M6184</link>
      <description>&lt;P&gt;No, PROC FCMP is used to define functions for the DATA step and procedures that process data row-by-row. IML is a matrix language and has its own way to create and call user-defined functions. These functions can take matrices and vectors as arguments and can return the same. See&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2010/09/27/extending-iml-defining-a-function-module.html" target="_blank"&gt;Extending IML - Defining a Function Module - The DO Loop (sas.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2015/06/17/everything-about-modules.html" target="_blank"&gt;Everything you wanted to know about writing SAS/IML modules - The DO Loop&lt;/A&gt;&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>Thu, 28 Mar 2024 14:41:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-use-an-FCMP-function-in-IML/m-p/922127#M6184</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2024-03-28T14:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use an FCMP function in IML?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-use-an-FCMP-function-in-IML/m-p/922129#M6185</link>
      <description>Thanks Rick. I will abandon this approach.</description>
      <pubDate>Thu, 28 Mar 2024 14:46:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-use-an-FCMP-function-in-IML/m-p/922129#M6185</guid>
      <dc:creator>_sjm_</dc:creator>
      <dc:date>2024-03-28T14:46:59Z</dc:date>
    </item>
  </channel>
</rss>

