math-ast 0.2.0

mast ast for basic arithmetic operations
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod display;
mod numeric;

pub use factorial::Factorial;
pub use num::traits::Pow;
pub use std::ops::{Add, Div, Mul, Sub};

pub trait Surd<Rhs = Self> {
    type Output;

    fn surd(self, rhs: Rhs) -> Self::Output;
}

pub trait Connect<Rhs = Self> {
    type Output;

    fn connect(self, rhs: Rhs) -> Self::Output;
}