Sébastien Crozet
f7daf31b0f
Merge pull request #862 from vks/better-error
...
Better error message when running `cargo test`
2021-04-11 13:41:29 +02:00
Sébastien Crozet
002b3677c2
Merge pull request #863 from vks/cargo-resolver
...
Use the new Cargo resolver from Rust 1.50
2021-04-11 13:40:29 +02:00
Vinzent Steinberg
7417f6cbca
UnitComplex: More efficient sampling
2021-04-10 03:49:46 -03:00
Vinzent Steinberg
09f26385cc
Comment about faster impl for unit sphere sampling
2021-04-10 03:36:21 -03:00
Vinzent Steinberg
c8fe49b1e9
Add some comments about random variates
2021-04-10 03:36:21 -03:00
Vinzent Steinberg
fd3a752409
Make use of rand more idiomatic
...
This should improve performance and accuracy.
2021-04-10 03:13:46 -03:00
Violeta Hernández
341091f647
pow_mut
now returns Result
.
2021-04-10 00:12:26 -05:00
Violeta Hernández
81f2fc38d7
Use mul_to instead of square_buf
...
Didn't realize that this was something that was already implemented.
2021-04-09 23:59:22 -05:00
Vinzent Steinberg
7f0a22bd22
Fix CI for nalgebra-glm
...
Some features were specified that do not exist for the crate. With the
new Cargo resolver, this is an error, so these features were removed.
2021-04-10 01:58:20 -03:00
Violeta Hernández
15a63cb892
Memory improvements, extra comments.
...
The result of `multiplier ^ 2` is now written into a single buffer.
2021-04-09 23:43:59 -05:00
Vinzent Steinberg
9103a8b763
Use the new Cargo resolver from Rust 1.50
...
This should make it possible to add the dev-dependency on criterion
without breaking `no_std` builds.
2021-04-10 01:43:52 -03:00
Vinzent Steinberg
260ee54288
Disable some tests if "rand" feature is disabled
...
This avoids some misleading errors for `cargo test`.
2021-04-10 01:00:12 -03:00
Vinzent Steinberg
df33dec457
Make "compare" a required feature for the matrixcompare
example
...
This avoids distracting error messages when running `cargo test` and
gives a better error when trying to run the example without the required
feature.
2021-04-10 00:52:54 -03:00
Vinzent Steinberg
bbe1d0cd56
Improve error message for cargo test
...
There is a custom compiler error, hinting that the "debug", "compare"
and "rand" feature are required for compiling and running the tests.
However, this error was not displayed when running `cargo test` due to
other compilation errors taking precedence.
This is now avoided by just not compiling the integration tests when the
necessary features are not enabled.
2021-04-10 00:48:58 -03:00
Jim Turner
cea3bdc8e5
Fix Cholesky::determinant for Complex elements
...
The previous implementation was correct only for real elements. The
Cholesky decomposition is `L L^H`, so the determinant is `det(L) *
det(L^H)`. Since `L` is a triangular matrix, `det(L)` is the product
of the diagonal elements of `L`. Since `L^H` is triangular and its
diagonal elements are the conjugates of the diagonal elements of `L`,
`det(L^H)` is the conjugate of `det(L)`. So, the overall determinant
is the product of the diagonal elements of `L` times its conjugate.
2021-04-09 14:28:16 -04:00
Sébastien Crozet
5aa6033a3b
Merge pull request #860 from jturner314/cholesky-determinant
...
Add determinant method to Cholesky
2021-04-08 09:25:44 +02:00
Jim Turner
50fed194f4
Add determinant method to Cholesky
2021-04-07 23:10:19 -04:00
Violeta Hernández
06b657ad49
Added pow_mut.
...
Actually, I think this will do.
2021-04-05 12:32:12 -05:00
Violeta Hernández
ab85766b5a
Added pow function.
...
I'll try adding some unchecked and in place variants soon.
2021-04-05 12:17:49 -05:00
Crozet Sébastien
f8173bd668
Release v0.25.4
2021-04-01 12:16:54 +02:00
Sébastien Crozet
889a2ace8f
Merge pull request #857 from dimforge/serde-std
...
Fix compilation when only the `serde-serialize` feature of nalgebra is enabled
2021-04-01 12:07:16 +02:00
Crozet Sébastien
4e5b32a3fa
Don't enable the serde/alloc
feature when alloc
is enabled.
...
It looks like serde still pulls std when only `alloc` is selected.
2021-04-01 11:53:19 +02:00
Crozet Sébastien
2602f48452
Fix compilation when only the serde-serialize
feature of nalgebra is enabled.
2021-04-01 11:40:27 +02:00
Crozet Sébastien
d16411c6db
Release v0.25.3
2021-04-01 11:39:45 +02:00
Sébastien Crozet
031b540191
Merge pull request #853 from guissalustiano/dev
2021-03-30 22:16:51 +02:00
Guilherme Salustiano
9947cd5b88
Add type aliases for unit vectors
2021-03-29 15:20:04 -03:00
Sébastien Crozet
01cfc62112
Merge pull request #847 from dimforge/simd_cap_magnitude
...
Add simd_cap_magnitude, a SIMD version of cap_magnitude.
2021-03-07 11:36:46 +01:00
Crozet Sébastien
1d7a5611b8
Update the changelog.
2021-03-06 19:17:53 +01:00
Crozet Sébastien
b687c63bb2
Add a SIMD version of cap_magnitude: simd_cap_magnitude.
2021-03-06 19:16:22 +01:00
Crozet Sébastien
9ce8402ef3
Release v0.25.2
2021-03-06 14:05:38 +01:00
Sébastien Crozet
48248ae0a0
Merge pull request #845 from dimforge/glam
...
Add conversions from/to glam types.
2021-03-06 14:04:51 +01:00
Crozet Sébastien
35ffdc960d
Update the changelog.
2021-03-06 12:45:58 +01:00
Crozet Sébastien
2dae1ca44f
Add conversion of Similarity from/to glam types.
2021-03-06 12:39:53 +01:00
Crozet Sébastien
bdf0de68cf
Add conversion of Rotation and UnitComplex from/to glam types.
2021-03-06 12:39:53 +01:00
Crozet Sébastien
729a8fd7f2
Add conversion from/to glam types + move glam/alga/mint impls to a "third_party" module.
2021-03-06 12:20:38 +01:00
Sébastien Crozet
a798d1c4ce
Merge pull request #844 from dimforge/cast
...
@sebcrozet Add "cast" methods to cast the type component types
2021-03-06 12:19:41 +01:00
Crozet Sébastien
4bb1edaab4
Update the CHANGELOG.
2021-03-05 17:12:11 +01:00
Crozet Sébastien
f2c49aecb0
Add "cast" methods to cast the type of the components of most nalgebra types.
2021-03-05 17:08:46 +01:00
Crozet Sébastien
f282d02db1
Release v0.25.1
2021-03-02 14:25:10 +01:00
Sébastien Crozet
9e625db538
Merge pull request #841 from dimforge/rand_optional
...
Make the rand dependency optional.
2021-03-02 14:20:51 +01:00
Crozet Sébastien
ff27daf044
Enable rand for tests.
2021-03-02 12:37:00 +01:00
Crozet Sébastien
c32172b6b9
Make the rand dependency optional.
2021-03-02 12:25:12 +01:00
Crozet Sébastien
7fdac06365
Fix cargo metadata to allow publishing nalgebra-lapack and nalgebra-sparse.
2021-03-01 14:49:03 +01:00
Crozet Sébastien
5b9b94c610
Release v0.25.0
2021-03-01 14:25:29 +01:00
Sébastien Crozet
b97a3d0ab2
Merge pull request #837 from dimforge/proptest
...
Replace quickcheck by proptest
2021-03-01 14:13:28 +01:00
Crozet Sébastien
3270e8e4a3
Delete semaphore CI to keep only GitHub Actions.
2021-03-01 13:07:16 +01:00
Crozet Sébastien
abf03a78a0
github actions: fix yaml
2021-03-01 12:57:12 +01:00
Crozet Sébastien
a9558a3a8b
github actions: split tests into separate jobs.
2021-03-01 12:54:50 +01:00
Crozet Sébastien
80aa4faa38
Fix tests for nalgebra-sparse.
2021-03-01 12:42:54 +01:00
Sébastien Crozet
258ecf22bc
Update Semaphore configuration
2021-03-01 11:36:33 +00:00