MTL 4: algebra::Distributive< AddOp, MultOp, Element > Struct Template Reference
#include <algebraic_concepts.hpp>
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 |
add | Object of type AddOp |
mult | Object of type Multop |
x, y, z | Objects of type Element |
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)) |
algebra::Distributive< AddOp, MultOp, Element > Struct Template Reference -- MTL 4 -- Peter Gottschling and Andrew Lumsdaine
-- Gen. with
rev. 7542
on 7 Apr 2011 by doxygen 1.5.9 -- © 2010 by SimuNova UG.