|
5.1.10 coef
Syntax:
coef ( poly_expression, product_of_ringvars )
Type:
- matrix
Syntax:
coef ( vector_expression, product_of_ringvars, matrix_name, matrix_name )
Type:
- none
Purpose:
- determines the monomials in f divisible by a ring variable of m
(where f is the first argument and m the second argument) and the coefficients
of these monomials as polynomials in the remaining variables. First case: returns a
matrix M, n being the number of the determined monomials.
The first row consists of these monomials, the second row
of the corresponding coefficients of the monomials in f.
Thus,
Second case: the second matrix (i.e., the 4th argument) contains the
monomials, the first matrix (i.e., the 3rd argument) the corresponding
coefficients of the monomials in the vector.
Note:
- coef considers only monomials which really occur in f (i.e., which are not 0),
while coeffs (see coeffs) returns the coefficient 0 at the
appropriate place if a monomial is not present.
Example:
See
coeffs.
|