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 | |
R | scl |
R | sum |
Definition at line 123 of file oct-norm.cc.
norm_accumulator_2< R >::norm_accumulator_2 | ( | ) | [inline] |
Definition at line 128 of file oct-norm.cc.
void norm_accumulator_2< R >::accum | ( | R | val | ) | [inline] |
Definition at line 130 of file oct-norm.cc.
References abs(), norm_accumulator_2< R >::pow2(), norm_accumulator_2< R >::scl, and norm_accumulator_2< R >::sum.
Referenced by norm_accumulator_2< R >::accum(), and array_norm_2().
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().
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.
static R norm_accumulator_2< R >::pow2 | ( | R | x | ) | [inline, static, private] |
Definition at line 126 of file oct-norm.cc.
Referenced by norm_accumulator_2< R >::accum().
R norm_accumulator_2< R >::scl [private] |
Definition at line 125 of file oct-norm.cc.
Referenced by norm_accumulator_2< R >::accum(), and norm_accumulator_2< R >::operator R().
R norm_accumulator_2< R >::sum [private] |
Definition at line 125 of file oct-norm.cc.
Referenced by norm_accumulator_2< R >::accum(), and norm_accumulator_2< R >::operator R().