AlgebraicTraits< Complex< T, AlgebraicTraits< T > > > Class Template Reference

#include <AlgebraicTraits.h>

Inheritance diagram for AlgebraicTraits< Complex< T, AlgebraicTraits< T > > >:

Inheritance graph
[legend]
Collaboration diagram for AlgebraicTraits< Complex< T, AlgebraicTraits< T > > >:

Collaboration graph
[legend]
List of all members.

Public Types

enum  
enum  
enum  
typedef Complex< T, AlgebraicTraits<
T > > 
number_type
typedef T norm_type
typedef T scalar_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 number_type sqrt (number_type arg)

Detailed Description

template<class T>
class AlgebraicTraits< Complex< T, AlgebraicTraits< T > > >

AlgebraicTraits Partial specialization for complex number type

Definition at line 364 of file AlgebraicTraits.h.


Member Function Documentation

template<class T>
static const char* AlgebraicTraits< Complex< T, AlgebraicTraits< T > > >::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 379 of file AlgebraicTraits.h.


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