A gain transformation. More...

#include <Gain.h>

Inherits Parent.

Public Member Functions

 Gain ()
 Default constructor.
 
void set_gain (const Estimate< double > &gain)
 Set the gain.
 
Estimate< double > get_gain () const
 Get the gain.
 
void set_param_name (const std::string &name)
 Set the name of the parameter.
 
void set_param_description (const std::string &name)
 Set the description of the parameter.
 
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
 

Detailed Description

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

A gain transformation.

Member Function Documentation

◆ calculate()

template<typename Parent >
void MEAL::Gain< 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::Function::verbose.


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

Generated using doxygen 1.8.17