I want to divide a matrix’ elements by a number.

```
let a = DVector::repeat(3, 1.);
let b : f64 = DVector::repeat(3, 1.).dot(&a); // is there no method to sum the elements of a matrix?
```

Why does these work:

```
let w = &a / b;
let w = a / b;
```

But these raise an error?

```
let w = &a / &b;
let w = a / &b;
```

error[E0277]: cannot divide

`&nalgebra::Matrix<{float}, nalgebra::Dynamic, nalgebra::U1, nalgebra::VecStorage<{float}, nalgebra::Dynamic, nalgebra::U1>>`

by`&{float}`