Difference between revisions of "ApCoCoA-1:Num.ProjectAVI"
From ApCoCoAWiki
Line 22: | Line 22: | ||
</seealso> | </seealso> | ||
<types> | <types> | ||
− | <type> | + | <type>apcocoaserver</type> |
</types> | </types> | ||
<key>numerical.ProjectAVI</key> | <key>numerical.ProjectAVI</key> |
Revision as of 16:02, 22 April 2009
Numerical.ProjectAVI
Calculates the least squares solution to the general problem Ax=b, where x are coefficients of an order ideal
Syntax
Num.ProjectAVI(Mat:Matrix, Vec:Matrix, OI:PolyList):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. Please also note that you will have to use an ApCoCoAServer with enabled BLAS/LAPACK support.
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.
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