<?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_scalar"><info><pubdate>04-Apr-2006</pubdate></info><refnamediv><refname>plq_scalar</refname><refpurpose>Piecewise linear quadratic (plq), multiply a plq function by a scalar</refpurpose></refnamediv>
  
   
  
   
  
   
  
   
  
   
  
   <refsynopsisdiv><title>Calling Sequence</title><synopsis>plqf = plq_scalar(plqfs,lambda)</synopsis></refsynopsisdiv>

  
   <refsection><title>Parameters</title>
	  
      <variablelist>
		  
         <varlistentry>
			  
            <term>plqfs</term>
			  
            <listitem>
				  
               <para>matrix. A plq function with dimensions n x 4.
				  </para>
			  
            </listitem>
		  
         </varlistentry>
		  
         <varlistentry>
			  
            <term>lambda</term>
			  
            <listitem>
				  
               <para>constant. A scalar multiple.
				  </para>
			  
            </listitem>
		  
         </varlistentry>
		  
         <varlistentry>
			  
            <term>plqf</term>
			  
            <listitem>
				  
               <para>matrix. A plq function with dimensions n x 4.
				  </para>
			  
            </listitem>
		  
         </varlistentry>
	  
      </variablelist>
  
   </refsection>
 
  
   <refsection><title>Description</title>
     
         <para>
	     The plq_scalar function multiplies a plq function by a constant.
    </para>
 	
   </refsection>
  
   <refsection><title>Examples</title><programlisting role="example"><![CDATA[
normsquared = [%inf, 1/2, 0, 0];
negnormsquared = plq_scalar(normsquared,-1);
  ]]></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>