Coverage for quiver.py: 100%

8 statements  

« prev     ^ index     » next       coverage.py v7.8.0, created at 2025-04-08 21:58 +0200

1#!/usr/bin/env python 

2# -*- coding: utf-8 -*- 

3"""Soon will come sets of consistent adders/subber/muler/diver 

4grouped in a consistent set known as algebrae 

5all the combined traits will ensure consistant properties on : 

6- commutativity; 

7- associativity; 

8- distributivity; 

9- neutral element of addition & multiplication 

10 

11Planned :  

12Linear algebrae, 

13Hermitian Algebrae  

14and so much more.... 

15 

16""" 

17from .trait import InclusiveAdder, ExclusiveMuler, Vector 

18from .trait import InclusiveSubber, TaintedExclusiveDiver 

19from .trait import Copier 

20 

21 

22class LinearAlgebrae( 

23 Copier, 

24 InclusiveAdder, 

25 ExclusiveMuler, 

26 TaintedExclusiveDiver, 

27 InclusiveSubber): 

28 """A set of + - * / pretty consistant""" 

29 pass 

30 

31class SimplyAdd(Copier, InclusiveAdder): pass 

32 

33class VectorDict( 

34 LinearAlgebrae, 

35 Vector 

36 ): 

37 pass 

38 

39