Linear algebra library for Rust.
Go to file
Jakub Konka 9276b1dc64 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)
```
2019-11-04 10:27:57 +01:00
benches Rename Complex to ComplexField. 2019-03-25 11:19:36 +01:00
ci Fix mint tests. 2019-03-19 22:53:21 +01:00
examples Rename Real to RealField. 2019-03-25 11:21:41 +01:00
nalgebra-glm Release nalgebra-glm v0.4.2 2019-08-27 22:45:20 +02:00
nalgebra-lapack HTTPS All The Things (#608) 2019-06-11 20:56:50 +02:00
src Add Vector::axcpy method 2019-11-04 10:27:57 +01:00
tests Fix Vector::axpy for noncommutative cases 2019-09-05 15:12:38 +02:00
.gitignore Add .idea folder to gitignore. 2018-09-13 09:23:08 +02:00
.travis.yml Fix CI (#634) 2019-08-13 10:05:39 +02:00
Cargo.toml Release v0.18.2 2019-09-01 21:08:48 +02:00
CHANGELOG.md Update changelog. 2019-08-27 20:53:54 +02:00
LICENSE Initial commit. 2013-05-14 11:34:28 +00:00
Makefile Add matrix slice construction from array slices. 2018-02-03 13:59:05 +01:00
README.md HTTPS All The Things (#608) 2019-06-11 20:56:50 +02:00
rustfmt.toml Add rustfmt.toml. 2018-11-06 18:32:31 +01:00

crates.io

Build status crates.io

Users guide | Documentation | Forum


Linear algebra library for the Rust programming language.


 Click this button if you wish to donate to support the development of nalgebra:

Become a Patron!