C++ Mathematical Expression Toolkit (ExprTk) release
Loading...
Searching...
No Matches
exprtk_fx_curve Class Reference

Public Member Functions

exprtk_fx_curveset_title (const std::string &title)
exprtk_fx_curveset_domain (const double min_x, const double max_x)
exprtk_fx_curveset_expression (const std::string &expression)

Private Attributes

std::string title_
std::string expression_
double min_x_
double max_x_
double min_y_
double max_y_

Friends

class exprtk_gnuplot_fx

Detailed Description

Definition at line 31 of file exprtk_gnuplot_multi.cpp.

Member Function Documentation

◆ set_domain()

exprtk_fx_curve & exprtk_fx_curve::set_domain ( const double min_x,
const double max_x )
inline

Definition at line 43 of file exprtk_gnuplot_multi.cpp.

44 {
45 min_x_ = min_x;
46 max_x_ = max_x;
47 return *this;
48 }

References max_x_, and min_x_.

◆ set_expression()

exprtk_fx_curve & exprtk_fx_curve::set_expression ( const std::string & expression)
inline

Definition at line 50 of file exprtk_gnuplot_multi.cpp.

51 {
52 expression_ = expression;
53 return *this;
54 }

References expression_.

◆ set_title()

exprtk_fx_curve & exprtk_fx_curve::set_title ( const std::string & title)
inline

Definition at line 37 of file exprtk_gnuplot_multi.cpp.

38 {
39 title_ = title;
40 return *this;
41 }

References title_.

◆ exprtk_gnuplot_fx

friend class exprtk_gnuplot_fx
friend

Definition at line 35 of file exprtk_gnuplot_multi.cpp.

References exprtk_gnuplot_fx.

Referenced by exprtk_gnuplot_fx.

Member Data Documentation

◆ expression_

std::string exprtk_fx_curve::expression_
private

Definition at line 59 of file exprtk_gnuplot_multi.cpp.

Referenced by exprtk_gnuplot_fx::generate_data(), and set_expression().

◆ max_x_

double exprtk_fx_curve::max_x_
private

◆ max_y_

double exprtk_fx_curve::max_y_
private

◆ min_x_

double exprtk_fx_curve::min_x_
private

◆ min_y_

double exprtk_fx_curve::min_y_
private

◆ title_

std::string exprtk_fx_curve::title_
private

Definition at line 58 of file exprtk_gnuplot_multi.cpp.

Referenced by set_title().


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