mulberry 0.1.0

Coordinate transformation tree with a focus on efficiency.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![cfg(feature="alga")]

use crate::group::Group;

extern crate alga;
use alga::general::{AbstractGroup, Multiplicative};

impl<G: AbstractGroup<Multiplicative>> Group for G {
    fn identity() -> Self {
        G::identity()
    }
    fn inverse(&self) -> Self {
        self.two_sided_inverse()
    }
    fn compose(&self, other: &Self) -> Self {
        self.operate(other)
    }
}