The module or chain complex provided should be over a ring whose degree length (see degreeLength) is the same as the length of the list w. The dot products of w with the multi-degrees occurring will be used in the resulting computation.