A complex exponential parameterized by phase. More...

#include <Phase.h>

Inherits Parent.

Public Member Functions

 Phase (double _scale=1.0)
 Default constructor.
 
std::string get_name () const
 Return the name of the class.
 

Protected Types

typedef Parent::Result Return
 

Protected Member Functions

void calculate (Return &result, std::vector< Return > *gradient)
 Calculate the result and its gradient. More...
 

Protected Attributes

OneParameter parameter
 
double scale
 

Detailed Description

template<typename Parent>
class MEAL::Phase< Parent >

A complex exponential parameterized by phase.

Member Function Documentation

◆ calculate()

template<typename Parent >
void MEAL::Phase< Parent >::calculate ( Return &  result,
std::vector< Return > *  gradient 
)
protected

Calculate the result and its gradient.

Calculate the Jones matrix and its gradient, as parameterized by gain.

References MEAL::cos(), MEAL::sin(), and MEAL::Function::verbose.


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

Generated using doxygen 1.8.17