nalgebra/src/nalgebra.rc

71 lines
1.2 KiB
Plaintext
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)];
#[deny(warnings)];
extern mod std;
extern mod extra;
pub mod dmat;
pub mod dvec;
pub mod vec;
pub mod mat;
2013-06-29 08:34:45 +08:00
// specialization for some 1d, 2d and 3d operations
mod mat_spec;
mod vec_spec;
mod vec0_spec;
mod identity_spec;
/// 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-07-22 19:44:08 +08:00
pub mod types;
// FIXME: it would be better to hide all those from the outside!
mod traits
{
mod vector;
mod sample;
mod indexable;
mod column;
mod row;
mod iterable;
mod outer;
mod cross;
mod inv;
mod transpose;
mod dim;
mod basis;
mod rotation;
mod translation;
mod transformation;
mod rlmul;
mod scalar_op;
mod homogeneous;
mod vec_cast;
mod mat_cast;
}
2013-05-19 01:04:03 +08:00
#[cfg(test)]
pub mod tests
2013-05-19 01:04:03 +08:00
{
2013-08-17 23:50:01 +08:00
pub mod mat;
pub mod vec;
2013-05-19 01:04:03 +08:00
}