up previous next
Computes the least squares solution of the general problem
Ax=b, where
x are coefficients of an order ideal.
Num.ProjectAVI(Mat:MAT, Vec:MAT, OI:LIST):POLY
|
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.
This command computes the least squares solution of the general problem
Ax=b, if there is no exact solution. The solution
x has to be interpreted as the coefficients of the terms in the order ideal.
- @param Mat Matrix A
- @param Vec Vector B as a matrix.
- @param OI Order Ideal
- @return The least squares solution of Ax=b interpreted as coefficients of OI.
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 "]
-------------------------------
|