#include <Group.h>
Public Member Functions | |
DirectSum () | |
Default constructor yields identity. More... | |
DirectSum (const G &g, const H &h) | |
DirectSum | operator+ (const DirectSum &other) const |
DirectSum | operator- (const DirectSum &other) const |
DirectSum | operator- () const |
Static Public Member Functions | |
static DirectSum | identity () |
Private Member Functions | |
BOOST_CONCEPT_ASSERT ((IsGroup< G >)) | |
BOOST_CONCEPT_ASSERT ((IsGroup< H >)) | |
const G & | g () const |
const H & | h () const |
Template to construct the direct sum of two additive groups Assumes existence of three additive operators for both groups
|
inline |
|
private |
|
private |
|
inlineprivate |
|
inlineprivate |
|
inlinestatic |
|
inline |