Public Member Functions | Static Private Member Functions | Private Attributes

norm_accumulator_2< R > Class Template Reference

Collaboration diagram for norm_accumulator_2< R >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 norm_accumulator_2 ()
void accum (R val)
void accum (std::complex< R > val)
 operator R ()

Static Private Member Functions

static R pow2 (R x)

Private Attributes

scl
sum

Detailed Description

template<class R>
class norm_accumulator_2< R >

Definition at line 123 of file oct-norm.cc.


Constructor & Destructor Documentation

template<class R>
norm_accumulator_2< R >::norm_accumulator_2 (  )  [inline]

Definition at line 128 of file oct-norm.cc.


Member Function Documentation

template<class R>
void norm_accumulator_2< R >::accum ( val  )  [inline]
template<class R>
void norm_accumulator_2< R >::accum ( std::complex< R >  val  )  [inline]

Definition at line 145 of file oct-norm.cc.

References norm_accumulator_2< R >::accum().

template<class R>
norm_accumulator_2< R >::operator R (  )  [inline]

Definition at line 151 of file oct-norm.cc.

References norm_accumulator_2< R >::scl, and norm_accumulator_2< R >::sum.

template<class R>
static R norm_accumulator_2< R >::pow2 ( x  )  [inline, static, private]

Definition at line 126 of file oct-norm.cc.

Referenced by norm_accumulator_2< R >::accum().


Member Data Documentation

template<class R>
R norm_accumulator_2< R >::scl [private]
template<class R>
R norm_accumulator_2< R >::sum [private]

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines