S1 Class Reference
[Spaces]

Represents elements of S1 with variable module. More...

#include <S1.h>

List of all members.

Public Member Functions

 S1 (const Decimal &m, const Decimal &t)
 S1 (const S1 &s)
S1operator= (const S1 &s)
S1operator+= (const S1 &a)
S1operator-= (const S1 &a)
S1operator*= (const S1 &a)
S1 operator+ (const S1 &other) const
S1 operator- (const S1 &other) const
S1 operator* (const S1 &other) const
bool operator== (const S1 &other) const
bool operator!= (const S1 &other) const
 operator Decimal () const
Decimal alDiff (const S1 &other) const
string print (int precision=2) const


Detailed Description

Represents elements of S1 with variable module.

Author:
Antonio Franchi

Constructor & Destructor Documentation

S1::S1 ( const Decimal m,
const Decimal t 
) [inline]

default constructor Decimal constructor

S1::S1 ( const S1 s  )  [inline]

copy constructor


Member Function Documentation

S1& S1::operator= ( const S1 s  )  [inline]

assigment operator =

S1& S1::operator+= ( const S1 a  )  [inline]

compound assignment operator +=

S1& S1::operator-= ( const S1 a  )  [inline]

compound assignment operator -=

S1& S1::operator*= ( const S1 a  )  [inline]

compound assignment operator -*

S1 S1::operator+ ( const S1 other  )  const [inline]

binary arithmetic operator +

S1 S1::operator- ( const S1 other  )  const [inline]

binary arithmetic operator -

S1 S1::operator* ( const S1 other  )  const [inline]

binary arithmetic operator *

bool S1::operator== ( const S1 other  )  const [inline]

compound operator ==

bool S1::operator!= ( const S1 other  )  const [inline]

compound operator !=

S1::operator Decimal (  )  const [inline]

casting

Decimal S1::alDiff ( const S1 other  )  const [inline]

algebric diff

Parameters:
other the S1 respect to it is computed the algebric distance
Returns:
the algebric distance respect to an S1, it is in [-_halfModule,_halfModule]

string S1::print ( int  precision = 2  )  const [inline]


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

Generated on Mon Feb 20 07:01:10 2017 for MIP by  doxygen 1.5.6