operator * method

Vector operator *(
  1. double a
)

Implementation

Vector operator *(double a) => Vector(x * a, y * a, z * a);