Computes the multiplicative scaling: a * f.
a * f
@override T scale(T a, num f) => type.field.mod(type.field.scale(a, f), modulus);