MEAL::UnaryConvert< From, To, Method > Class Template Reference

Convert a function to another type using a unary function. More...

#include <UnaryConvert.h>

Inheritance diagram for MEAL::UnaryConvert< From, To, Method >:
MEAL::Convert< From, To >

Public Member Functions

 UnaryConvert (Method m)
 
std::string get_name () const
 Return the name of the class.
 
- Public Member Functions inherited from MEAL::Convert< From, To >
void set_model (From *_model)
 Set the function to be converted.
 
From * get_model ()
 Get the function to be converted.
 
const From * get_model () const
 Get the function to be converted.
 
bool has_model () const
 Return true if the function to be converted has been set.
 

Protected Member Functions

virtual void calculate (typename To::Result &result, std::vector< typename To::Result > *grad)
 Calculate the Mueller matrix and its gradient.
 

Protected Attributes

Method method
 The Unary function used to complete the conversion.
 
- Protected Attributes inherited from MEAL::Convert< From, To >
Reference::To< From > model
 The function to be converted.
 

Detailed Description

template<typename From, typename To, typename Method>
class MEAL::UnaryConvert< From, To, Method >

Convert a function to another type using a unary function.

Both the result of the function and its partial derivatives are passed through the unary function


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

Generated using doxygen 1.8.17