GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
norm_accumulator_2< R > Class Template Reference
Collaboration diagram for norm_accumulator_2< R >:

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<typename R>
class norm_accumulator_2< R >

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

Constructor & Destructor Documentation

◆ norm_accumulator_2()

template<typename R>
norm_accumulator_2< R >::norm_accumulator_2 ( )
inline

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

Member Function Documentation

◆ accum() [1/2]

template<typename R>
void norm_accumulator_2< R >::accum ( val)
inline

◆ accum() [2/2]

template<typename R>
void norm_accumulator_2< R >::accum ( std::complex< R >  val)
inline

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

References norm_accumulator_2< R >::accum(), and val.

◆ operator R()

template<typename R>
norm_accumulator_2< R >::operator R ( )
inline

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

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

◆ pow2()

template<typename R>
static R norm_accumulator_2< R >::pow2 ( x)
inlinestaticprivate

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

References x.

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

Member Data Documentation

◆ scl

template<typename R>
R norm_accumulator_2< R >::scl
private

◆ sum

template<typename R>
R norm_accumulator_2< R >::sum
private

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