Macro algexenotation::ax
source · [−]macro_rules! ax {
( $x:literal % ) => { ... };
( $x:literal ) => { ... };
( $x:ident % ) => { ... };
( $x:ident ) => { ... };
( ( $x:tt + $($y:tt)+ ) ) => { ... };
( $x0:tt $x1:tt + $($y:tt)+ ) => { ... };
( $x:tt + $($y:tt)+ ) => { ... };
( ( $($x:tt)+ ) * $($y:tt)+ ) => { ... };
( $x0:tt ^ $x1:tt * $($y:tt)+ ) => { ... };
( $x0:tt * $x1:tt * $($y:tt)+ ) => { ... };
( $x0:tt $x1:tt * $($y:tt)+ ) => { ... };
( $x:tt * $($y:tt)+ ) => { ... };
( $x:tt ^ ( $($y:tt)+ ) ) => { ... };
( $x0:tt $x1:tt ^ $($y:tt)+ ) => { ... };
( $x:tt ^ $($y:tt)+ ) => { ... };
}Expand description
Macro for Algexenotation.
x: hyperprimex%: original natural number3x^y: powerx*y: multiply(x+y): hyperprime addition