forked from M-Labs/nalgebra
Add a libm and libm-force feature to transitively enable the corresponding simba feature.
This commit is contained in:
parent
7c69cbf326
commit
46d1cf2231
@ -31,6 +31,9 @@ debug = [ "approx/num-complex", "rand/std" ]
|
|||||||
alloc = [ ]
|
alloc = [ ]
|
||||||
io = [ "pest", "pest_derive" ]
|
io = [ "pest", "pest_derive" ]
|
||||||
compare = [ "matrixcompare-core" ]
|
compare = [ "matrixcompare-core" ]
|
||||||
|
libm = [ "simba/libm" ]
|
||||||
|
libm-force = [ "simba/libm_force" ]
|
||||||
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
typenum = "1.11"
|
typenum = "1.11"
|
||||||
@ -75,6 +78,3 @@ path = "benches/lib.rs"
|
|||||||
|
|
||||||
[profile.bench]
|
[profile.bench]
|
||||||
lto = true
|
lto = true
|
||||||
|
|
||||||
#[patch.crates-io]
|
|
||||||
#simba = { path = "../simba" }
|
|
@ -5,6 +5,10 @@ mod bidiagonal;
|
|||||||
mod cholesky;
|
mod cholesky;
|
||||||
mod convolution;
|
mod convolution;
|
||||||
mod determinant;
|
mod determinant;
|
||||||
|
// FIXME: this should not be needed. However, the exp uses
|
||||||
|
// explicit float operations on `f32` and `f64`. We need to
|
||||||
|
// get rid of these to allow exp to be used on a no-std context.
|
||||||
|
#[cfg(feature = "std")]
|
||||||
mod exp;
|
mod exp;
|
||||||
mod full_piv_lu;
|
mod full_piv_lu;
|
||||||
pub mod givens;
|
pub mod givens;
|
||||||
@ -27,6 +31,7 @@ mod symmetric_tridiagonal;
|
|||||||
pub use self::bidiagonal::*;
|
pub use self::bidiagonal::*;
|
||||||
pub use self::cholesky::*;
|
pub use self::cholesky::*;
|
||||||
pub use self::convolution::*;
|
pub use self::convolution::*;
|
||||||
|
#[cfg(feature = "std")]
|
||||||
pub use self::exp::*;
|
pub use self::exp::*;
|
||||||
pub use self::full_piv_lu::*;
|
pub use self::full_piv_lu::*;
|
||||||
pub use self::hessenberg::*;
|
pub use self::hessenberg::*;
|
||||||
|
Loading…
Reference in New Issue
Block a user