scale method

Vector scale(
  1. double x
)

Implementation

Vector scale(double x) =>
    Vector.fromList(_els.map<double>((double el) => x * el).toList());