up previous next
CoCoA-4 mode

Backward compatibility mode for CoCoA-4

Syntax
  *** E ***

where 
    E  
 is a CoCoA-4 expression.

Description
CoCoA-5 is not fully backward compatible with CoCoA-4, i.e. some CoCoA-4 programs will be rejected by CoCoA-5. CoCoA-4 mode helps ease the transition to CoCoA-5.

In CoCoA-4 it was not necessary to write explicitly the product between two indeterminates; in CoCoA-5 this is obligatory.

The expression E may also contain function calls, but only if the function names begin with a capital letter.

Example
/**/  use QQ[x,y,z];
/**/  f := 2*x^2*y - 3*x*y*z - 4*y^2*z + 5*y*z^2 + 6*z^3;
/**/  g := ***2x^2y - 3xyz - 4y^2z + 5yz^2 + 6z^3***; --> C4 mode
/**/  f = g;
true

See Also