Commit Graph

241 Commits

Author SHA1 Message Date
Bruce Mitchener
9feb28926a Fix typo. (#600) 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
b5b81a0ba9 Bump version numbers. 2019-03-31 15:25:54 +02:00
sebcrozet
86fa4bee52 Remove the criterion dependency and add comment to re-add it to run benchmarks.
We are forced to remove the dependency because of the Cargo bug https://github.com/rust-lang/cargo/issues/4866 that would break compilation for #[no-std].

In practice, this means benchmarks will not compile any more unless we manually uncomment the criterion dependency.
2019-03-31 13:32:09 +02:00
sebcrozet
55873cae37 Fix compilation with no-std. 2019-03-31 12:06:26 +02:00
sebcrozet
ba40e8eb55 Fix merge errors due to the switch to rust 2018. 2019-03-31 10:53:31 +02:00
sebcrozet
38ef0cbf7b Merge branch 'dev' into complex
# Conflicts:
#	src/base/ops.rs
#	src/geometry/isometry.rs
#	src/geometry/quaternion.rs
#	src/geometry/quaternion_construction.rs
#	src/geometry/rotation.rs
#	src/geometry/similarity.rs
#	src/geometry/transform.rs
#	src/geometry/translation.rs
#	src/geometry/unit_complex.rs
2019-03-31 10:48:59 +02:00
sebcrozet
f9995f1fcc Fix tests. 2019-03-31 09:12:54 +02:00
sebcrozet
6d76249d74 Start switching benchmarks to criterion. 2019-03-23 18:01:04 +01:00
sebcrozet
3cbe60523a 2018 edition. 2019-03-23 14:33:47 +01:00
Adam Nemecek
edb08cd900 quaternion trigonometry 2019-03-04 08:36:46 -08:00
sebcrozet
77f048b6b9 WIP use Complex instead of Real whenever possible on the linalg module. 2019-03-02 19:33:49 +01:00
sebcrozet
9d08fdcc21 Release v0.17.2 2019-02-18 22:43:05 +01:00
sebcrozet
df0407ef44 Release v0.17.1 2019-02-17 18:24:05 +01:00
Igor Gnatenko
9061c98687 Exclude CI files (#548) 2019-02-17 18:22:29 +01:00
sebcrozet
fac709b0c0 Release nalgebra v0.17 and nalgebra-glm v0.3. 2019-02-03 17:03:12 +01:00
sebcrozet
08f31837a8 Update to alga 0.8. 2019-02-03 15:52:15 +01:00
sebcrozet
fc24db8ff3 Merge branch 'master-public' into sparse
# Conflicts:
#	Cargo.toml
#	examples/matrix_construction.rs
#	nalgebra-glm/src/constructors.rs
#	nalgebra-glm/src/ext/matrix_clip_space.rs
#	nalgebra-glm/src/ext/matrix_transform.rs
#	nalgebra-glm/src/ext/mod.rs
#	nalgebra-glm/src/ext/quaternion_common.rs
#	nalgebra-glm/src/gtx/quaternion.rs
#	nalgebra-glm/src/gtx/rotate_vector.rs
#	nalgebra-glm/src/lib.rs
#	nalgebra-glm/src/traits.rs
#	nalgebra-lapack/src/cholesky.rs
#	nalgebra-lapack/src/eigen.rs
#	nalgebra-lapack/src/hessenberg.rs
#	nalgebra-lapack/src/lu.rs
#	nalgebra-lapack/src/qr.rs
#	nalgebra-lapack/src/schur.rs
#	nalgebra-lapack/src/svd.rs
#	nalgebra-lapack/src/symmetric_eigen.rs
#	rustfmt.toml
#	src/base/array_storage.rs
#	src/base/blas.rs
#	src/base/cg.rs
#	src/base/default_allocator.rs
#	src/base/edition.rs
#	src/base/iter.rs
#	src/base/matrix.rs
#	src/base/swizzle.rs
#	src/base/vec_storage.rs
#	src/geometry/mod.rs
#	src/geometry/point_construction.rs
#	src/geometry/quaternion.rs
#	src/geometry/similarity.rs
#	src/geometry/translation.rs
#	src/geometry/unit_complex_construction.rs
#	src/linalg/bidiagonal.rs
#	src/linalg/cholesky.rs
#	src/linalg/full_piv_lu.rs
#	src/linalg/hessenberg.rs
#	src/linalg/lu.rs
#	src/linalg/permutation_sequence.rs
#	src/linalg/qr.rs
#	src/linalg/schur.rs
#	src/linalg/svd.rs
#	src/linalg/symmetric_eigen.rs
#	src/linalg/symmetric_tridiagonal.rs
#	tests/geometry/point.rs
#	tests/geometry/quaternion.rs
#	tests/lib.rs
#	tests/linalg/eigen.rs
#	tests/linalg/svd.rs
2019-02-03 12:53:41 +01:00
Sébastien Crozet
564246ec1c
Merge pull request #507 from burtonageo/update_deps_2
Update dependencies, and fix tests from fallout
2018-12-29 14:33:53 +01:00
sebcrozet
9108c8e655 Release nalgebra v0.16.13. 2018-12-29 13:29:03 +01:00
sebcrozet
cae2be5cad Add .min and .max. 2018-12-22 18:03:32 +01:00
George Burton
9c37c51203 Update dependencies, and fix tests from fallout 2018-12-18 14:44:53 +00:00
sebcrozet
1f2ef4bb44 Release v0.16.12. 2018-12-04 22:05:09 +01:00
sebcrozet
a56aad76bd Release v0.16.11 2018-11-23 07:02:27 +01:00
sebcrozet
6ed1a1be1e Release v0.16.10 2018-11-10 13:53:52 +01:00
sebcrozet
22bd50f4d2 Release v0.16.9 2018-11-08 06:44:05 +01:00
sebcrozet
ed07b78b97 Add matrixmarket parser. 2018-11-06 18:31:04 +01:00
sebcrozet
7eeba7dfd3 Release 0.16.8 2018-11-01 11:09:57 +01:00
sebcrozet
f7db63a18a Release v0.16.7 2018-10-30 07:57:06 +01:00
sebcrozet
d35c29b589 Release v0.16.6 2018-10-27 16:39:50 +02:00
sebcrozet
9fa3e7a769 Implement CsMatrix: axpy_cs, transpose, Add and Mul. 2018-10-20 22:42:16 +02:00
sebcrozet
99c9607a4f Release v0.16.5 2018-10-13 13:19:46 +02:00
sebcrozet
e73701b3a8 Release v0.16.4 2018-09-24 22:06:29 +02:00
sebcrozet
bee63859c0 Setup functions signatures for the glm interface. 2018-09-23 17:10:49 +02:00
sebcrozet
b9d23fe1c2 Release v0.16.3. 2018-09-22 16:19:43 +02:00
sebcrozet
4b6a69bb99 Release v0.16.2 2018-09-20 21:02:58 +02:00
sebcrozet
56cd7139e2 Update repository links. 2018-09-15 09:28:56 +02:00
sebcrozet
f68f7f4f00 Release v0.16.1. 2018-09-13 09:21:21 +02:00
Luca Trevisani
f9ea9f0795 Add keyword "math" and category "science" 2018-09-02 18:14:02 +02:00
sebcrozet
24eb7880f3 Release v0.16.0. 2018-07-20 16:35:57 +02:00
sebcrozet
3b19b6553e Update dependencies. 2018-07-20 16:33:59 +02:00
sebcrozet
3751602fb5 Release v0.15.3. 2018-06-09 17:45:23 +02:00
sebcrozet
c0d1c512ae Add the stdweb feature to activate rand/stdweb. 2018-06-09 17:44:19 +02:00
sebcrozet
07c0e34e1a Release v0.15.2. 2018-06-09 00:40:41 +02:00
sebcrozet
27a415d47f Release v0.15.1. 2018-05-27 12:26:55 +02:00
sebcrozet
c2d597e744 Release v0.15.0. 2018-05-26 22:26:06 +02:00
sebcrozet
9c7620e530 Remove all dependencies to git. 2018-05-26 22:07:57 +02:00
sebcrozet
bc54e61031 alga dependency: point to the github repository. 2018-05-26 22:07:57 +02:00
sebcrozet
d759db682c Make the alloc feature actually work. 2018-05-26 22:07:57 +02:00
sebcrozet
a51744f86b Update to rand 0.5. 2018-05-26 22:07:57 +02:00
sebcrozet
bd3b73f872 Enable alga/std when std is enabled. 2018-05-26 22:07:57 +02:00
sebcrozet
40e74e0186 Fix compilation with and without #![no_std]. 2018-05-26 22:07:57 +02:00
sebcrozet
ca093fad29 Move core/* to base/* + add conditional compilation to dynamics matrices when no_std is enabled. 2018-05-26 22:07:57 +02:00
sebcrozet
118227d6b9 Release v0.14.4 2018-05-17 16:02:18 +02:00
Sébastien Crozet
fd1cbf511c Release v0.14.3 2018-05-10 15:23:14 +02:00
Flier Lu
54c26fd639 disable rustc-serialize 2018-05-10 15:22:16 +02:00
Sébastien Crozet
8285931856 Release v0.14.2. 2018-05-06 23:48:51 +02:00
Sébastien Crozet
e995cdee06 Release v0.14.1. 2018-03-08 17:31:46 +01:00
Sébastien Crozet
7b249f8966 Release v0.14.0 2018-02-03 14:21:31 +01:00
Sébastien Crozet
a669d3e6ea Bump the rand crate version. 2018-02-03 14:07:15 +01:00
Sébastien Crozet
052090832c Release v0.13.1. 2017-10-10 22:12:07 +02:00
Dzmitry Malyshau
7d96007bdb Mint vector conversions 2017-10-09 20:22:24 +02:00
Sébastien Crozet
f2b7c17dac Release v0.13.0.
nalgebra-lapack v0.5.
2017-08-15 19:49:39 +02:00
Sébastien Crozet
afef66227e Merge branch 'master' into abomonation 2017-08-15 19:18:39 +02:00
Sébastien Crozet
3f70af97dd Add the most common matrix decompositions. 2017-08-15 19:07:18 +02:00
Eduard Bopp
66f491ffa7 Remove abomonation_derive dependency 2017-08-14 16:26:36 +02:00
Eduard Bopp
65fa4cf740 Implement Abomonation for static matrices 2017-08-14 12:07:06 +02:00
George Burton
1ca8f6ba72 Update deps 2017-07-22 09:58:39 +02:00
Eduard Bopp
108b5830e1 Merge pull request #265 from corngood/serde
Enable serde on num-complex
2017-07-13 03:17:00 +02:00
David McFarland
19e57ce37f Enable serde on num-complex 2017-06-09 20:13:38 -03:00
Brad Gibson
951b078f24 Update Cargo.toml 2017-05-25 13:04:42 -07:00
Sébastien Crozet
119499beeb Release v0.12.3 2017-05-17 22:48:09 +02:00
Sébastien Crozet
136a3306e7 Release v0.12.2. 2017-05-03 22:57:45 +02:00
Sébastien Crozet
1cdad4c7c6 Release v0.12.1. 2017-04-28 19:15:57 +02:00
Sébastien Crozet
e2d67c77e4 Release v0.12.0. 2017-04-25 19:24:50 +02:00
Sébastien Crozet
df2aa68ac5 Releave v0.11.3. 2017-04-24 20:14:06 +02:00
Sébastien Crozet
485abf1462 Update to serde 1.0. 2017-04-24 20:13:30 +02:00
projektir
b219a19608 Fixing the documentation link in Cargo.toml 2017-04-09 12:05:47 +02:00
Sébastien Crozet
7218f83b13 Release v0.11.2 2017-03-19 22:45:03 +01:00
Sébastien Crozet
4b9246ec10 Update the description on crates.io. 2017-03-19 22:35:05 +01:00
Sébastien Crozet
80be059daa Release v0.11.1.
Fix #223 #160 #36
2017-02-18 13:44:03 +01:00
Sébastien Crozet
181e67604d Release v0.11.0.
Fix #211, #207, #205, #200, #145, #136, #108, #50, #32
2017-02-15 22:30:57 +01:00
Sébastien Crozet
42b48563be Make serde optional behind the "serde-serialize" feature. 2017-02-15 22:04:34 +01:00
Sébastien Crozet
086e6e719f Doc + slerp + conversions. 2017-02-12 18:17:09 +01:00
Sébastien Crozet
99b6181b1e Complete library rewrite.
See comments on #207 for details.
2016-12-04 22:47:36 +01:00
Sébastien Crozet
1c81dd2130 Release v0.10.1. 2016-09-06 19:42:51 +02:00
Sébastien Crozet
7914d7bdcb Release v0.10.0. 2016-08-29 21:20:42 +02:00
Sébastien Crozet
d29ff53329 Implement traits from the algebra crate. 2016-08-21 21:35:56 +02:00
Sébastien Crozet
c4728a33d4 Fix quaternion polar decomposition. 2016-08-16 12:40:39 +02:00
Sébastien Crozet
d45c242a15 Add a Unit wrapper type, remove UnitQuaternion.
The `Unit` wrapper type ensures that elements of the underlying type has a unit norm.
For example, `Unit<Vector3>` designates an element of S².
In particular `UnitQuaternion<N>` is now a type alias for `Unit<Quaternion<N>>`.
2016-08-16 10:27:07 +02:00
Sébastien Crozet
88a74ca4e5 Macro groupping. 2016-08-11 23:28:08 +02:00
Sébastien Crozet
aa7d4b927c Implement Display for Identity. 2016-04-30 14:32:16 +02:00
Sébastien Crozet
a9c4bd0b78 Release v0.8.1 2016-04-19 09:43:13 +02:00
Sébastien Crozet
830c19aeba Release v0.8.0. 2016-04-17 20:26:17 +02:00
Sébastien Crozet
353d36639d Release v0.7.0.
This replaces the relase v0.6.1 which introduced breaking changes.
2016-04-17 13:41:01 +02:00
Sébastien Crozet
eee1eb5c5f Release v0.6.1. 2016-04-17 13:22:20 +02:00
Sébastien Crozet
60c0f32e1c Feature-gate the VecN structure.
`rustc` is has a hard time compiling it from time to time.
2016-03-24 19:44:08 +01:00
Sébastien Crozet
f8f4924e47 Add vector perametrizable by their sizes. 2016-03-24 19:03:29 +01:00
Sébastien Crozet
20070e9677 Add version number for quickcheck. 2016-03-07 16:40:19 +01:00
Sébastien Crozet
6bcf43563f Release 0.5.1. 2016-01-10 16:17:45 +01:00
Sébastien Crozet
5a058f0c76 Releave v0.5.0. 2016-01-10 15:24:36 +01:00
Sébastien Crozet
54c22c2fc3 Release v0.4.0 2015-11-15 21:56:29 +01:00
Sébastien Crozet
6db6db19fc Release v0.3.2. 2015-11-15 00:20:20 +01:00
Sébastien Crozet
0f24c2d8fc Release v0.3.1. 2015-10-13 23:20:02 +02:00
Sébastien Crozet
6fee70bd19 Release 0.3.0.
This includes breaking changes for the Rot3::look_at{_z} method.
2015-09-16 23:28:08 +02:00
Sébastien Crozet
cdd0443cf8 Release version 0.2.23. 2015-09-13 23:51:08 +02:00
Sébastien Crozet
eb7600adf6 Release v0.2.22. 2015-08-28 08:39:11 +02:00
Sébastien Crozet
a862444c07 Release v0.2.21. 2015-08-09 14:40:31 +02:00
Sébastien Crozet
ce884e2c34 Release v0.2.20. 2015-07-12 09:32:45 +02:00
Sébastien Crozet
4533117433 Release v0.2.19. 2015-07-07 22:55:41 +02:00
Sébastien Crozet
705a969e6d Release v0.2.18. 2015-06-23 21:04:31 +02:00
Sébastien Crozet
ee7efb5efc Release v0.2.17. 2015-06-06 13:01:31 +02:00
Sébastien Crozet
981bc85e2a Release v0.2.16. 2015-06-01 23:10:46 +02:00
Sébastien Crozet
0d4673ac79 Release 0.2.15 2015-05-25 14:51:22 +02:00
Sébastien Crozet
bf4c27ae10 Releave v0.2.14 2015-05-14 09:03:46 +02:00
Sébastien Crozet
0b1969d4d5 Release v0.2.13 2015-05-09 00:03:05 +02:00
Sébastien Crozet
350c8fb927 Release v0.2.12 2015-04-23 23:56:06 +02:00
Eduard Bopp
e3809ef06d Release v0.2.11 2015-04-22 19:18:45 +02:00
Eduard Bopp
e453bfed47 Use Float trait from num crate 2015-04-04 17:53:25 +02:00
Eduard Bopp
0e7116e3bb Release version 0.2.10 2015-04-04 17:27:07 +02:00
Sébastien Crozet
1fc59cb0f5 Bump the version number. 2015-03-29 18:04:57 +02:00
Sébastien Crozet
8776963e91 Depend on rand = "*" instead of a specific version. 2015-03-28 13:59:15 +01:00
tomaka
7dc67f365f Update to rand 0.3 2015-03-26 06:48:13 +01:00
Sébastien Crozet
0988b837dc Update to the last rust-nighly.
Version of rustc: rustc 1.0.0-nightly (123a754cb 2015-03-24).
2015-03-25 22:39:06 +01:00
Pierre Krieger
75a9dc7b84 Bump version 2015-03-23 14:38:59 +01:00
Pierre Krieger
7c415692c3 Update for rustc 2015-03-23 14:38:48 +01:00
Eduard Bopp
32f207881e Release version 0.2.5 2015-03-05 13:24:35 +01:00
Eduard Bopp
713123565a Release version 0.2.4 2015-02-22 14:07:14 +01:00
Eduard Bopp
7e62bfcf6b Bump to version 0.2.3 2015-02-17 14:32:27 +01:00
Eduard Bopp
f14f240aa7 Migrate random generation to use crates.io rand
The standard library random generation facilities have been deprecated in
favour of a new crate on crates.io.
2015-02-17 13:45:16 +01:00
Sébastien Crozet
14df13809f Bump the version number. 2015-01-25 21:25:43 +01:00
Sébastien Crozet
1b6a44e8fb Update to the last rust-nightly.
Version of rustc: 1.0.0-nightly (4874ca36f 2015-01-23 00:18:57 +0000).
2015-01-23 21:48:10 +01:00
Sébastien Crozet
713589ff50 Bump the version number. 2015-01-18 14:09:49 +01:00
Eduard Bopp
1103996b83 Implement Arbitrary for (almost) all types
Rot4 and Iso4 had to be left out, since Rot4 apparently lacks a working
constructor.

Thereby (almost) all types in nalgebra can now be used for quickcheck-style
testing.

"arbitrary" is now a conditionally compiled feature that contains these impls
adding a dependency on quickcheck.
2015-01-10 01:36:13 +01:00
Ben Foppa
0ba92a51bd Fix Encodable/Decodable deprecation warnings 2014-12-25 16:05:33 -05:00
Sébastien Crozet
2e3ae62fd5 Add metadatas for crates.io
cc #37.
2014-11-22 19:52:06 +01:00
Sébastien Crozet
40c9915870 Add the types: DVec1, .., DVec6.
They are stack-allocated, dynamically sized vectors with a maximum size.
This is useful for slicing small matrices, without allocation.
2014-08-16 12:16:26 +02:00
Sébastien Crozet
97c2e71fd6 Remove crate_type from Cargo.toml. 2014-07-22 19:58:26 +02:00
Sébastien Crozet
11ee4e46b1 Make cargo build a rlib too. 2014-07-14 13:48:31 +02:00
Sébastien Crozet
7b9a3f2bb9 Update to the last rust-nightly.
Version of rustc: 0.11.0-nightly (459f155f81291c46633e86a480628b50304ffb1c 2014-07-04 23:46:44 +0000).
2014-07-05 10:33:57 +02:00
Sébastien Crozet
997cd4f888 Add Cargo.toml. 2014-06-24 19:25:57 +02:00