nalgebra/src/lib.rs

68 lines
1.3 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;
}
/// Traits implemented by matrices and vectors.
///
/// They should not be imported from here since all of them are re-exported by the `mat` or the
/// `vec` module.
pub mod traits {
/// Traits of operations having a well-known or explicit geometric meaning.
pub mod geometry;
/// Traits giving structural informations on linear algebra objects or the space they live in.
pub mod structure;
/// Low level operations on vectors and matrices.
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 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
}