nalgebra/src/lib.rs
Sébastien Crozet 7de844b46a Moved some files + use rustdoc_ng to generate the documenatiton.
Trait failes are merged in three files:
    * operations.rs - for low-level matrix/vector operations
    * geometry.rs   - for operations with a clear, broadly known geometric meaning.
    * structure.rs  - for operations to access/alter the object inner structures.

Specialisations are moved to the `spec` folder.
2013-09-22 11:05:15 +02:00

68 lines
1.3 KiB
Rust

/*!
# 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"];
#[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 {
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;
}
// 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)]
mod tests {
mod vec;
mod mat;
}
#[cfg(test)]
mod bench {
mod vec;
mod mat;
}