#![allow(unused_macros)]
#[macro_use]
mod macros;
mod integer;
mod intpoly;
mod intmat;
mod rational;
mod ratpoly;
mod ratmat;
mod intmod;
mod intmodpoly;
mod intmodmat;
mod finfld;
mod finfldpoly;
mod finfldmat;
pub mod ratfunc;
mod real;
mod complex;
pub mod binquad;
pub mod numfld;
mod util {
#[must_use]
#[inline]
pub fn is_digit(c: char) -> bool {
match c {
'0'..='9' => true,
_ => false,
}
}
}
pub trait New<T> {
fn new(src: T) -> Self;
}
pub trait NewCtx<T, Ctx> {
fn new(src: T, ctx: &Ctx) -> Self;
}
pub trait NewMatrix<T> {
fn new(src: T, nrows: i64, ncols: i64) -> Self;
}
pub use inertia_algebra::ops::*;
pub use integer::*;
pub use intpoly::*;
pub use intmat::*;
pub use rational::*;
pub use ratpoly::*;
pub use ratmat::*;
pub use intmod::*;
pub use intmodpoly::*;
pub use intmodmat::*;
pub use finfld::*;
pub use finfldpoly::*;
pub use finfldmat::*;
pub use ratfunc::*;
pub use real::*;
pub use complex::*;
pub use binquad::*;
pub use numfld::*;