Instigate Open Source Documentation

instigate::algebra::additive_group::interface< T > Struct Template Reference

Interface of the Additive Group Concept. More...

#include <_additive_group.hpp>

Inheritance diagram for instigate::algebra::additive_group::interface< T >:
instigate::algebra::additive_monoid::interface< T > instigate::algebra::additive_semi_group::interface< T > instigate::algebra::additive_magma::interface< T > instigate::assignable::interface< T > instigate::algebra::ring::interface< T > instigate::algebra::field::interface< T >

List of all members.

Static Public Member Functions

static T opposite (const T &a)
 Negate the specified argument.
static T minus (const T &a, const T &b)
 Subtract the specified arguments.

Detailed Description

template<typename T>
struct instigate::algebra::additive_group::interface< T >

Interface of the Additive Group Concept.


Member Function Documentation

template<typename T >
static T instigate::algebra::additive_group::interface< T >::minus ( const T &  a,
const T &  b 
) [inline, static]

Subtract the specified arguments.

Parameters:
a - the minuend
b - the subtrahend
Returns:
The difference of a and b
template<typename T >
static T instigate::algebra::additive_group::interface< T >::opposite ( const T &  a  )  [inline, static]

Negate the specified argument.

Parameters:
a - the argument to be negated
Returns:
The negated value of the argument

The documentation for this struct was generated from the following file:


© Instigate CJSC, Open Source