Difference between revisions of "ApCoCoA-1:Num.ProjectAVI"

From ApCoCoAWiki
Line 1: Line 1:
 
   <command>
 
   <command>
     <title>Numerical.ProjectAVI</title>
+
     <title>Num.ProjectAVI</title>
 
     <short_description>Calculates the least squares solution to the general problem Ax=b, where x are coefficients of an order ideal</short_description>
 
     <short_description>Calculates the least squares solution to the general problem Ax=b, where x are coefficients of an order ideal</short_description>
 
<syntax>
 
<syntax>
Num.ProjectAVI(Mat:Matrix, Vec:Matrix, OI:PolyList):Poly;
+
Num.ProjectAVI(Mat:MAT, Vec:MAT, OI:LIST):POLY
 
</syntax>
 
</syntax>
 
     <description>
 
     <description>
{{ApCoCoAServer}} Please also note that you will have to use an ApCoCoAServer with enabled BLAS/LAPACK support.
+
<em>Please note:</em> The function(s) explained on this page is/are using the <em>ApCoCoAServer</em>. You will have to start the ApCoCoAServer in order to use it/them.
 
+
<par/>
 
Calculates the least squares solution to the general problem Ax=b, when there is no exact solution. The solution x is interpreted as the coefficients of the terms in the order ideal.  
 
Calculates the least squares solution to the general problem Ax=b, when there is no exact solution. The solution x is interpreted as the coefficients of the terms in the order ideal.  
  
Line 32: Line 32:
 
       <type>apcocoaserver</type>
 
       <type>apcocoaserver</type>
 
     </types>
 
     </types>
    <key>numerical.ProjectAVI</key>
 
 
     <key>Num.ProjectAVI</key>
 
     <key>Num.ProjectAVI</key>
 
     <key>ProjectAVI</key>
 
     <key>ProjectAVI</key>
 
     <wiki-category>Package_numerical</wiki-category>
 
     <wiki-category>Package_numerical</wiki-category>
 
   </command>
 
   </command>

Revision as of 16:47, 23 April 2009

Num.ProjectAVI

Calculates the least squares solution to the general problem Ax=b, where x are coefficients of an order ideal

Syntax

Num.ProjectAVI(Mat:MAT, Vec:MAT, OI:LIST):POLY

Description

Please note: The function(s) explained on this page is/are using the ApCoCoAServer. You will have to start the ApCoCoAServer in order to use it/them.

Calculates the least squares solution to the general problem Ax=b, when there is no exact solution. The solution x is interpreted as the coefficients of the terms in the order ideal.

  • @param Mat Matrix A

  • @param Vec Vector B in matrix form.

  • @param OI Order Ideal

  • @return The least squares soltion to Ax=b interpreted as coefficients of OI.


Example

Dec(Num.ProjectAVI([[1,1],[0,1],[1,1]],[[0],[1],[0]],[x,y]),2);
-- CoCoAServer: computing Cpu Time = 0
-------------------------------
["-0.99 x +1 y "]
-------------------------------

See also

Introduction to CoCoAServer