![]() |
AMO-Tools-Suite
v.0.9.0
Set of tools for calculating energy efficiency in industrial equipment
|
Curve Fit class. More...
#include <CurveFitVal.h>
Public Member Functions | |
CurveFitVal (std::vector< double > xcoord, std::vector< double > ycoord, const std::size_t pdegree, const double loadFactor=0) | |
double | calculate () const |
Contains the definition of functions of CurveFitVal class. calculate(): Calculates the curve fit value. More... | |
double | calculate (double) const |
CurveFitVal (std::vector< double > xcoord, std::vector< double > ycoord, const std::size_t pdegree, const double loadFactor=0) | |
double | calculate () const |
double | calculate (double) const |
CurveFitVal (std::vector< double > xcoord, std::vector< double > ycoord, const std::size_t pdegree, const double loadFactor=0) | |
double | calculate () const |
double | calculate (double) const |
Curve Fit class.
This contains the prototypes for the Curve Fit Value calculator.
This contains the prototypes for the Curve Fit Value calculator.
This contains the prototypes for the Curve Fit Value calculator.
Definition at line 19 of file CurveFitVal.h.
|
inline |
Constructor
xcoord | vector of x coordinates as doubles |
ycoord | vector of y coordinates as doubles |
pdegree | int, degree of polynomial curve |
loadFactor | double, load factor - unitless |
Definition at line 28 of file CurveFitVal.h.
|
inline |
Constructor
xcoord | vector of x coordinates as doubles |
ycoord | vector of y coordinates as doubles |
pdegree | int, degree of polynomial curve |
loadFactor | double, load factor - unitless |
Definition at line 28 of file CurveFitVal.h.
|
inline |
Constructor
xcoord | vector of x coordinates as doubles |
ycoord | vector of y coordinates as doubles |
pdegree | int, degree of polynomial curve |
loadFactor | double, load factor - unitless |
Definition at line 28 of file CurveFitVal.h.
double CurveFitVal::calculate | ( | ) | const |
Contains the definition of functions of CurveFitVal class. calculate(): Calculates the curve fit value.
Calculates the curve fit value at required load factor
Given a set of x and y coordinates and degree of polynomial curve to fit, it calculates the curve fit value for a particular x coordinate value (read load factor here).
Given a set of x and y coordinates and degree of polynomial curve to fit, it calculates the curve fit value for a particular x coordinate value (read load factor here).
Definition at line 23 of file CurveFitVal.cpp.
double CurveFitVal::calculate | ( | ) | const |
Calculates the curve fit value at required load factor
double CurveFitVal::calculate | ( | ) | const |
Calculates the curve fit value at required load factor