Exercise R-2.12 uses the _ _mul_ _ method to support multiplying a Vector
by a number, while Exercise R-2.14 uses the _ _ mul_ _ method to support
computing a dot product of two vectors. Give a single implementation of
Vector. _ _mul_ _ that uses run-time type checking to support both syntaxes
u * v and u * k, where u and v designate vector instances and k represents
a number.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here