Chi-Tech
|
#include <piecewise_linear_1D.h>
Public Member Functions | |
PiecewiseLinear1D (const chi::InputParameters ¶ms) | |
std::vector< double > | Evaluate (const std::vector< double > &values) const override |
std::vector< double > | EvaluateSlope (const std::vector< double > &values) const override |
double | ScalarFunction1Parameter (double x) const override |
double | ScalarFunctionSlope1Parameter (double x) const override |
bool | HasSlope () const override |
bool | HasCurvature () const override |
Public Member Functions inherited from chi_math::FunctionDimAToDimB | |
FunctionDimAToDimB (const chi::InputParameters ¶ms) | |
size_t | InputDimension () const |
size_t | OutputDimension () const |
virtual bool | HasSlope () const =0 |
virtual bool | HasCurvature () const =0 |
virtual double | ScalarFunction1Parameter (double) const |
virtual double | ScalarFunctionSlope1Parameter (double) const |
virtual double | ScalarFunctionCurvature1Parameter (double) const |
virtual double | ScalarFunction4Parameters (double, double, double, double) const |
virtual double | ScalarFunctionSlope4Parameters (double, double, double, double) const |
virtual double | ScalarFunctionCurvature4Parameters (double, double, double, double) const |
virtual std::vector< double > | Evaluate (const std::vector< double > &vals) const =0 |
virtual std::vector< double > | EvaluateSlope (const std::vector< double > &vals) const |
Public Member Functions inherited from ChiObject | |
ChiObject () | |
ChiObject (const chi::InputParameters ¶ms) | |
void | SetStackID (size_t stack_id) |
size_t | StackID () const |
virtual void | PushOntoStack (std::shared_ptr< ChiObject > &new_object) |
virtual | ~ChiObject ()=default |
Static Public Member Functions | |
static chi::InputParameters | GetInputParameters () |
Static Public Member Functions inherited from chi_math::FunctionDimAToDimB | |
static chi::InputParameters | GetInputParameters () |
Static Public Member Functions inherited from ChiObject | |
static chi::InputParameters | GetInputParameters () |
Private Attributes | |
const std::vector< double > | x_values_ |
const std::vector< double > | y_values_ |
std::vector< double > | slopes_ |
const size_t | num_vals_ |
std::vector< double > | delta_x_values_ |
Definition at line 8 of file piecewise_linear_1D.h.
|
explicit |
Definition at line 30 of file piecewise_linear_1D.cc.
|
overridevirtual |
Implements chi_math::FunctionDimAToDimB.
Definition at line 58 of file piecewise_linear_1D.cc.
|
overridevirtual |
Reimplemented from chi_math::FunctionDimAToDimB.
Definition at line 67 of file piecewise_linear_1D.cc.
|
static |
Definition at line 10 of file piecewise_linear_1D.cc.
|
inlineoverridevirtual |
Implements chi_math::FunctionDimAToDimB.
Definition at line 24 of file piecewise_linear_1D.h.
|
inlineoverridevirtual |
Implements chi_math::FunctionDimAToDimB.
Definition at line 23 of file piecewise_linear_1D.h.
|
overridevirtual |
Reimplemented from chi_math::FunctionDimAToDimB.
Definition at line 75 of file piecewise_linear_1D.cc.
|
overridevirtual |
Reimplemented from chi_math::FunctionDimAToDimB.
Definition at line 93 of file piecewise_linear_1D.cc.
|
private |
Distance between independent variable values. Used for interpolation.
Definition at line 38 of file piecewise_linear_1D.h.
|
private |
The number of items in the discrete function values
Definition at line 36 of file piecewise_linear_1D.h.
|
private |
Definition at line 32 of file piecewise_linear_1D.h.
|
private |
Independent variable values.
Definition at line 28 of file piecewise_linear_1D.h.
|
private |
Dependent variable values.
Definition at line 30 of file piecewise_linear_1D.h.