Crozet Sébastien
d59d438189
Add more conversion for glam types
...
Add Isometry3 <-> (Vec3, Quat)
Add Isometry2 <-> (Vec3, Quat)
Add Translation2/3/4 <-> Vec2/3/4
2021-04-27 13:21:46 +02:00
Crozet Sébastien
65b94ccb91
Add more conversions for translations
...
Add [T; D] <-> Translation<T, D>
Add Point<T, D> -> Translation<T, D>
2021-04-27 13:17:51 +02:00
Crozet Sébastien
db27a080f1
Cleanup conversions between points and static vectors.
2021-04-27 13:17:12 +02:00
Crozet Sébastien
09be376cd9
Add more conversion for Isometry
...
Add [T; D] -> Isometry<T, R, D>
Add SVector<T, D> -> Isometry<T, R, D>
Add Point<T, D> -> Isometry<T, R, D>
2021-04-27 13:16:44 +02:00
Crozet Sébastien
43cf22af28
Cleanup conversion between static arrays and static matrices.
2021-04-27 13:16:01 +02:00
Crozet Sébastien
f70e7f77d1
Fix serialization of DVector
2021-04-12 17:43:04 +02:00
Crozet Sébastien
c5c6c139ab
Release v0.26.0
2021-04-12 16:15:08 +02:00
Crozet Sébastien
95b021dbfb
Don't enable serde by default.
...
Don't enable `serde/std` by default.
Add a `serde-serialize-no-std` feature to enable serde without its default features.
2021-04-12 12:14:16 +02:00
Crozet Sébastien
ee1c0be2dd
Add a note about the PhantomData in Matrix.
2021-04-12 11:27:21 +02:00
Crozet Sébastien
2bef19ed5c
Deprecate the MatrixN alias.
2021-04-12 11:15:01 +02:00
Crozet Sébastien
7ec4497f92
Fix wrong alias.
2021-04-12 11:06:13 +02:00
Crozet Sébastien
5a1dbfe37d
Use explicit storage names in matrix aliases.
2021-04-12 10:34:15 +02:00
Crozet Sébastien
bc7db9d139
Mark as const-fn some constructors of Point, Translation, Quaternion
2021-04-12 10:32:17 +02:00
Crozet Sébastien
bedf48dbc2
Mark small matrix/vector "new" constractors as const-fn.
2021-04-12 09:18:17 +02:00
Crozet Sébastien
ad5b18ac77
Deny missing docs again.
2021-04-11 14:36:27 +02:00
Crozet Sébastien
600bb175e7
Fix compilation with the mint feature.
2021-04-11 14:35:10 +02:00
Crozet Sébastien
3d834e08c9
Run cargo fmt
2021-04-11 14:09:01 +02:00
Crozet Sébastien
cc4427e52b
Make matrix power work for non-owned matrices.
2021-04-11 14:07:06 +02:00
Crozet Sébastien
24d546d3b6
Rename generic parameter N -> T
2021-04-11 13:57:54 +02:00
Crozet Sébastien
23a7d7475b
First compiling version after migrating the geometry module to const-generics.
2021-04-11 13:53:45 +02:00
Crozet Sébastien
8abbb35b40
First pass to migrate the geometry module to const-generics.
2021-04-11 13:53:45 +02:00
Crozet Sébastien
35ec135d2c
Fix compilation after rebase.
2021-04-11 13:53:45 +02:00
Crozet Sébastien
d17088398a
Replace generic-array with a regular array based on min-const-generics.
2021-04-11 13:53:45 +02:00
Sébastien Crozet
b2dadffcf2
Merge pull request #864 from vks/idiomatic-rand
...
More idiomatic use of Rand
2021-04-11 13:52:48 +02:00
Sébastien Crozet
2ebba30117
Merge pull request #861 from jturner314/fix-cholesky-det-complex
...
Fix Cholesky::determinant for complex elements
2021-04-11 13:49:35 +02:00
Sébastien Crozet
b9a524427b
Merge pull request #859 from OfficialURL/dev
...
Added pow functions
2021-04-11 13:44:06 +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
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
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
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
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
Guilherme Salustiano
9947cd5b88
Add type aliases for unit vectors
2021-03-29 15:20:04 -03: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
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
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
c32172b6b9
Make the rand dependency optional.
2021-03-02 12:25:12 +01:00
Crozet Sébastien
5b9b94c610
Release v0.25.0
2021-03-01 14:25:29 +01:00
Crozet Sébastien
6cfd2bca14
Use proptest for all nalgebra tests.
2021-02-28 17:52:14 +01:00
Crozet Sébastien
7b6b3649f2
Run cargo fmt.
2021-02-25 16:20:11 +01:00
Crozet Sébastien
6699039fec
Fix rebase-induced compilation error.
2021-02-25 15:51:13 +01:00
Crozet Sébastien
aeb9f7ea39
Add a matrix.udu() method to compute the UDU decomposition.
2021-02-25 15:49:24 +01:00