nalgebra/src
Jakub Konka fe65b1c129 Add Vector::axcpy method
The added method `Vector::axcpy` generalises `Vector::gemv` to
noncommutative cases since it allows us to write for `gemv`
`self.axcpy(alpha, &col2, val, beta)`, instead the usual
`self.axpy(alpha * val, &col2, beta)`. Hence, `axcpy` preserves the
order of scalar multiplication which is important for applications where
commutativity is not guaranteed (e.g., matrices of quaternions, etc.).

This commmit also removes helpers `array_axpy` and `array_ax`, and
replaces them with `array_axcpy` and `array_axc` respectively, which
like above preserve the order of scalar multiplication.

Finally, `Vector::axpy` is preserved, however, now expressed in terms of
`Vector::axcpy` like so:

```
self.axcpy(alpha * val, &col2, beta)
```
2020-03-02 12:45:37 +01:00
..
base Add Vector::axcpy method 2020-03-02 12:45:37 +01:00
debug Rename Complex to ComplexField. 2019-03-25 11:19:36 +01:00
geometry Corrected typo. 2019-10-28 14:15:03 +01:00
io Rename Real to RealField. 2019-03-25 11:21:41 +01:00
linalg Release v0.18.0 2019-03-31 17:32:40 +02:00
sparse Fix warnings. 2019-03-31 13:32:26 +02:00
lib.rs Bump dependencies. 2019-10-28 14:15:03 +01:00