nalgebra/src/lib.rs

61 lines
1.0 KiB
Rust
Raw Normal View History

/*!
# A n-dimensional linear algebra library.
*/
#[link(name = "nalgebra"
, vers = "0.1"
, author = "Sébastien Crozet"
, uuid = "1e96070f-4778-4ec1-b080-bf69f7048216")];
#[crate_type = "lib"];
2013-07-24 22:50:40 +08:00
#[deny(non_camel_case_types)];
#[deny(non_uppercase_statics)];
#[deny(unnecessary_qualification)];
#[deny(missing_doc)];
extern mod std;
extern mod extra;
pub mod dmat;
pub mod dvec;
pub mod vec;
pub mod mat;
pub mod types;
/// Wrappers around raw matrices to restrict their behaviour.
pub mod adaptors {
2013-08-17 23:50:01 +08:00
pub mod rotmat;
pub mod transform;
}
2013-09-26 23:18:14 +08:00
/// Traits implemented by matrices and vectors. Re-exported by the `mat` or the `vec` module.
pub mod traits {
pub mod geometry;
pub mod structure;
pub mod operations;
}
2013-05-19 01:04:03 +08:00
// specialization for some 1d, 2d and 3d operations
#[doc(hidden)]
mod spec {
mod identity;
mod mat;
mod vec0;
mod vec;
// mod complex;
}
// mod lower_triangular;
// mod chol;
#[cfg(test)]
2013-09-13 16:34:49 +08:00
mod tests {
mod vec;
mod mat;
}
#[cfg(test)]
mod bench {
mod vec;
mod mat;
2013-05-19 01:04:03 +08:00
}