Vector.ones constructor

Vector.ones(
  1. int n
)

Implementation

Vector.ones(int n) : _els = List<double>.filled(n, 1.0);