weight ( ideal_expression
weight ( module_expression
- computes an "optimal" weight vector for an ideal, resp. module,
which may be used as weight vector for the variables in order to speed
up the standard basis algorithm. If the input is weighted homogeneous,
a weight vector for which the input is weighted homogeneous is found.