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
Jakub Konka
e1c8e1bccf
Fix Vector::axpy for noncommutative cases
...
One example would be performing simple matrix multiplication
over a division algebra such as quaternions.
2020-03-02 12:45:37 +01:00
sebcrozet
549d0dd2dd
Release nalgebra 0.19.0.
2019-10-28 14:15:03 +01:00
sebcrozet
0cc1bac816
Bump dependencies.
2019-10-28 14:15:03 +01:00
Sébastien Crozet
1b4c47fa0a
Create FUNDING.yml
2019-10-28 14:15:03 +01:00
Edoardo Morandi
37640838b1
Updated rand and quickcheck for nalgebra-lapack
2019-10-28 14:15:03 +01:00
Edoardo Morandi
d0d1172d4b
Rand 0.6 -> 0.7
...
* Bumped rand version to 0.7
* Added dependency to rand_distr
* Bumped quickcheck version to 0.9 (because of rand)
* Bumped rand_xorshift version to 0.2
2019-10-28 14:15:03 +01:00
thibault
67f3379b34
Corrected typo.
2019-10-28 14:15:03 +01:00
thibault
7773f13016
Changed name. Changed argument. Added documentation line.
2019-10-28 14:15:03 +01:00
thibault
dacd15e927
Added function to compute the mean quaternion from a vector of unit quaternions.
2019-10-28 14:15:03 +01:00
Pierre Avital
b5f43c6efc
Switched fmt implementation to a macro, applied that macro to all formats in std
2019-10-28 14:15:03 +01:00
Pierre Avital
6ee0e02612
implemented LowerExp
2019-10-28 14:15:03 +01:00
alex
fedf0fb4f5
Fixes #637 : removes not used parameter from cross
2019-10-28 14:15:03 +01:00
sebcrozet
d35779d3f2
Release v0.18.2
2019-10-28 14:15:03 +01:00
sebcrozet
be41cb96e8
GEMM on empty matrices: properly take the beta parameter into account.
2019-10-28 14:15:03 +01:00
sebcrozet
f9f7ddd08f
Add test for empty matrix tr_mul.
2019-10-28 14:15:03 +01:00
sebcrozet
e30db9e8b1
Add test for empty matrix multiplication.
2019-10-28 14:15:03 +01:00
sebcrozet
8e759ade83
Fix multiplication between matrices of dimension 0.
...
Fix #644
2019-10-28 14:15:03 +01:00
Koen Deschacht
fba61923ae
.min() and .max(): updated examples to be more concise
2019-10-28 14:15:03 +01:00
Koen Deschacht
8f0ee9fa90
Allow getting .min() and .max() of matrices of unsigned integers
2019-10-28 14:15:03 +01:00
sebcrozet
f71d0c5b8c
Release nalgebra-glm v0.4.2
2019-08-27 22:47:03 +02:00
sebcrozet
e48ee26d45
Release nalgebra-glm v0.4.2
2019-08-27 22:45:20 +02:00
sebcrozet
f1576953dd
nalgebra-glm: reexport infinite and reversed perspectives.
2019-08-27 22:41:09 +02:00
sebcrozet
f302edc0dc
Release v0.18.1
2019-08-27 22:05:28 +02:00
sebcrozet
f0324c67b1
Update changelog.
2019-08-27 22:05:28 +02:00
sebcrozet
cfb654240c
Matrix::transform_point: correctly take the normalization term into account.
...
Fix #640
2019-08-27 22:05:28 +02:00
Fabian Löschner
e170729f67
Simplified ordering check
2019-08-27 22:05:28 +02:00
Fabian Löschner
a06b833343
More elegant initial value for xcmp
2019-08-27 22:05:28 +02:00
Fabian Löschner
c625a37525
Undo breaking changes
2019-08-27 22:05:28 +02:00
Fabian Löschner
a4a5750ccd
Clarified documentation of min/max behaviour
2019-08-27 22:05:28 +02:00
Fabian Löschner
d21c65f755
Fix for [a,ca]min/max methods.
...
Panic on empty matrices, propagate NaN, fix of wrong results, added doc tests
2019-08-27 22:05:28 +02:00
Sébastien Crozet
f27d399a93
Fix CI ( #634 )
2019-08-27 22:05:28 +02:00
Jake Shadle
4fa4a6b854
HTTPS All The Things ( #608 )
...
* Use https for all links where it is valid
* Fix random links to external sites
2019-08-27 22:05:28 +02:00
Bruce Mitchener
9feb28926a
Fix typo. ( #600 )
2019-08-27 22:05:28 +02:00
Felipe Jorge
935f5e4662
Fix for nostd builds ( #589 )
2019-08-27 22:05:28 +02:00
Las
3d97b21aea
Fix incorrect documentation from `s/Real/&Field`
2019-08-27 22:05:28 +02:00
Jack Wrenn
c8ae3839c1
simplify anti-aliasing assertion
2019-08-27 22:05:28 +02:00
Jack Wrenn
2e273ad6c5
prevent constructing `MatrixSliceMutMN` for which disjoint indices may alias the same linear index
...
Fixes #486 .
2019-08-27 22:05:28 +02:00
sebcrozet
2838350ea4
Reorder comments about parameters of projection so they match the order of the function parameter.
2019-08-27 22:05:28 +02:00
sebcrozet
62d63eadea
Remove the _no variants of reversed perspective.
2019-08-27 22:05:28 +02:00
sebcrozet
94b5023605
Remove comments about float depth buffer.
2019-08-27 22:05:28 +02:00
sebcrozet
77cb68e47f
Fix missing identifier.
2019-08-27 22:05:28 +02:00
sebcrozet
4c5996e67b
Remove some assertions.
2019-08-27 22:05:28 +02:00
sebcrozet
1dc6f16463
Fix typos.
2019-08-27 22:05:28 +02:00
sebcrozet
323fc7f39b
Add more comments.
2019-08-27 22:05:28 +02:00
sebcrozet
c65f0e9e4e
Add some infinite and reversed perspectives.
...
This adds:
infinite_perspective_rh_no
infinite_perspective_rh_zo
reversed_perspective_rh_no
reversed_perspective_rh_zo
reversed_infinite_perspective_rh_zo
reversed_infinite_perspective_rh_zo
Fix #573
2019-08-27 22:05:28 +02:00
Stefan Mesken
e86ab5db3d
removed depedency on Vec
2019-08-27 22:05:28 +02:00
Stefan Mesken
4add995c1b
addressed Trevis CI error
2019-08-27 22:05:28 +02:00
Stefan Mesken
3baefb1319
Allow the removal of multiple rows/columns given an array of indices. #530
2019-08-27 22:05:28 +02:00
sebcrozet
dda41c1508
Add tests for serialization of 2D transformations.
...
Fix #320 .
2019-08-27 22:05:28 +02:00