AMO-Tools-Suite  v.0.9.0
Set of tools for calculating energy efficiency in industrial equipment
All Classes Namespaces Files Functions Variables Enumerations Friends Macros Pages
Public Member Functions | List of all members
CurveFitVal Class Reference

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
 

Detailed Description

Curve Fit class.

This contains the prototypes for the Curve Fit Value calculator.

Author
Subhankar Mishra (mishras)
Gina Accawi (accawigk)

This contains the prototypes for the Curve Fit Value calculator.

Author
Subhankar Mishra (mishras)
Gina Accawi (accawigk)

This contains the prototypes for the Curve Fit Value calculator.

Author
Subhankar Mishra (mishras)
Gina Accawi (accawigk)

Definition at line 19 of file CurveFitVal.h.

Constructor & Destructor Documentation

◆ CurveFitVal() [1/3]

CurveFitVal::CurveFitVal ( std::vector< double >  xcoord,
std::vector< double >  ycoord,
const std::size_t  pdegree,
const double  loadFactor = 0 
)
inline

Constructor

Parameters
xcoordvector of x coordinates as doubles
ycoordvector of y coordinates as doubles
pdegreeint, degree of polynomial curve
loadFactordouble, load factor - unitless

Definition at line 28 of file CurveFitVal.h.

◆ CurveFitVal() [2/3]

CurveFitVal::CurveFitVal ( std::vector< double >  xcoord,
std::vector< double >  ycoord,
const std::size_t  pdegree,
const double  loadFactor = 0 
)
inline

Constructor

Parameters
xcoordvector of x coordinates as doubles
ycoordvector of y coordinates as doubles
pdegreeint, degree of polynomial curve
loadFactordouble, load factor - unitless

Definition at line 28 of file CurveFitVal.h.

◆ CurveFitVal() [3/3]

CurveFitVal::CurveFitVal ( std::vector< double >  xcoord,
std::vector< double >  ycoord,
const std::size_t  pdegree,
const double  loadFactor = 0 
)
inline

Constructor

Parameters
xcoordvector of x coordinates as doubles
ycoordvector of y coordinates as doubles
pdegreeint, degree of polynomial curve
loadFactordouble, load factor - unitless

Definition at line 28 of file CurveFitVal.h.

Member Function Documentation

◆ calculate() [1/3]

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

Returns
double, curve fit value

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).

Author
Subhankar Mishra (mishras)
Gina Accawi (accawigk)

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).

Returns
curve fit value.

Definition at line 23 of file CurveFitVal.cpp.

◆ calculate() [2/3]

double CurveFitVal::calculate ( ) const

Calculates the curve fit value at required load factor

Returns
double, curve fit value

◆ calculate() [3/3]

double CurveFitVal::calculate ( ) const

Calculates the curve fit value at required load factor

Returns
double, curve fit value

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