<?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_add"><info><pubdate>04-Apr-2006</pubdate></info><refnamediv><refname>plq_add</refname><refpurpose>Piecewise linear quadratic (plq), addition of two plq functions</refpurpose></refnamediv>
  
   
  
   
  
   
  
   
  
   

  
   <refsynopsisdiv><title>Calling Sequence</title><synopsis>plqfg = plq_add(plqf,plqg)</synopsis></refsynopsisdiv>

  
   <refsection><title>Parameters</title>
	  
      <variablelist>
		  
         <varlistentry>
			  
            <term>plqf</term>
			  
            <listitem>
				  
               <para>matrix. A plq function with dimensions n x 4.
				  </para>
			  
            </listitem>
		  
         </varlistentry>
		  
         <varlistentry>
			  
            <term>plqg</term>
			  
            <listitem>
				  
               <para>matrix. A plq function with dimensions n' x 4.
				  </para>
			  
            </listitem>
		  
         </varlistentry>
		  
         <varlistentry>
			  
            <term>plqfg</term>
			  
            <listitem>
				  
               <para>matrix. A plq function with dimensions n'' x 4.
				  </para>
			  
            </listitem>
		  
         </varlistentry>
	  
      </variablelist>
  
   </refsection>
 
  
   <refsection><title>Description</title>
     
         <para>
            Computes the addition of two plq functions (plqf, plqg) and stores the result in plqfg.
    </para>
 	
   </refsection>

  
   <refsection><title>Examples</title><programlisting role="example"><![CDATA[
plqf = [-1,1,0,0;1,0,0,1;%inf,1,0,0];
plqg = [0,1,0,0;2,0,1,0;%inf,1,0,-2];
result=plq_add(plqf,plqg);
  ]]></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>Mike Trienis</literal>, University of British Columbia, BC, Canada
  </para></refsection>

</refentry>