AlgebraicTraits< LongInt< BITS, MAY_OVERFLOW > > Class Template Reference

#include <AlgebraicTraits.h>

Inheritance diagram for AlgebraicTraits< LongInt< BITS, MAY_OVERFLOW > >:

Inheritance graph
[legend]
Collaboration diagram for AlgebraicTraits< LongInt< BITS, MAY_OVERFLOW > >:

Collaboration graph
[legend]
List of all members.

Public Types

enum  
enum  
enum  
typedef LongInt< BITS, MAY_OVERFLOW > number_type
typedef LongInt< BITS, MAY_OVERFLOW > norm_type
typedef LongInt< BITS, MAY_OVERFLOW > scalar_type
typedef LongInt< BITS, MAY_OVERFLOW > degree_type

Static Public Member Functions

static const char * name ()
static number_type zero ()
static number_type one ()
static number_type zero (const number_type &hint)
static number_type one (const number_type &hint)
static bool is_zero (const number_type &val)
static number_type epsilon ()
static bool equals (const number_type &first, const number_type &second)
static number_type abs (const number_type &arg)
static norm_type norm (const number_type &arg)
static degree_type degree (number_type arg)

Detailed Description

template<unsigned int BITS, bool MAY_OVERFLOW>
class AlgebraicTraits< LongInt< BITS, MAY_OVERFLOW > >

AlgebraicTraits Specialization for LongInt type

Definition at line 456 of file AlgebraicTraits.h.


Member Function Documentation

template<unsigned int BITS, bool MAY_OVERFLOW>
static const char* AlgebraicTraits< LongInt< BITS, MAY_OVERFLOW > >::name (  )  [inline, static]

This method from the AlgebricTraits<T> class should return a symbolic name for the type "T" (e.g. AlgebraicTraits<Polynomial>::name() could return the string "Polynomial" ). This method is used when we want to serialize an object to an XML file and we need to know the name of the type it represents.

Reimplemented from AlgebraicTraitsBase.

Definition at line 471 of file AlgebraicTraits.h.


The documentation for this class was generated from the following file:
Math-Objects Library Docs  Generated by: doxygen