algebra::Distributive< AddOp, MultOp, Element > Struct Template Reference
[Concepts]

Concept Distributive. More...

#include <algebraic_concepts.hpp>

Inheritance diagram for algebra::Distributive< AddOp, MultOp, Element >:
algebra::Ring< AddOp, MultOp, Element > algebra::RingWithIdentity< AddOp, MultOp, Element > algebra::DivisionRing< AddOp, MultOp, Element > algebra::Field< AddOp, MultOp, Element > algebra::SkewField< AddOp, MultOp, Element >

Detailed Description

template<typename AddOp, typename MultOp, typename Element>
struct algebra::Distributive< AddOp, MultOp, Element >

Concept Distributive.

Parameters:
AddOp A functor implementing a binary operation representing addition
MultOp A functor implementing a binary operation representing multiplication
Element The type upon the binary operation is defined
Notation:
add Object of type AddOp
mult Object of type Multop
x, y, z Objects of type Element
Invariant:
Distributivity from left mult(x, add(y, z)) == add(mult(x, y), mult(x, z))
Distributivity from right mult(add(x, y), z) == add(mult(x, z), mult(y, z))

The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends
Generated by  doxygen 1.6.2-20100208