next up previous contents
Next: Treating variables as constants Up: Ideal or submodule membership Previous: reduce standard basis M

forcestd tex2html_wrap_inline5387 matrix M tex2html_wrap_inline5389 tex2html_wrap_inline5387 result standard basis tex2html_wrap_inline5389 [matrix C]

Create a matrix with an attached standard basis. This command forces the columns of M to be considered as a standard basis. If a change of basis matrix C is given, it will be placed in the attached standard basis as if it were the change of basis matrix. C should be a matrix having the same base ring and the same number of columns as M. Otherwise an error message is displayed. It is legal for the matrix M to not be graded. See the example below.

Warning: This command is useful if you happen to know that the columns of M form a standard basis, but the amount of computation to verify this is huge. This command makes each column monic, since Macaulay insists that every standard basis element be monic. If a change of basis matrix is given, it is changed accordingly.

The effect of the following example is to set the variables c to be the square root of -1, and d to be the square root of 3.

%  type j
; c2+1 d2-3 

%  forcestd j j 

%  poly f (ac+bd)^2

%  reduce j f f'

%  type f'
; 2abcd-a2+3b2



Sorin Popescu
Fri Feb 14 17:37:19 EST 1997