Public Member Functions

SplitFunction Class Reference

split function, defined using "x < expr ? Func1(...) : Func2(...) More...

#include <udf.h>

Inheritance diagram for SplitFunction:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 SplitFunction (const Settings *settings, const std::string &name, Tplate::Ptr tp, const std::vector< std::string > &vars)
virtual void init ()
void more_precomputations ()
void calculate_value_in_range (const std::vector< realt > &xx, std::vector< realt > &yy, int first, int last) const
 calculate value at x[i] and _add_ the result to y[i] (for each i)
void calculate_value_deriv_in_range (std::vector< realt > const &xx, std::vector< realt > &yy, std::vector< realt > &dy_da, bool in_dx, int first, int last) const
 wrapper around array version
std::string get_current_formula (const std::string &x="x") const
virtual bool get_center (realt *a) const
virtual bool get_height (realt *a) const
virtual bool get_fwhm (realt *) const
virtual bool get_area (realt *) const
bool get_nonzero_range (double level, realt &left, realt &right) const
void set_var_idx (const std::vector< Variable * > &variables)

Detailed Description

split function, defined using "x < expr ? Func1(...) : Func2(...)

Definition at line 87 of file udf.h.


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

Generated on Mon Jul 18 2011 17:25:28 for Fityk by Doxygen 1.7.1