Files Classes Functions Hierarchy
#include <partitionequ.h>
Public Member Functions | |
| partitionequmult (P const &_left, Q const &_right) | |
| Construct the binary operator from left and right expressions. | |
| template<typename W > | |
| partitionequmult < partitionequmult< P, Q >, W > | operator* (W const &x) |
| Intersect the partitions. | |
| template<typename W > | |
| partitionequadd < partitionequmult< P, Q >, W > | operator+ (W const &x) |
| Join the partitions. | |
| partitionequnot < partitionequmult< P, Q > > | operator! () |
| Logically negate the partition. | |
| template<typename W > | |
| partitionequmult < partitionequmult< P, Q > , partitionequnot< W > > | operator- (W const &x) |
| Subtract partition x from this partition. | |
| template<typename T > | |
| boolc | isInside (T const &x) const |
| Intersect/multiply the partition spaces. | |
Public Attributes | |
| P | left |
| Left argument of binary operator. | |
| Q | right |
| Right argument of binary operator. | |
Definition at line 72 of file partitionequ.h.
| partitionequmult< P, Q >::partitionequmult | ( | P const & | _left, | |
| Q const & | _right | |||
| ) | [inline] |
Construct the binary operator from left and right expressions.
Definition at line 83 of file partitionequ.h.
| boolc partitionequmult< P, Q >::isInside | ( | T const & | x | ) | const [inline] |
Intersect/multiply the partition spaces.
Definition at line 110 of file partitionequ.h.
References partitionequmult< P, Q >::left, and partitionequmult< P, Q >::right.
00111 { 00112 if (left.isInside(x)==false) 00113 return false; 00114 00115 return right.isInside(x); 00116 }
| partitionequnot< partitionequmult<P,Q> > partitionequmult< P, Q >::operator! | ( | ) | [inline] |
Logically negate the partition.
Definition at line 100 of file partitionequ.h.
00101 { return partitionequnot< partitionequmult<P,Q> >(*this); }
| partitionequmult< partitionequmult<P,Q>, W > partitionequmult< P, Q >::operator* | ( | W const & | x | ) | [inline] |
Intersect the partitions.
Definition at line 91 of file partitionequ.h.
00092 { return partitionequmult< partitionequmult<P,Q>, W >(*this,x); }
| partitionequadd< partitionequmult<P,Q>, W > partitionequmult< P, Q >::operator+ | ( | W const & | x | ) | [inline] |
Join the partitions.
Definition at line 96 of file partitionequ.h.
00097 { return partitionequadd< partitionequmult<P,Q>, W >(*this,x); }
| partitionequmult< partitionequmult<P,Q>, partitionequnot<W> > partitionequmult< P, Q >::operator- | ( | W const & | x | ) | [inline] |
Subtract partition x from this partition.
Definition at line 105 of file partitionequ.h.
00106 { return partitionequmult< partitionequmult<P,Q>, partitionequnot<W> >(*this,partitionequnot<W>(x)); }
| P partitionequmult< P, Q >::left |
Left argument of binary operator.
Definition at line 77 of file partitionequ.h.
Referenced by partitionequmult< P, Q >::isInside().
| Q partitionequmult< P, Q >::right |
Right argument of binary operator.
Definition at line 79 of file partitionequ.h.
Referenced by partitionequmult< P, Q >::isInside().
1.5.8