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

From ApCoCoAWiki
(Updated example)
Line 17: Line 17:
  
 
<example>
 
<example>
Num.IsAVI([x[1]+1,x[1]^2],[[0]],0.1);
+
Use P::=Q[x,y,z];
 +
Num.IsAVI([x+1,x^2],[[0]],0.1);
 
-- CoCoAServer: computing Cpu Time = 0
 
-- CoCoAServer: computing Cpu Time = 0
 
-------------------------------
 
-------------------------------

Revision as of 09:22, 27 April 2009

Num.IsAVI

Checks if a given set of polynomials vanishes at a given set of points.

Syntax

Num.IsAVI(Polys:LIST, Points:MAT, Epsilon:RAT):[A:INT or RAT,B:INT or RAT];

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.

Checks if a set of polynomials vanishes at a set of points epsilon approximately. The polynomials are preprocessed first to have norm 1.

  • @param Polys A list of polynomials.

  • @param Points A matrix containing the points to check.

  • @param Epsilon Rational number

  • @return A number A which specifies how well the points vanish on average and a number B which contains the maximal evaluation value

Example

Use P::=Q[x,y,z];
Num.IsAVI([x+1,x^2],[[0]],0.1);
-- CoCoAServer: computing Cpu Time = 0
-------------------------------
[1/2, 1]
-------------------------------

See also

Introduction to CoCoAServer