math_adapter 0.3.8

Collection of math adapters to decouple your application from math libraries' implementations and to provide both inter-libraries compatibility and affordable exchangeability.
Documentation

//!
//! Implement adapters for `nalgebra`.
//!

/// Internal namespace.
pub( crate ) mod private
{

  /// X2 Vector of nalgebra
  pub type X2< Scalar > = ::nalgebra::Vector2< Scalar >;

}

//

crate::mod_interface!
{

  layer as_foreign;
  #[ cfg( nalgebra_ops ) ]
  layer ops;
  layer x2;

  protected use X2;
  protected use ::nalgebra::*;

}