public static MutableIntTuple multiply(
        IntTuple t0, int factor, MutableIntTuple result)
    {
        return IntTupleFunctions.apply(
            t0, (a)->(a*factor), result);
    }
public static MutableIntTuple multiply ( IntTuple t0 , int factor , MutableIntTuple result ) { return IntTupleFunctions . apply ( t0 , ( a ) -> ( a * factor ) , result ) ; }
Multiply the given input tuple with the given factor, and
store the result in the given result tuple.

@param t0 The input tuple
@param factor The scaling factor
@param result The tuple that will store the result
@return The result tuple
@throws IllegalArgumentException If the given tuples do not
have the same {@link Tuple#getSize() size}