<?xml version="1.0" encoding="ISO-8859-1"?>
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="plq_dom">
  <info>
    <pubdate>19-May-2010</pubdate>
  </info>

  <refnamediv>
    <refname>plq_dom</refname>
    <refpurpose>Piecewise linear quadratic (plq), function effective domain</refpurpose>
  </refnamediv>

   <refsynopsisdiv>
     <title>Calling Sequence</title>
     <synopsis>I = plq_minPt(plqf)</synopsis>
   </refsynopsisdiv>

   <refsection>
     <title>Parameters</title>
     <variablelist>

       <varlistentry>
         <term>plqf</term>
         <listitem>
           <para>matrix. A PLQ function.</para>
         </listitem>
       </varlistentry>

       <varlistentry>
         <term>I</term>
         <listitem>
           <para>1x2 matrix [lb;ub].  Gives the interval [lb,ub] on which plqf is finite.</para>
         </listitem>
       </varlistentry>

     </variablelist>
   </refsection>

   <refsection>
     <title>Description</title>

     <para>
       Computes and returns the effective domain of the given PLQ
       function.  Assumes that the effective domain of the function is
       connected, so that the effective domain is either a closed
       interval [lb,ub], or the empty set (if plqf is %inf everywhere).
     </para>

     <para>
       This function runs in O(1) time.
     </para>
   </refsection>

   <refsection>
     <title>Examples</title>
     <programlisting role="example"><![CDATA[
plqf = [-2,0,0,%inf; 1,1,0,0; %inf,0,0,%inf];
I = plq_dom(plqf),

plqf = [5,0,0,10];
I = plq_dom(plqf),
]]></programlisting>
   </refsection>

   <refsection>
     <title>See Also</title>
     <simplelist type="inline">
       <member><link linkend="plq_function">plq_function</link></member>
   </simplelist></refsection>

   <refsection>
     <title>Authors</title>
     <para>
       <literal>Bryan Gardiner</literal>, University of British Columbia, BC, Canada
     </para>
   </refsection>

</refentry>
